ownmem memory

Зашифрованная память ИИ, которой владеете вы и которой делятся Claude Code, Codex, Cursor и ChatGPT через удалённый MCP (OAuth). Вызовы MCP бесплатны.

Размещённый MCP-сервер

npx add-mcp 'https://mcp.ownmem.ai/mcp'

Устанавливается в Claude Code, Codex, Cursor и другие

Документация

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 (ownmem.ai) runs a remote MCP server at:

https://mcp.ownmem.ai/mcp

Any 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.

Quickest way: copy a prompt for your agent

Paste this into Claude Code, Codex, Cursor or any other agent. It tells the agent how to add ownmem to itself, and gives it standing instructions: search your memory when a task starts, prefer what it finds over guessing, and save durable new facts and decisions (never secrets) when the task ends. The same prompt is one tap away in the app: Settings (⚙️) → Agents (MCP) → Copy a prompt for your agent.

Please connect yourself to my ownmem memory and use it from now on.

1) Setup: ownmem is a remote MCP server at https://mcp.ownmem.ai/mcp (Streamable HTTP, OAuth sign-in, no API key). Add it with your own MCP configuration, named ownmem:
- Claude Code: run \`claude mcp add --transport http --scope user ownmem https://mcp.ownmem.ai/mcp\`, then /mcp → ownmem → Authenticate
- Codex CLI: run \`codex mcp add ownmem --url https://mcp.ownmem.ai/mcp\`, then \`codex mcp login ownmem\`
- Cursor: add "ownmem": { "url": "https://mcp.ownmem.ai/mcp" } under "mcpServers" in ~/.cursor/mcp.json
- VS Code: run \`code --add-mcp '{"name":"ownmem","type":"http","url":"https://mcp.ownmem.ai/mcp"}'\`
- stdio-only clients: command npx, args ["-y", "mcp-remote", "https://mcp.ownmem.ai/mcp"]
- Claude Desktop / claude.ai / ChatGPT: I have to add the URL as a custom connector in Settings — if that's you, tell me exactly where to click.
When the ownmem consent page opens in my browser, I'll click Allow. If you can't change your own configuration, tell me the exact step to run.

2) Standing instructions (if you have a persistent instructions file such as CLAUDE.md, AGENTS.md or Cursor rules, add this there):
- At the start of every task, call memory_search with a few keywords about the task, then memory_view the most relevant files; if unsure what exists, memory_view /memories. If nothing comes back, retry with a rephrasing or synonyms before concluding there's nothing.
- Prefer retrieved facts over guessing my preferences, projects and past decisions; if memory conflicts with what I ask now, ask me.
- At the end of a task, save durable new facts, preferences and decisions: memory_search first to avoid duplicates, update an existing file with memory_str_replace or memory_insert, or create a short topic file under /memories/ with memory_create. Date each entry, and when a decision is superseded, mark it or update it so stale beliefs don't linger as facts.
- Never save secrets (passwords, API keys, tokens, private keys) or one-off details.
- If a tool says the vault is unavailable, call vault_status and remind me to open https://ownmem.ai/chat and unlock my vault.

When the agent adds the server, your browser opens the ownmem consent page; click Allow. Keep ownmem.ai/chat open and unlocked while the agent works (see How agents reach your memory).

Set up your client

Step-by-step guides with troubleshooting: Claude Code · Codex · Cursor · ChatGPT · Obsidian notes.

Claude Code

claude mcp add --transport http --scope user ownmem https://mcp.ownmem.ai/mcp

Then run /mcp in Claude Code, select ownmem and choose Authenticate. --scope user makes it available in every project.

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 ownmem

Cursor

Add this to ~/.cursor/mcp.json (merge it with any servers already there), or use Add to Cursor in Settings (⚙️) → Agents (MCP) in the app:

{
  "mcpServers": {
    "ownmem": { "url": "https://mcp.ownmem.ai/mcp" }
  }
}

VS Code

code --add-mcp '{"name":"ownmem","type":"http","url":"https://mcp.ownmem.ai/mcp"}'

Other clients

Use the URL above with Streamable HTTP transport and OAuth. Clients that only run local (stdio) servers can bridge with mcp-remote, which also handles the OAuth sign-in:

{
  "mcpServers": {
    "ownmem": { "command": "npx", "args": ["-y", "mcp-remote", "https://mcp.ownmem.ai/mcp"] }
  }
}

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.

  • 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

ToolWhat it does
memory_searchFull-text search. Returns matching files (5 by default, up to 20) with up to 3 matching lines each.
memory_viewOpens a file (up to 400 lines per call) or lists a folder.
memory_createCreates a new file.
memory_str_replaceReplaces one exact, unique piece of text in a file.
memory_insertInserts text after a given line.
vault_statusVault 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 points (1 USD = 1,000 points) in one-time packs up to $100, charged per reply by model and tokens used, with a price table for every model.

](https://ownmem.ai/docs/models-credits)[

Claude Code

Give Claude Code persistent, encrypted memory across projects and machines with ownmem's remote MCP server. One command, OAuth sign-in, no API key, no local server.

](https://ownmem.ai/docs/integrations/claude-code)