Skip to content
Documentation

Start typing to search...

Ditto MCP Server

Connect Claude, Codex, Cursor, OpenCode, or another MCP client to your Ditto memories using OAuth or an API key.

Connect Ditto once, and your AI tools: Claude, Codex, Cursor, OpenCode, and more: can search and save your Ditto memories right where you work. Most clients use OAuth, so you just sign in with your Ditto account without managing API keys.

Using OpenClaw or Hermes Agent? Those use the Ditto CLI instead of MCP. Start with OpenClaw or Hermes Agent.

After connecting, add our standing memory instruction so your assistant knows when to search memories and when to save checkpoints. Want bundled skills too? Install the Ditto plugin.

Endpoint

https://api.heyditto.ai/mcp

Use this single Streamable HTTP URL for every client. (Older clients can still use the legacy SSE endpoints /mcp/sse and /mcp/message.)

Pick Your Tool

OAuth, no API key

Claude.ai

Add Ditto as a remote custom connector. OAuth handles sign-in, so there is no key to manage.

Claude connector docs
Connector nameDitto
URLhttps://api.heyditto.ai/mcp
AuthOAuth
  1. Open Claude.ai Settings → Connectors.
  2. Choose Add custom connector.
  3. Paste the Ditto MCP URL and complete the Ditto sign-in flow.

Authentication

OAuth is the default for Claude.ai, Claude Desktop, Claude Code, Codex CLI, OpenCode, and Cursor. Your client opens a browser window to sign in, so no keys are stored in config files.

API keys are for local JSON/TOML configs or clients without OAuth. Create a key at app.heyditto.ai/mcp, copy it right away (it is shown only once), and send it as Authorization: Bearer <key>. Make one key per tool so you can revoke them separately, and never commit keys to git.

What Your Client Can Do

Once connected, your client can search your memories and topics, fetch full conversations, explore links between memories, and save new memories. MCP clients discover these tools automatically.

Troubleshooting

  • “Not Authenticated”: Check for typos or extra spaces in your key, confirm the header is Authorization: Bearer YOUR_API_KEY, verify the key was not revoked, and restart your client.
  • Empty search results: Memories come from your Ditto account, so a new account returns nothing. Try broader search terms and confirm the client is calling Ditto.
  • OAuth sign-in fails: Sign in to Ditto in your browser first, allow pop-ups, and try again in an incognito window if it stalls.

Watch and follow along

Watch the walkthrough, or open the slides to follow the steps at your own pace.

Connect Claude to Ditto with MCP

View the slides