All twenty-four tools run over the same MCP endpoint. Parameters marked required must be present; everything else has a safe default.
memory_search
Hybrid search across both stores, with repository and path signals for code memory.
Free accounts receive at most 5 results per call; Pro up to 50.
querykindall | personal | codeall.repoowner/name, used for ranking and to include shared memory.pathstypeslimitoffsetincludeSuperseded{
"personal": [
{ "id": "…", "content": "Prefers pnpm over npm.", "category": "preference", "importance": 0.8, "status": "active", "createdAt": "2026-11-20T08:00:00.000Z", "score": 0.61 }
],
"code": [
{ "id": "…", "content": "Deploy only after typecheck and tests pass.", "type": "convention", "repo": "acme/memo", "score": 0.72 }
],
"count": 2
}memory_context
A prompt-ready pack. Cheapest possible start to a session.
presetchat | coding | fullrepopathtasklimitpinnedpinnedIdscategories, excludeCategoriesReturns plain text, not JSON — it is meant to be read by the model as-is.
memory_add
Store one durable memory. Personal and code memory share the tool.
contentitemskindpersonal | codetype is present, personal when category is.categorytypescopeglobal | repo | branchrepo for code memory.keybuild:flags; makes the write an upsert.repoowner/name.path, symbol, language, branch, commit_shaconfidenceimportancesource{ "id": "…", "kind": "code", "resolution": "created", "content": "…" }
{ "id": "…", "kind": "personal", "resolution": "merged", "content": "…" }memory_update
Corrects a memory in place. The row keeps its id and history; nothing is duplicated. Works for both stores.
idkindpersonal | codecontentcategoryimportancetypekeypath, symbol, languageconfidence{ "id": "…", "kind": "personal",
"memory": { "id": "…", "content": "Prefers pnpm, not npm.", "category": "preference", … } }Use it whenever a stored fact changed: a corrected name, a new command, a decision that replaced an older one. Adding a second memory leaves two contradictory rows in recall.
memory_delete
Removes one memory. It moves to status: deleted instead of vanishing, so memory_restore can bring it back; memory_list with status: "deleted" shows what was removed. Use it for rows that are wrong or no longer useful; prefer memory_update when the fact simply changed.
idkindpersonal | code{ "id": "…", "kind": "code", "deleted": true }A teammate with viewer access cannot update or delete a shared repository's memory; the call returns a read-only error.
memory_list
Browses stored memory in creation order, newest first, with a cursor. Use it to enumerate or audit memory instead of guessing search queries — searching for “goal” returns whatever ranks highest, not the goals.
kindall | personal | codeall.statusactive | pending | superseded | allactive.categoriestypesreposince, untilincludeSupersededlimitcursornextCursor from the previous page.{ "memories": [ { "id": "…", "kind": "personal", "content": "…", "supersededBy": null } ],
"count": 20, "nextCursor": "MjAyNi0xMS0yOFQwOTowMDowMFp8…" }memory_get
Reads one memory by id, superseded or not, and returns its supersede chain: the value that replaced it and the values it replaced. This is how a row that no longer ranks in search is still readable.
idkindpersonal | codehistorymemory_restore
Undoes a delete, a supersede, or an in-place rewrite. A deleted row returns to status active; a supersede makes the older value current and hides the newer one; a merged or updated row gets its previous text back. Nothing is removed, so restoring again swaps them back.
idkindpersonal | codememory_export
Exports personal and code memory as JSON, superseded versions included, in the same shape memory_import and the dashboard accept.
kindall | personal | codeall.repomemory_import
Restores an export, or seeds a new account from another client. Accepts a JSON string, an array of memories, or an object with personal and code arrays; at most 100 per call. Personal imports skip duplicate resolution so the restored text is exactly what was exported.
datamemory_add_personal and memory_add_code
The same write as memory_add, narrowed to one store. memory_add_personal takes content, category, importance and source; memory_add_code takes content, type and the location fields. Both accept items for up to 50 writes in one call, and both refuse a token whose scope excludes that store.
memory_personal_categories
Lists the seven built-ins and the account's custom categories with how many memories each holds. Call it before filing into a category, or when the user asks what categories exist.
memory_personal_category_add, memory_personal_category_update, memory_personal_category_delete
Manage custom categories over MCP. add takes a label, an optional key and an optional color (#rrggbb); update renames or recolours by key; delete removes one and moves its memories to Fact. Built-ins cannot be changed or deleted, and an account can hold 30 custom categories.
memory_code_types, memory_code_category_*, memory_repos, memory_repo_create, memory_repo_share
Code memory has six built-in types (convention, decision, gotcha, pattern, fact, preference) plus whatever the account adds: memory_code_types lists both with counts, and memory_code_category_add, memory_code_category_update, memory_code_category_delete manage the custom ones exactly like personal categories. Repositories scope code memory: memory_repos lists the repositories the account owns or was invited to, with role and memory count; memory_repo_create registers a repository before anything is written to it; memory_repo_share invites a teammate by email and returns a /invite/… path to send them (Pro only, owner only, expires in seven days).
memory_feedback
idhelpful{ "id": "…", "helpful": true, "found": true }Errors
- Invalid input returns an MCP tool error with a readable message; the client shows it to the model instead of crashing.
- A write past the plan's memory or repository limit returns a tool error naming the limit (
402under the hood); reads keep working. - A write with neither
typenorcategoryis rejected: code memory needs a type, personal memory needskind: "personal". memory_updateormemory_deletewith an id that does not exist, was superseded, or belongs to a repository you can only view returns a not-found or read-only error.- Queries below two characters are refused — they match too broadly to be useful.
- An expired or revoked token fails before any tool runs, with the message
Unauthorized: send Authorization: Bearer <mcp token>.
Tools are stateless: there is no session to keep open and no conversation id to manage. Every call carries its own context.