Connect AI agents (MCP)
Give Claude Code, Claude, ChatGPT, Codex and other MCP clients access to your ownmem memory through the remote MCP server at https://mcp.ownmem.ai/mcp, with OAuth sign-in.
ownmem runs a remote MCP server at:
https://mcp.ownmem.ai/mcpAny MCP client that supports remote (Streamable HTTP) servers can add it by URL. You sign in with OAuth 2.1 (dynamic client registration + PKCE): the client opens a consent page at ownmem.ai/chat/connect, you check which app is asking and click Allow. Your passphrase is never shared with the agent.
Set up your client
Claude Code
claude mcp add --transport http ownmem https://mcp.ownmem.ai/mcpThen run /mcp in Claude Code, select ownmem and choose Authenticate.
Claude.ai and Claude Desktop
Settings → Connectors → Add custom connector, enter the URL https://mcp.ownmem.ai/mcp and connect.
ChatGPT
Settings → Apps & Connectors → Advanced → turn on Developer mode, then Create: URL https://mcp.ownmem.ai/mcp, authentication OAuth.
Codex CLI
codex mcp add ownmem --url https://mcp.ownmem.ai/mcp
codex mcp login ownmemOther clients
Use the URL above with Streamable HTTP transport and OAuth. For testing, npx @modelcontextprotocol/inspector works too.
How agents reach your memory
Your vault is encrypted in your browser, so an agent can only read it in one of two ways.
Mode A — your open tab (default, zero-knowledge)
Keep ownmem.ai/chat open and unlocked. When an agent calls a tool, the request is relayed to that tab, the tool runs in your browser — the same tools the in-app assistant uses — and only the result goes back: search snippets or the file the agent asked to open.
- Your vault and keys stay in your browser; the server never stores your memories.
- The tool arguments and that result pass through our server in transit, like a chat message to a model.
- If no unlocked tab is open, the agent gets an error asking you to open ownmem and unlock your vault.
Mode C — Agent share (opt-in, not zero-knowledge)
If you want agents to read memory while your browser is closed, turn on Agent share in Settings (⚙️) → Agents (MCP) and pick folders to share.
Agent share is not zero-knowledge
A copy of the selected folders is stored on our servers, encrypted with a key the server holds, so the server can read it to answer agents. Only share what you're comfortable with on that basis.
- Read-only: agents can search and view shared files; they can't change them.
- Available 24/7, without an open tab.
- Only the folders you select; everything else stays zero-knowledge.
- Turning Agent share off deletes the server copy.
When your unlocked tab is connected, it is always used (mode A), even if Agent share is on.
Tools
| Tool | What it does |
|---|---|
memory_search | Full-text search. Returns matching files (5 by default, up to 20) with up to 3 matching lines each. |
memory_view | Opens a file (up to 400 lines per call) or lists a folder. |
memory_create | Creates a new file. |
memory_str_replace | Replaces one exact, unique piece of text in a file. |
memory_insert | Inserts text after a given line. |
vault_status | Vault and connection status. |
There is no delete or rename over MCP. Writes (memory_create, memory_str_replace, memory_insert) need your open, unlocked tab; Agent share is read-only. See Memory files & tools for details.
Cost and limits
- MCP calls don't use an AI model on our side, so no credits are charged.
- Rate limits: 60 calls per minute and 3,000 calls per day per account.
Manage and revoke access
Settings (⚙️) → Agents (MCP) lists the connected clients. Revoke a client there to cut off its access; it has to go through consent again to reconnect.
Models & credits
How ownmem charges for chat — prepaid credits shown as points (1 USD = 1,000 points), charged per reply by model and tokens used, with a price table for every model.
Import from ChatGPT
Import your ChatGPT data export into ownmem. Conversations become Markdown files under /memories/imports/chatgpt/, parsed and encrypted in your browser.