MCP server

Connect a client

Mint a token, add one URL to the client, then confirm the tools appear. Five minutes, no server to run.

MCP server4 pages

Every client below uses the same endpoint and the same bearer token. Only the config file and a field name change.

  1. 01
    Create a token

    Dashboard → Settings → MCP server → Create token. Name it after the client (for example “cursor-laptop”), copy the memo_... value, and store it in a password manager. It is not shown again.

  2. 02
    Add the server

    Paste the snippet for your client. The URL is the same everywhere; the token goes in an Authorization: Bearer header.

  3. 03
    Verify

    Ask the client to list MCP servers, or run the curl handshake below. You should see the twenty-four memory tools.

Claude Code

terminal
claude mcp add --transport http memo https://memo.uno/api/mcp \
  --header "Authorization: Bearer memo_..."

Run /mcp inside Claude Code. The tools appear as mcp__memo__memory_search, mcp__memo__memory_context, mcp__memo__memory_add, mcp__memo__memory_update, mcp__memo__memory_delete, mcp__memo__memory_list, mcp__memo__memory_get and the rest of the set. For automatic recall and capture hooks, continue with the Claude Code guide.

Claude Desktop

Desktop clients that only speak stdio need a bridge. mcp-remote forwards stdio to the HTTP endpoint:

claude_desktop_config.json
{
  "mcpServers": {
    "memo": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://memo.uno/api/mcp",
        "--header", "Authorization: Bearer memo_..."]
    }
  }
}

Cursor

.cursor/mcp.json (or ~/.cursor/mcp.json)
{
  "mcpServers": {
    "memo": {
      "url": "https://memo.uno/api/mcp",
      "headers": { "Authorization": "Bearer memo_..." }
    }
  }
}

VS Code

.vscode/mcp.json
{
  "servers": {
    "memo": {
      "type": "http",
      "url": "https://memo.uno/api/mcp",
      "headers": { "Authorization": "Bearer ${input:memo-token}" }
    }
  },
  "inputs": [
    { "id": "memo-token", "type": "promptString", "description": "Memo MCP token", "password": true }
  ]
}

Codex

~/.codex/config.toml
[mcp_servers.memo]
url = "https://memo.uno/api/mcp"
http_headers = { Authorization = "Bearer memo_..." }

Windsurf, Gemini CLI, Grok, OpenCode and the rest are listed in Other coding clients.

Verify from the terminal

MCP handshake
curl -X POST https://memo.uno/api/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Authorization: Bearer memo_..." \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}}}'

A 200 with a serverInfo object means the endpoint and token are fine. A 401 returns Unauthorized: send Authorization: Bearer <mcp token>.

Rotate or revoke a token

  1. 01
    Create the replacement

    Mint a new token in Settings and update the client config first, so there is no gap.

  2. 02
    Confirm the new token works

    List the tools in the client, or run the handshake above.

  3. 03
    Revoke the old token

    Delete it in Settings → Code memory. Revocation takes effect on the next request, even for clients that keep a connection open.

The usual mistake

The header is case-sensitive: Authorization: Bearer memo_.... Most “no tools” reports are a missing or misspelled header.