Documentation
Browse documentation

Connect your agent

Search-only connections

These agents can search notes that MemIndex has already recorded. A search connection does not automatically record the agent's own conversations, so work done in them is saved only when another agent records it or you save a note.

Each section below follows the same order: what the connection does, how to set it up, how to use it, how to check it, and how to remove it. Complete Install first and keep the local MemIndex service available on the same machine.

Claude Desktop

Status: Search only. Claude Desktop can search saved memory. This setup does not record Desktop conversations.

Add a MemIndex entry to Claude Desktop's configuration. Keep any other server entries you already have.

{
  "mcpServers": {
    "memindex": {
      "command": "npx",
      "args": ["-y", "memindex", "mcp"]
    }
  }
}

On macOS, the configuration file is ~/Library/Application Support/Claude/claude_desktop_config.json. On Windows, it is %APPDATA%\Claude\claude_desktop_config.json. Close and reopen Claude Desktop after saving the file. The npx command must be available to the app. If Desktop cannot find it, use the full path to your installed npx program.

Ask a specific question about work MemIndex has recorded. For example: “Search MemIndex for our decision about the sign-in flow.” Name the project when the question belongs to one project. The agent starts with search, checks nearby work with timeline, then reads selected notes with get_observations. An empty result can mean there are no recorded notes yet.

To check it, search for something you can already see in the MemIndex viewer. If the connection does not appear, check the configuration for valid JSON and restart Desktop. Run npx memindex doctor for local setup checks.

To remove it, delete the memindex entry from the configuration file and restart Desktop.

Goose

Status: Search only. Goose can search saved memory. It does not record Goose conversations.

npx memindex@latest install --ide goose

The installer adds a local memory search connection to ~/.config/goose/config.yaml. It keeps unrelated entries. Restart Goose after installation.

Ask a specific question about recorded work. For example: “Search MemIndex for our decision about the sign-in flow.” Name the project when you know it. The agent starts with search, checks nearby work with timeline, then reads selected notes with get_observations.

To check it, search for something you can already see in the MemIndex viewer. New work in Goose will not appear just because search is connected. If the tools do not appear after restarting, run npx memindex doctor and check that the configured program and installed MemIndex files exist.

To remove it, delete the memindex entry from ~/.config/goose/config.yaml and restart Goose.

Pi

Status: Search only. Pi can search MemIndex from inside a session. Automatic recording depends on the Pi release and the MemIndex worker it connects to.

npx memindex install --ide pi --runtime worker

Install Pi first. Restart Pi to load the extension. It is installed in ~/.pi/agent/extensions/memindex/. If you use PI_CODING_AGENT_DIR, that folder is used instead. Pi currently requires the local worker setup.

Ask Pi to find earlier work. It has three tools: mem_search finds matching notes and their IDs, mem_timeline shows the work around a match, and mem_get_observations reads the full notes you choose.

To check it, run these commands:

npx memindex pi status
npx memindex doctor

The status command only checks that the extension file exists. It does not check your Pi release or prove that recording works. Setup does not update Pi. Some Pi releases support search only, so do not rely on automatic recording until you have checked it in your own Pi session: ask Pi to perform a small text task with a tool, wait for processing to finish, then search MemIndex for that work. Start a new Pi session to check that saved context appears. Image-only turns are not recorded by this path, and missing session details or an older worker can cause automatic recording and context to be skipped.

To remove it, run npx memindex pi uninstall and restart Pi.

Roo Code

Status: Search only. Roo Code can search saved memory. Automatic conversation recording is coming; it is not part of this connection yet.

npx memindex@latest install --ide roo-code --runtime worker

Run the installer from your project folder, because its search settings are project-specific. It adds a local memory search connection to .roo/mcp.json and keeps unrelated entries. It also writes a memory placeholder to .roo/rules/memindex-context.md in the current project. That placeholder is not a recording mechanism. Restart Roo Code after installation.

Ask a specific question about recorded work. For example: “Search MemIndex for our decision about the sign-in flow.” Name the project when you know it. Ask it to use search to find notes, timeline to check the surrounding work, then get_observations to read the useful notes in full.

To check it, search for something you can already see in the MemIndex viewer. New work in Roo Code will not appear just because search is connected. If the tools do not appear after restarting, run npx memindex doctor.

To remove it, delete the memindex entry from .roo/mcp.json and delete .roo/rules/memindex-context.md, then restart Roo Code.

Warp

Status: Search only. Warp can search saved memory. Automatic conversation recording is coming; it is not part of this connection yet.

npx memindex@latest install --ide warp --runtime worker

The installer adds a local memory search connection to ~/.warp/mcp.json. It keeps unrelated entries. It also writes a memory placeholder to WARP.md in the current project. That placeholder is not a recording mechanism. If the ~/.warp folder does not exist, the installer skips the settings file. Add the memory connection through Warp Drive instead, with the command npx and arguments -y memindex mcp. Restart Warp after installation.

Ask a specific question about recorded work. For example: “Search MemIndex for our decision about the sign-in flow.” Name the project when you know it. Ask it to use search to find notes, timeline to check the surrounding work, then get_observations to read the useful notes in full.

To check it, search for something you can already see in the MemIndex viewer. New work in Warp will not appear just because search is connected. If the tools do not appear after restarting, run npx memindex doctor.

To remove it, delete the memindex entry from ~/.warp/mcp.json (or from Warp Drive) and delete WARP.md from the project if you do not use it for anything else. Then restart Warp.

Next steps