Skip to content

deja-vu

Local MCP memory, session history search, cross-agent handoff, and code recovery for Claude Code, Codex, Cursor, OpenCode, Gemini CLI, and 47 more coding agents.

build.protocol_tooling.mcp#mcp#claude-code#codex#opencode#memory#agent#cli#copilot#agent-memory#ai-memory

Install deja-vu in your MCP client

deja-vu is a Model Context Protocol server. Add it to your MCP client config once, restart, and the server's tools become available to your AI assistant. The same JSON snippet below works across all four major clients — only the config file path differs.

  1. Locate your client's MCP config file.
    • Cursor: ~/.cursor/mcp.json
    • Claude Desktop (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json
    • Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json
    • VS Code: Settings → Extensions → MCP
    • Windsurf: Settings → MCP Servers
  2. Add deja-vu to the mcpServers map — paste the snippet below into your config file. If you already have other MCP servers, merge the entry into the existing mcpServers object.
  3. Restart your client so it picks up the new server.
  4. Verify — ask the assistant to list available tools; deja-vu's tools should appear.
{
  "mcpServers": {
    "deja-vu": {
      "command": "npx",
      "args": [
        "-y",
        "@vshulcz/deja-vu"
      ]
    }
  }
}

Maintain deja-vu, or spotted a wrong detail on this page? Report a problem and we will correct it. Corrections are free.

Install deja-vu in Cursor

Open ~/.cursor/mcp.json in your editor, paste the snippet above into mcpServers, save, and restart Cursor. deja-vu will show up in the assistant's tool list on next launch.

Install deja-vu in Claude Desktop (macOS)

Open ~/Library/Application Support/Claude/claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (macOS). deja-vu will show up in the assistant's tool list on next launch.

Install deja-vu in Claude Desktop (Windows)

Open %APPDATA%\Claude\claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (Windows). deja-vu will show up in the assistant's tool list on next launch.

Install deja-vu in VS Code

Open Settings → Extensions → MCP in your editor, paste the snippet above into mcpServers, save, and restart VS Code. deja-vu will show up in the assistant's tool list on next launch.

npm package: @vshulcz/deja-vu

Transport

deja-vu supports the following MCP transports. Most AI clients use stdio by default for locally-installed servers.

stdio

From the deja-vu README

<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/vshulcz/deja-vu/main/assets/logo-dark.svg"> <img src="https://raw.githubusercontent.com/vshulcz/deja-vu/main/assets/logo.svg" width="330" alt="deja-vu"> </picture> </p> <p align="center"><strong>Shared local memory, session history search, cross-agent handoff, and code recovery across 52 coding agents.</strong></p> <p align="center"><a href="https://github.com/vshulcz/deja-vu#readme">English</a> | <a href="https://github.com/vshulcz/deja-vu/blob/main/docs/readme/README.zh.md">简体中文</a> | <a href="https://github.com/vshulcz/deja-vu/blob/main/docs/readme/README.zh-TW.md">繁體中文</a> | <a href="https://github.com/vshulcz/deja-vu/blob/main/docs/readme/README.ja.md">日本語<…

Other Model Context Protocol servers in the same space as deja-vu. Each one adds different capabilities to your AI assistant — pick based on the data sources or workflows you need.

Browse the full MCP server directory or use Stork's one-line install to let your agent pick the right server automatically.