MCP server

MCP server

Memo exposes memory to AI clients over the Model Context Protocol: one URL, a bearer token, and twenty-four tools the model calls on its own.

MCP server4 pages

The Model Context Protocol (MCP) is how an AI client asks for tools instead of being handed a prompt. Memo runs a stateless MCP server, so Claude Code, Cursor, Codex and any other MCP-capable client can search, load and save memory during a session — without a copy-paste step.

Endpoint

URL
Value
https://memo.uno/api/mcp
Transport
Value
Streamable HTTP, stateless (no session id)
Auth
Value
Authorization: Bearer memo_... — an MCP token, not the browser cookie
Methods
Value
POST for JSON-RPC; GET and DELETE for stream and teardown
CORS
Value
Open, so browser-based clients can connect directly

What the model gets

memory_search
What it does
Hybrid search across personal and code memory
Reads or writes
Read
memory_context
What it does
A prompt-ready pack for the current task or repository
Reads or writes
Read
memory_list
What it does
Browse memory in creation order, with filters and a cursor
Reads or writes
Read
memory_get
What it does
Read one memory by id, including one a newer value replaced
Reads or writes
Read
memory_export
What it does
Dump memory as JSON for backup or migration
Reads or writes
Read
memory_personal_categories
What it does
List built-in and custom categories with counts
Reads or writes
Read
memory_add
What it does
Store one durable memory, or up to 50 in one call; keyed writes update in place
Reads or writes
Write
memory_add_personal
What it does
Store user memory when the kind is already known
Reads or writes
Write
memory_add_code
What it does
Store project memory when the kind is already known
Reads or writes
Write
memory_update
What it does
Correct a memory in place; nothing is duplicated
Reads or writes
Write
memory_delete
What it does
Remove one memory (restorable with memory_restore)
Reads or writes
Write
memory_restore
What it does
Undo a delete, a supersede, or an in-place rewrite
Reads or writes
Write
memory_import
What it does
Restore an export, or seed memory from another client
Reads or writes
Write
memory_personal_category_add
What it does
Create a custom category
Reads or writes
Write
memory_personal_category_update
What it does
Rename or recolour a custom category
Reads or writes
Write
memory_personal_category_delete
What it does
Delete a custom category; its memories move to Fact
Reads or writes
Write
memory_code_types
What it does
List the six built-in code types plus custom ones, with counts
Reads or writes
Read
memory_code_category_add
What it does
Create a custom code type
Reads or writes
Write
memory_code_category_update
What it does
Rename or recolour a custom code type
Reads or writes
Write
memory_code_category_delete
What it does
Delete a custom code type; its memories move to Fact
Reads or writes
Write
memory_repos
What it does
List repositories you own or that were shared with you
Reads or writes
Read
memory_repo_create
What it does
Register a repository before filing memory under it
Reads or writes
Write
memory_repo_share
What it does
Invite a teammate to a repository (Pro)
Reads or writes
Write
memory_feedback
What it does
Mark a retrieved memory helpful or not
Reads or writes
Write (small)

The server also sends an instruction block telling the model when to call each tool. Clients that forward it need no extra setup; for the rest, put the same rules in CLAUDE.md or an equivalent project file. See Tools and behaviour.

How a session should flow

  1. 01
    Start with context

    memory_context for the repository or task. One call, a few hundred tokens, and the agent starts oriented instead of guessing.

  2. 02
    Search for specifics

    memory_search when the question is narrow — a command, a path, a decision. Pass repo and paths so matching memories rank higher.

  3. 03
    Write what is durable

    A stated preference, a decision, a convention or a gotcha. memory_add resolves duplicates, merges refinements and supersedes values that changed.

  4. 04
    Correct, don't duplicate

    When the user says a stored fact is wrong, memory_update with its id replaces the text in place; memory_delete removes a memory that should not exist.

  5. 05
    Rate what helped

    memory_feedback is the only signal that tells Memo which memories were worth retrieving.

Authentication

MCP uses tokens, not the browser session. Mint one in Dashboard → Settings → MCP server; the full value is shown once and only its hash is stored. Up to 20 tokens can be active at a time — one per client is usually right.

generic client config
{
  "mcpServers": {
    "memo": {
      "type": "http",
      "url": "https://memo.uno/api/mcp",
      "headers": { "Authorization": "Bearer memo_..." }
    }
  }
}

The connect guide has the exact snippet for Claude Code, Claude Desktop, Cursor, VS Code and Codex.

Signing in instead of pasting a token

Clients that implement the MCP authorization spec can skip the token entirely. They read the protected-resource metadata, register themselves, open Memo in a browser, and the connection completes after you sign in and approve it. Pasting a memo_ token keeps working exactly as before, so this is an additional way in, not a replacement.

/.well-known/oauth-protected-resource
Purpose
Points the client at the authorization server
/.well-known/oauth-authorization-server
Purpose
Authorization-server metadata
POST /api/oauth/register
Purpose
Dynamic client registration (public clients, PKCE)
GET /api/oauth/authorize
Purpose
Starts the browser flow; signed out, it hands off to sign-in
POST /api/oauth/token
Purpose
Exchanges the code and PKCE verifier for a token

The issued token does not expire; it is listed in Settings → MCP server as “name (OAuth)” and can be revoked there like any other. If the client asks for memory:read — or you untick writes on the consent screen — the token is read-only.

Scopes

  • Personal memory belongs to the token's owner and is never shared with teammates.
  • Code memory is visible for repositories you own and for repositories shared with you.
  • Writes go to your own personal memory, or to a repository you can edit; a viewer gets a read-only error.
  • A token acts as its owner. Removing a teammate from a repository limits what their token can reach — it does not revoke the token itself.

Plans and limits

Memories
Free
100 (inbox included)
Pro
10,000
Repositories you can create
Free
3
Pro
Unlimited
Results per search
Free
5
Pro
20
Context pack size
Free
1,200 characters
Pro
Preset budgets up to 2,800
Team invites
Free
Locked
Pro
Included
DeepSeek recall
Free
Locked
Pro
Optional; off by default

A write past the memory or repository limit is refused with a readable tool error (HTTP 402 under the hood) instead of silently truncating. Reads keep working.

Tokens are credentials

A token can read your personal memory and write to your repositories. Treat it like a password: keep it out of commits and screenshots, and revoke tokens you no longer use.

  • [Connect a client](/docs/mcp/connect) — token, config and verification.
  • [Tools and behaviour](/docs/mcp/tools) — when to call each tool and what it returns.
  • [Tool reference](/docs/tools/reference) — every parameter and response shape.
  • [Troubleshooting](/docs/mcp/troubleshooting) — 401s, empty recall, refused writes.