What is MCP?
The Model Context Protocol (MCP) is an open standard that lets AI assistants connect to external data sources and tools. Instead of copy-pasting context into your AI chat, MCP gives the assistant direct access to your mem[v] memories.Endpoint
Authentication
The MCP server uses OAuth authentication via Clerk. When you connect a client for the first time, you’ll be prompted to sign in with your mem[v] account. No API keys needed.Available Tools
The MCP server exposes three tools:list_workspaces
List your mem[v] workspaces. Returns each workspace with its ID and name.
add_memory
Add one or more memories to a workspace’s knowledge graph.
| Parameter | Type | Required | Description |
|---|---|---|---|
workspaceId | string | Yes | The workspace ID (use list_workspaces to find it) |
memories | array | Yes | Array of { content, name? } objects |
search_memory
Search memories in your knowledge graph.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | The search query |
workspaceId | string | No | Limit to a specific workspace. Searches all if omitted |
maxResults | number | No | Max results to return (default 10, max 50) |
Example Workflow
Once connected, you can interact with your memories naturally:Setup Guide
Connect your AI client to mem[v]
Quickstart
New to mem[v]? Start here