memory_contextmemory_searchmemory_listnextCursormemory_getmemory_addmemory_updatememory_deletememory_restorememory_exportmemory_importmemory_personal_categoriesmemory_add_personalmemory_add_codememory_personal_category_addmemory_personal_category_updatememory_personal_category_deletememory_code_typesmemory_code_category_addmemory_code_category_updatememory_code_category_deletememory_reposmemory_repo_creatememory_repo_sharememory_feedbackmemory_search
Hybrid search over both stores. Pass repo as owner/name and paths for the files being edited so matching memories rank higher; pass kind to narrow to personal or code. Results carry ids you can rate with memory_feedback.
Free accounts receive at most 5 results per call, Pro up to 50. The default is 6, so a free account asking for 6 gets 5.
memory_context
A prompt-ready pack, returned as text. It is the cheapest way to start a session.
chatcodingfullFree accounts cap every preset at 1,200 characters. repo, path and task shape what the pack contains; limit caps how many memories of each kind are packed, pinned always carries the highest-importance ones, pinnedIds force-includes specific memories, and categories / excludeCategories filter which kinds of personal memory appear.
memory_add
One tool for both stores. Pass kind: "personal" with a category for user memory, or a type with repo for code memory. A stable key makes the write an upsert, so a changed convention replaces the old value instead of competing with it.
kindpersonal or code; inferred from category or type when omittedcategorytypekeybuild:flags; later writes update in placerepoowner/name; required for repo-scoped code memoryThe response says what happened: created for a new row, merged when a near-duplicate was combined, superseded when a changed value replaced the previous one.
Categories start with the seven built-ins. Settings → Categories adds your own, each with a colour; agents can then pass the category's name or key, and a memory filed under it is filtered, packed and searched like any other. Deleting a category keeps its memories and moves them to Fact.
A call that sends items stores each one independently: siblings inside the same batch never merge into or supersede one another, so bulk-writing several related notes cannot silently drop one. A single memory_add still resolves against what is already stored.
memory_update
Corrects a row in place, keeping its id. Pass the id from a search or context result and only the fields that changed. Use it whenever the user corrects something already stored — a second memory_add would leave two rows that disagree.
Personal memory accepts content, category, importance and key; code memory accepts content, type, key, path, symbol, language and confidence. The kind is inferred from the id, so kind is optional.
memory_delete
Removes one memory. The row moves to status: deleted rather than vanishing, so memory_restore can bring it back by id, and memory_list with status: "deleted" shows what was removed. Prefer memory_update when the fact merely changed; delete is for rows that are wrong or should never have been saved.
A teammate with viewer access cannot update or delete shared repository memory — the call returns a read-only error instead.
memory_list and memory_get
Search ranks by similarity, which is the wrong tool for “show me everything”. memory_list returns rows in creation order with kind, status, categories, types, repo, since, until and a cursor — 100 per page at most. status: "all" or includeSuperseded: true also returns values a newer memory replaced, status: "deleted" returns removed rows, and memory_get returns one row together with the version that replaced it, the versions it replaced, and its history of earlier texts.
This is the pair to reach for when a memory seems to have vanished: a write that superseded it hides it from recall, but never from memory_get.
memory_restore
Undoes a delete, a supersede, or an in-place rewrite. A deleted row returns to status active; a supersede makes the older memory current again and hides the newer one in its place; a merged or updated row gets its previous text back from memory_get's history. Nothing is removed, so a restore can itself be undone.
memory_export and memory_import
memory_export returns personal and code memory as JSON, superseded versions included; memory_import accepts that JSON, a plain array, or the dashboard's export format, up to 100 memories per call. Personal imports skip duplicate resolution so the restored text is exactly what was exported.
Token scopes
A token can be read-only, and can be scoped to personal or to code memory. A read-only token is not offered the write tools at all; a scoped token sees only its kind and its writes to the other kind are refused. Mint them in Settings → MCP server.
memory_feedback
Mark a retrieved memory helpful: true or false. Helpful memories rank higher over time; the feedback is also visible through the audit API on Pro.
The server's instructions
Connecting over MCP sends this block, which most clients add to the model's context automatically:
Memo is the user's long-term memory across AIs: personal preferences, facts,
goals, people, skills, plus project conventions, decisions and gotchas for code.
- Call memory_context at the start of a task.
- Call memory_search when you need a specific fact.
- Call memory_add when the user states a durable preference, fact, goal,
decision or gotcha.
- For code memories pass repo as 'owner/name'; for personal memories pass
kind='personal'.
- Pass a stable key on code or personal memories so updated values overwrite
instead of duplicating.When a call is refused
402 memory_quota)402 repository_quota)Unauthorized: send Authorization: Bearer <mcp token> (HTTP 401)The full parameter list, defaults and response shapes are on the tool reference.
Writes made by capture hooks (commits and Claude sessions) land in the Inbox as pending. Recall ignores them until they are approved in Dashboard → Inbox, so an agent will not see them immediately.