Skip to content

MCP Tools

memtomem exposes its LTM features as MCP tools. New users should keep the default core mode: it gives agents the common tools directly and routes everything else through mem_do, which keeps the agent’s visible tool list small.

Set the mode with MEMTOMEM_TOOL_MODE in your MCP client config.

ModeTools exposedUse when
core (default)9 total, including mem_doBest default for most agents
standard37, including mem_doYou want common management tools directly visible
full84You are debugging, documenting, or using a client that handles large tool lists well

Example:

{
"mcpServers": {
"memtomem": {
"command": "memtomem-server",
"env": { "MEMTOMEM_TOOL_MODE": "core" }
}
}
}

In core mode, the agent sees the tools needed for daily memory work:

ToolPurpose
mem_statusCheck server, storage, embedding, and index status
mem_statsReturn index statistics
mem_addStore a new memory
mem_searchHybrid search over indexed memory
mem_recallBrowse recent or date-filtered memory
mem_indexIndex a file or directory
mem_listList indexed memories / sources
mem_readRead an indexed source file
mem_doRoute all non-core actions by name

Tell the agent what you want in natural language. It will usually pick the right core tool.

mem_do is the escape hatch for the rest of the surface. It takes an action and optional params.

mem_do(action="help")
mem_do(action="help", params={"category": "context"})
mem_do(action="schedule_list")
mem_do(action="context_diff", params={"scope": "project_shared"})

Use mem_do(action="help") from your MCP client to see the action catalog for the installed version.

CategoryExamples
Namespacens_list, ns_set, ns_assign, ns_update, ns_rename, ns_delete
Tagstag_list, tag_rename, tag_merge, tag_delete
Sessionssession_start, session_end, session_list
Scratchscratch_set, scratch_get, scratch_promote
Context Gatewaycontext_detect, context_init, context_generate, context_diff, context_sync, context_migrate
Maintenancededup_scan, dedup_merge, decay_scan, decay_expire, cleanup_orphans, auto_tag
Import / exportexport, import, import_obsidian, import_notion, ingest
Analyticsactivity, timeline, eval, reflect

Stay in core when:

  • You are setting up memtomem for an agent.
  • You want lower prompt/tool-list overhead.
  • You are not sure which mode you need.

Use standard when an MCP client works better with direct tools than mem_do routing.

Use full when you are testing, writing docs, or manually exercising every tool. full intentionally exposes a large surface.

Most common MCP operations have CLI equivalents:

MCPCLI
mem_statusmm status
mem_addmm add
mem_searchmm search
mem_indexmm index
mem_do(action="context_sync")mm context sync
mem_do(action="schedule_list")mm schedule list

If an agent is struggling to call the right tool, run the CLI command once yourself and then ask the agent to follow the same operation.