Connect an AI Client
Estimated time: 5–10 minutes
Goal: connect one client, call mem_status, and confirm it uses the same database as the CLI.
Before You Connect
Section titled “Before You Connect”Complete Quick Start, then run:
mm statusKeep the displayed database path. You will compare it with the client result.
Manual MCP-only entries use the memtomem-server command. memtomem and mm are terminal CLIs and must not be used as MCP server commands. Official plugins may supply their own pinned launch command.
For a client that runs memtomem’s update workflow (Claude Code, Codex CLI, OpenCode, Kimi Code, Antigravity CLI), the manual entries below also set MEMTOMEM_EXTRA_TOOLS=mem_update_coverage. It is not a setting: it exposes the one tool the workflow needs outside topic mode, and the server reads it at launch, before any configuration, so ~/.memtomem/config.json cannot provide it. Settings still come from that file. The entries for other clients leave it out. The Cursor plugin runs the workflow too, and its bundled server already sets the variable.
Pick one client below. If that client already has both a plugin and a manual MCP entry, use its matching rule instead of assuming that one copy is always removed:
| Client | How entries are matched | Result |
|---|---|---|
| Claude Code | exact command and arguments | the same signature runs one server; a different signature runs both |
| Codex CLI | server name | manual memtomem wins; a different name runs both |
| OpenCode | mcp key | manual mcp.memtomem wins; a different key runs both |
| Hermes Agent | server name | manual mcp_servers.memtomem wins; a different name runs both |
| Antigravity CLI | server name | the plugin’s server is named memtomem_memtomem, so a manual memtomem entry never matches it and both run |
| Cursor | not matched | the plugin adds its own server beside a manual memtomem entry, and both run |
Claude Code
Section titled “Claude Code”The official plugin is the recommended path. The plugin released with Core 0.7.13 is version 0.5.44 and bundles Core 0.7.13:
/plugin marketplace add memtomem/memtomem/plugin install memtomem@memtomem/reload-pluginsIf /reload-plugins is unavailable, start a new Claude Code session. Then run:
/memtomem:status/memtomem:remember Remember this confirmed decision: release smoke tests run before cutover./memtomem:search release smoke testsThe status should show the same database path as mm status, and search should return the saved sentence with a source path.
If you previously registered a manual server, run /mcp before continuing. Claude Code 2.1.218 matches the exact command and arguments; environment variables are not compared. The plugin signature is:
uvx --python 3.12 --from memtomem[onnx]==0.7.13 memtomem-serverWith that same signature, the manual registration wins and only one server runs under mcp__memtomem__mem_*. The bare memtomem-server entries below have a different signature, so both servers run and tools appear under both mcp__memtomem__mem_* and mcp__plugin_memtomem_memtomem__mem_*.
/memtomem:setup reports this doubled namespace and shows the available remedies, but it never removes a registration automatically. Choose the setup you want:
-
Keep the plugin (recommended): remove the manual entry with
claude mcp remove memtomem. Add-s userwhen removing a user-scope entry; remove the project entry from.mcp.json. -
Keep only the manual server: run
/plugin uninstall memtomem@memtomem. -
Keep the plugin commands with the manual server: keep the plugin installed and register the manual entry with the exact plugin signature. For example:
Terminal window claude mcp add memtomem -e MEMTOMEM_EXTRA_TOOLS=mem_update_coverage -- uvx --python 3.12 --from "memtomem[onnx]==0.7.13" memtomem-serverThe manual entry wins together with its environment, so it needs the variable for the plugin’s
updateworkflow outsidetopicmode.Alternatively, keep your existing manual entry and suppress the plugin’s bundled server instead: preview with
mm doctor --mcp-client claude --reconcile keep-manual, close every Claude session, then rerun it with--apply. Updating or reinstalling the plugin can restore its bundled server, so runmm doctor --mcp-client claudeagain afterwards. Seemm doctorfor the backup and exit codes.
For MCP-only setup without the plugin’s commands and skills, choose one Claude Code registration scope:
| Scope | Command | Visibility |
|---|---|---|
| Local | claude mcp add memtomem -e MEMTOMEM_EXTRA_TOOLS=mem_update_coverage -- memtomem-server | current project and user |
| User | claude mcp add memtomem -s user -e MEMTOMEM_EXTRA_TOOLS=mem_update_coverage -- memtomem-server | every project for this user |
| Project | commit a project-root .mcp.json | teammates after trust approval |
-e must come before the --: everything after it is the server’s command.
{ "mcpServers": { "memtomem": { "command": "memtomem-server", "args": [], "env": {"MEMTOMEM_EXTRA_TOOLS": "mem_update_coverage"} } }}Optional Automation Plugin
Section titled “Optional Automation Plugin”memtomem-automation is a separate, opt-in Claude Code plugin for users who want memory retrieved and files indexed without asking. Install it after the base plugin. The release that ships with Core 0.7.13 is version 0.3.27:
/plugin install memtomem-automation@memtomemIts hooks run through uv and call the mm CLI, so both must be on the PATH Claude Code runs hooks with:
- a prompt longer than 20 characters after trimming is searched with its first 500 characters (
mm search, top 3), and the result is added to the conversation as context; - a file that Write or Edit changes is queued for indexing, if its type is supported and it is not under a build, cache or dependency directory;
- the queue is flushed when a response stops.
It does not start or end episodic sessions. To turn it off, uninstall it with /plugin uninstall memtomem-automation@memtomem; the base plugin keeps working.
The hooks run only when mm --version reports exactly 0.7.13, the release the plugin was reviewed with, and updating the plugins does not upgrade that CLI. After each plugin update, upgrade mm too, confirm it, then start a new Claude Code session:
mm upgrade --version 0.7.13mm --versionmm upgrade keeps the extras it detects from the existing uv tool install; check the Extras: line of mm upgrade --dry-run first (see mm upgrade). Without such an install, install uv tool install --python 3.12 'memtomem[all]==0.7.13': a base-only memtomem==0.7.13 lacks the ONNX dependencies that the mm init English and Korean presets use, and reports them missing instead of indexing. With any other version, or no mm at all, the hooks skip every prompt and edit; at session start the plugin tells Claude which version it found, and each skip is logged to ~/.claude/memtomem-automation/hook.log ($CLAUDE_PLUGIN_DATA/hook.log when Claude Code sets it).
Codex CLI
Section titled “Codex CLI”Install the official plugin:
codex plugin marketplace add memtomem/memtomemcodex plugin add memtomem@memtomemStart a new Codex thread, then ask:
Use $memtomem-status to show the current memory database path.Use $memtomem-remember to save this confirmed decision: release smoke tests run before cutover.Use $memtomem-search to find "release smoke tests" and show the source.For MCP-only setup, add this to ~/.codex/config.toml:
[mcp_servers.memtomem]command = "memtomem-server"args = []env = { MEMTOMEM_EXTRA_TOOLS = "mem_update_coverage" }supports_parallel_tool_calls = trueRestart Codex after changing the file.
Codex resolves MCP servers by name. If the plugin is also installed, the manual [mcp_servers.memtomem] section wins and only one server runs, so the section needs the env line above for the plugin’s memtomem-update skill outside topic mode. Remove that section to switch to the plugin’s pinned server. Do not rename the manual section to [mcp_servers.memtomem-local]: a different name is not deduplicated, so both servers run. Confirm the resolved entry with codex mcp list.
JSON-Based MCP Clients
Section titled “JSON-Based MCP Clients”Use this server entry unless a client-specific section below says otherwise:
{ "mcpServers": { "memtomem": { "command": "memtomem-server", "args": [] } }}| Client | Configuration location | After editing |
|---|---|---|
| Cursor | ~/.cursor/mcp.json | restart Cursor |
| Windsurf | ~/.codeium/windsurf/mcp_config.json | restart Windsurf |
| Claude Desktop on macOS | ~/Library/Application Support/Claude/claude_desktop_config.json | quit and reopen the app |
| Claude Desktop on Windows | %APPDATA%\Claude\claude_desktop_config.json | quit and reopen the app |
| Gemini CLI | ~/.gemini/settings.json | restart the CLI; new setups should prefer Antigravity CLI |
| Kimi Code | ~/.kimi-code/mcp.json, or mcp.json under $KIMI_CODE_HOME | restart Kimi Code |
Kimi Code runs the update workflow, so its entry also keeps "env": {"MEMTOMEM_EXTRA_TOOLS": "mem_update_coverage"} next to "args". The setup wizard writes the entry with it:
mm init --mcp kimiRe-running that command is a reconfiguration, not an upgrade: it replaces the whole mcpServers.memtomem entry, including environment variables you added. To upgrade an existing entry, edit it in place. An entry whose command is uvx launches the exact release it pins: move the pin, and when its args name an extra (memtomem[all], memtomem[onnx]) without asking for a Python, put "--python", "3.12" at the front of args. An entry that runs an installed interpreter with -m memtomem.server, which mm init writes from a persistent install, runs whatever memtomem that environment has: upgrade memtomem there (mm upgrade for a uv tool install), then restart Kimi Code.
memtomem writes Kimi entries only to the current Kimi Code home. A memtomem entry left in the legacy ~/.kimi/mcp.json (or under $KIMI_SHARE_DIR) is not updated, and mm uninstall only reports it, so remove it yourself.
Cursor
Section titled “Cursor”For an MCP-only entry, use the generic entry in JSON-Based MCP Clients in ~/.cursor/mcp.json, or a project’s .cursor/mcp.json, and restart Cursor.
Cursor Plugin
Section titled “Cursor Plugin”The Cursor plugin bundles an exact-pinned memtomem MCP server and the nine memory skills the Antigravity CLI plugin ships, including the three project workflows (handoff, brief, update). It is experimental since Core 0.7.4: its layout and skills can change without a deprecation window. It requires:
- Cursor 3.27.22 or later, the version the plugin was verified against;
uvon thePATHCursor starts MCP servers with. The plugin starts the server withuvx --python 3.12 --from 'memtomem[onnx]==0.7.13' memtomem-server;- Python 3.12. If uv cannot find one, it downloads one on first start. When that download is not possible, the server does not start; run
uv python install 3.12once to fix it.
Until the plugin is listed in the Cursor Marketplace, install it as a local plugin from the 0.7.13 release. Cursor loads a symlinked local plugin only when the link resolves inside ~/.cursor/plugins/local, so copy the directory:
git clone --branch v0.7.13 --depth 1 https://github.com/memtomem/memtomem.git memtomem-v0.7.13 && mkdir -p ~/.cursor/plugins/local && cp -R memtomem-v0.7.13/packages/memtomem-cursor-plugin ~/.cursor/plugins/local/memtomemRun Developer: Reload Window, then check under Customize that the memtomem MCP server and its nine skills are listed. On a Cursor Enterprise team, an admin has to allow local plugin imports first. Clone the release tag rather than main: right after a version bump, main can pin a memtomem release that is not on PyPI yet, and the server then fails to start.
The commands copy only after the clone succeeds; if memtomem-v0.7.13 already exists, the clone fails and nothing is copied, so remove or rename that directory first. To update, clone the new release’s tag the same way into its own directory, then replace the installed copy: delete ~/.cursor/plugins/local/memtomem and copy the new clone’s packages/memtomem-cursor-plugin there, then reload the window. The clone is needed only for the copy; delete it once the plugin is installed if you do not want to keep it. Copying onto an existing ~/.cursor/plugins/local/memtomem nests the new bundle inside the old one and leaves the old one active. To remove the plugin, delete ~/.cursor/plugins/local/memtomem; your memories stay in ~/.memtomem.
Cursor starts the plugin’s server in your home directory, not in the open workspace, so the server begins at user scope. The skills bind it to your repository the way the Antigravity CLI skills do. Binding needs a registered tier in the repository (mm mem init --scope project_local) and lasts until the server restarts. Once bound, search and recall also read the repository’s project memory, and remember saves a project fact to its project_local tier. Without a tier, or outside a Git repository, search and recall read user-scope memory only, remember saves only cross-project preferences and personal notes and refuses a project fact, and the three project workflows stop. The binding step runs git rev-parse --show-toplevel in Cursor’s terminal, so a Cursor hook that blocks shell commands, including a Claude Code hook Cursor imports, stops the skill before it binds. Remember, index, setup and the three project workflows run only when you invoke them with /skill-name. Storage paths in ~/.memtomem/config.json must be absolute or start with ~; a relative path resolves against your home directory and opens a different store.
The plugin does not replace a hand-registered memtomem entry in ~/.cursor/mcp.json or a project’s .cursor/mcp.json: both servers run. Remove the manual entry so only one server runs, after comparing the database path mem_status reports. See the plugin README for details.
OpenCode
Section titled “OpenCode”The published opencode-memtomem@0.3.40 plugin bundles Core 0.7.13 and provides an exact-pinned MCP server plus commands and skills. OpenCode uses the singular plugin key and has no opencode plugin add command, so add it to opencode.json:
{ "plugin": ["opencode-memtomem@0.3.40"]}For MCP tools only:
{ "$schema": "https://opencode.ai/config.json", "mcp": { "memtomem": { "type": "local", "command": ["uvx", "--python", "3.12", "--isolated", "--from", "memtomem[all]==0.7.13", "memtomem-server"], "enabled": true, "timeout": 60000, "environment": {"MEMTOMEM_TOOL_MODE": "core", "MEMTOMEM_EXTRA_TOOLS": "mem_update_coverage"} } }}OpenCode applies the same-name rule to the mcp key. An existing mcp.memtomem entry wins over the plugin’s default and only one server runs; the plugin keeps that entry instead of adding its own, so it needs the MEMTOMEM_EXTRA_TOOLS value above for the plugin’s update command outside topic mode. Remove that entry to use the plugin server. A differently named key such as mcp."memtomem-local" is not deduplicated, so both servers run.
The plugin also merges default memtomem tool permissions into permission. The search, recall, status, stats, list, and read tools are allowed; the other tools, including mem_add and mem_index, ask each time; and memtomem_mem_do is denied. Because the plugin server runs in core mode, the actions routed through mem_do stay unavailable until you change that rule. A rule you set for the same key replaces the plugin default for that key, while the other defaults stay; a wildcard such as memtomem_* does not remove the exact-name defaults. To allow the dispatcher, set its exact key:
{ "permission": {"memtomem_mem_do": "ask"}}A string permission value cannot carry that rule: with "ask" or "allow", the plugin still denies memtomem_mem_do. OpenCode’s --auto mode approves ask decisions, and agent-level permissions can override global settings, so review both before using write tools.
Hermes Agent
Section titled “Hermes Agent”The official plugin package provides the memtomem MCP server and six memory skills (index, recall, remember, search, setup, status). It requires:
- Hermes Agent 0.21.5 or later;
- MCP support in Hermes’s environment (
hermes-agent[mcp]). Without it, Hermes loads the skills but starts no MCP server, and logs the reason only at debug level; uvonPATH. Installed at the 0.7.13 commit below, the plugin starts the server withuvx --python 3.12 --from 'memtomem[onnx]==0.7.13' --with 'huggingface-hub>=1.20' memtomem-server. Installed from the catalog, it starts the release of the catalog’s pinned commit, which can be older;- Python 3.12. If uv cannot find one, it downloads one on first start. When that download is not possible (offline, or uv’s Python downloads turned off), the server does not start; run
uv python install 3.12once to fix it.
Install it from the Hermes plugin catalog:
hermes plugins install memtomem --enableThe catalog pins a reviewed commit, so it can trail the newest release until the catalog entry is updated. To pin a specific release yourself, install from the Git repository. Hermes’s --ref takes a full 40-character commit SHA and refuses a tag name. For 0.7.13:
hermes plugins install "https://github.com/memtomem/memtomem#packages/memtomem-hermes-plugin" --ref b020227a08ff7b75cb6a6d0648c0112b68d1e4d6 --enableLook up another release’s commit with git ls-remote --exit-code https://github.com/memtomem/memtomem "refs/tags/v<version>" "refs/tags/v<version>^{}". If it prints two lines, use the SHA on the line that ends in ^{}. If the plugin is already installed, reinstall with --force --ref <new-commit-sha>.
Start a new Hermes session, ask it for memtomem status, and confirm the database path matches mm status. The plugin’s server starts with the onnx extra only, without the Korean tokenizer: if the store is set to search.tokenizer: kiwipiepy (the mm init Korean-optimized preset), the status shows a tokenizer_fallback warning, and Korean queries with particles or endings miss notes indexed the other way. The repair gives the korean extra to every memtomem process that opens the store, then rebuilds the keyword index; follow the plugin README’s Korean keyword search steps in order.
The package runs memtomem at user scope. The server starts in the plugin directory, so it has no project context and paths given to indexing must be absolute. The project workflows (handoff, brief, update), which need a project, are not included. The bundled workflows do not bind a project on their own (mem_project_bind, new in 0.7.1), and the remember workflow always saves at user scope. Storage paths in ~/.memtomem/config.json must be absolute or start with ~. A relative path resolves against the plugin directory and opens a different store.
For MCP-only setup, add this entry to ~/.hermes/config.yaml, then start a new session:
mcp_servers: memtomem: command: memtomem-server args: []Either way, Hermes passes MCP servers only a small allowlist of environment variables, plus variables from an external secret source you configured in Hermes. A MEMTOMEM_* setting exported in your shell does not reach the server. memtomem reads a .env file itself at startup, searching upward from its installed location rather than the plugin or launch directory (for a uvx launch that is normally ~/.env), unless PYTHON_DOTENV_DISABLED=1 is set. The plugin’s server entry sets it, so a .env file does not configure the plugin’s server. A manual entry without that variable still reads the file, and only its MEMTOMEM_* settings apply. The plugin’s entry also sets HF_HUB_DISABLE_IMPLICIT_TOKEN=1 and holds huggingface-hub at 1.20 or later, so its Hugging Face model downloads use neither a saved hf auth login token nor HF_TOKEN. For a gated or private model, use a manual entry without that variable and with HF_TOKEN under env:. If the database path differs from mm status, check these differences first. A manual entry can set the values it needs under env:.
Hermes resolves MCP servers by name. If the plugin is also enabled, the mcp_servers.memtomem entry in config.yaml wins and only one server runs. Remove that entry to switch to the plugin’s server. A different name such as mcp_servers.memtomem-local is not deduplicated, so both servers run. hermes mcp list shows only the config.yaml entries, not the plugin’s server.
Per-Turn Recall (Memory Provider)
Section titled “Per-Turn Recall (Memory Provider)”memtomem-memory is a Hermes memory provider: a Hermes plugin that finds relevant memories on each conversation turn and adds them to that turn’s context. Without a model tool call, on every user turn other than greetings, short acknowledgements and slash commands, it makes one mem_search(record=False, rerank=False) call through Hermes’s own MCP connection to the MCP entry named memtomem and, by default, adds up to five results within 4,000 characters of result bullets, not counting the heading. On memtomem 0.7.8 or later, it also passes namespace="!system" (searching every non-system namespace even while a session namespace is open) and deadline_ms (rpc_timeout_seconds minus 1 s) to bound server-side processing. A search that does not finish within 300 ms is not used for that turn. Recall itself does not write (record=False records no access counts or query history), and the provider starts no server of its own; if you opt in with mirror_writes: true under memory.memtomem-memory (off by default, requires memtomem 0.7.8 or later), it mirrors saves, replacements, and removals from Hermes’s built-in MEMORY.md / USER.md to memtomem via mem_do(action="hermes_mirror_apply") and renders hermes-mirror/<profile hash>/<target>.md under the first memory_dirs directory.
It requires:
- a
memtomementry (the plugin above ormcp_servers.memtomem) running memtomem 0.6.8 or later (or 0.7.8 or later formirror_writes). The provider refuses a server whose structured output does not echo"recorded": false, a key added in 0.6.8. The release the Hermes catalog currently pins meets both minimums. A catalog plugin that pins a release older than one of them keeps recall (or mirroring) off; in that case install the plugin at the 0.7.13 commit above or use a manual entry that runs a new enough release; - that entry set to
trust: full. An entry without atrustvalue is treated asfull.
The provider is listed in the Hermes plugin catalog too. Like the plugin entry, the catalog pins a reviewed commit, so it can trail the newest release:
hermes plugins install memtomem-memoryTo pin it to the same release as the plugin, install it at the 0.7.13 commit instead:
hermes plugins install "https://github.com/memtomem/memtomem#packages/memtomem-hermes-memory" --ref b020227a08ff7b75cb6a6d0648c0112b68d1e4d6It does not need --enable, and either answer to the install’s enable prompt works: a memory provider is active once memory.provider names it. The exception is a provider that hermes plugins disable put under plugins.disabled; Hermes loads it only after hermes plugins enable memtomem-memory.
Then select the provider and grant it access to the memtomem MCP entry in ~/.hermes/config.yaml (or your profile’s config.yaml), and start a new session:
memory: provider: memtomem-memoryplugins: entries: memtomem-memory: mcp_allowlist: [memtomem]hermes memory setup memtomem-memory asks whether to mirror Hermes’s built-in memory (defaulting to no) and writes memory.provider and memory.memtomem-memory.mirror_writes, not mcp_allowlist. If you set the grant with hermes config set plugins.entries.memtomem-memory.mcp_allowlist '[memtomem]', keep the brackets: without them Hermes stores the string memtomem, which grants nothing.
The provider shares the connection, call queue and circuit breaker of the model’s own memtomem tools. It therefore sends at most one call at a time (recall and mirror writes together) per MCP entry name across the Hermes process, and after a failed call it waits 15 s, then 60 s, then 300 s before trying again. For the settings (budget_ms, top_k, mirror_writes and others) and further behavior, see the package README.
Antigravity
Section titled “Antigravity”Antigravity IDE and Antigravity CLI (agy) use separate files.
- IDE built-in Gemini agent:
~/.gemini/antigravity/mcp_config.json, with the genericmcpServersentry above. - IDE VS Code-side integrations:
~/Library/Application Support/Antigravity/User/mcp.json, using that integration’sserversschema. - Antigravity CLI:
~/.gemini/config/mcp_config.json.
For the Antigravity CLI, the quickest way is to let agy write the entry:
agy mcp add -e MEMTOMEM_EXTRA_TOOLS=mem_update_coverage memtomem memtomem-serverFlags such as -e must come before the server name.
To edit the file yourself, add this entry to ~/.gemini/config/mcp_config.json:
{ "mcpServers": { "memtomem": { "type": "stdio", "command": "memtomem-server", "args": [], "env": {"MEMTOMEM_EXTRA_TOOLS": "mem_update_coverage"} } }}The older ~/.gemini/antigravity-cli/mcp_config.json is no longer read. If it holds a memtomem entry, move the entry to ~/.gemini/config/mcp_config.json or re-add it with agy mcp add, then run agy mcp list to confirm the CLI sees the server.
Restart the agent session after editing. Antigravity does not inherit MCP entries from a separate VS Code installation.
Antigravity CLI Plugin
Section titled “Antigravity CLI Plugin”The Antigravity CLI plugin bundles an exact-pinned memtomem MCP server and nine memory skills: six base skills (index, recall, remember, search, setup, status) and, since 0.7.2, the three project workflows (handoff, brief, update). It is experimental since 0.7.0: its layout and skills can change without a deprecation window. It requires:
- Antigravity CLI (
agy) 1.4.7 or later; uvonPATH. The plugin starts the server withuvx --python 3.12 --from 'memtomem[onnx]==0.7.13' memtomem-server;- Python 3.12. If uv cannot find one, it downloads one on first start. When that download is not possible, the server does not start; run
uv python install 3.12once to fix it.
Install the 0.7.13 release:
agy plugin install https://github.com/memtomem/memtomem/tree/v0.7.13/packages/memtomem-antigravity-pluginThe plugin is copied to ~/.gemini/config/plugins/memtomem. Start a new agy session to load it. To update, run agy plugin uninstall memtomem and install again; your memories stay in ~/.memtomem.
The plugin’s server starts at user scope. agy starts it in the plugin directory, so it has no project context and paths given to indexing must be absolute. Since 0.7.4, six skills first bind the server to the repository you are working in, search, recall and remember as well as the three project workflows: they call mem_project_bind through mem_do with the root that git rev-parse --show-toplevel prints, and continue only when the tool names that same root. A parent directory, which the server returns when only a parent’s tier is registered, stops a project workflow, and so does any other result. The repository needs a registered tier (mm mem init --scope project_local). A binding lasts until the server process restarts, so working in a second repository needs a restart first. Once bound, search and recall read user-scope memory together with the repository’s project memory, and remember saves a project fact to the repository’s project_local tier and a cross-project preference to user scope. Without a registered tier, or outside a Git repository, search and recall read user-scope memory only, and remember still saves cross-project preferences and personal notes at user scope but refuses a project fact rather than saving it there. Index, status and setup do not bind. Storage paths in ~/.memtomem/config.json must be absolute or start with ~; a relative path resolves against the plugin directory and opens a different store.
agy names the plugin’s server memtomem_memtomem, so it does not replace a hand-registered memtomem entry: both servers run. Keep one. Remove the manual entry with agy mcp remove memtomem so only one server runs, or keep the manual entry and the plugin’s skills with mm doctor --mcp-client agy --reconcile keep-manual, then --apply (keep-plugin removes the manual entry instead). A plugin update can restore the bundled server, so rerun the check after reinstalling. agy mcp list shows only the hand-registered entries, not the plugin’s server; agy plugin list shows the plugin. Compare the database path mem_status reports before removing either. See the plugin README for details.
Verify the Connection
Section titled “Verify the Connection”Ask the client:
Call mem_status and show the database path, embedding provider, and chunk count.The setup is complete when:
- exactly one memtomem server or tool namespace is active;
- the client exposes the nine default Core tools or the plugin’s guided workflows;
mem_statussucceeds;- its database path matches
mm status; - a saved memory can be found with its source path in a new session.
mem_status and a matching database path can succeed even when two servers are active. Use /mcp in Claude Code, codex mcp list in Codex, or the exact mcp.memtomem key in OpenCode to verify the first condition. In the Antigravity CLI, check agy plugin list together with agy mcp list. In Hermes Agent, check the plugins in hermes plugins list --enabled together with every mcp_servers entry in config.yaml.
If It Does Not Work
Section titled “If It Does Not Work”- Run
mm statusto separate an installation problem from a client problem. - For a manual MCP-only entry, confirm the configured command is
memtomem-server; an official plugin may use its own pinned command. - Apply the Claude Code, Codex, OpenCode, Hermes Agent, or Antigravity CLI matching rule above and leave exactly one active server.
- Restart the client or open a new session after plugin installation.
- If a GUI-launched client cannot resolve a manual command, run
command -v memtomem-serverand use that absolute executable path in its configuration. - Continue with Troubleshooting if the database path or namespace differs.
Installing a client plugin does not index the project, import built-in memory, watch files, or save entire conversations. Use Index and Import Existing Content for those explicit operations.