Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-munhq-chat-recall": {
"command": "npx",
"args": [
"-y",
"chat-recall"
],
"env": {
"CHAT_RECALL_SERVER": "<VALUE>",
"CHAT_RECALL_MCP_PROFILE": "lean",
"CHAT_RECALL_NO_DAEMON": "<VALUE>",
"CHAT_RECALL_DAEMON_IDLE_SECS": "<VALUE>",
"ADMIN_KEY": "<VALUE>",
"DATABASE_URL": "<VALUE>",
"SUMMARY_CLI_CMD": "<VALUE>",
"ANTHROPIC_API_KEY": "<VALUE>",
"POSTGRES_PASSWORD": "<VALUE>",
"CHAT_RECALL_AGY_HOME": "<VALUE>",
"CHAT_RECALL_CODEX_HOME": "<VALUE>",
"CHAT_RECALL_CLAUDE_HOME": "<VALUE>",
"CHAT_RECALL_CURSOR_HOME": "<VALUE>",
"CHAT_RECALL_GEMINI_HOME": "<VALUE>",
"CHAT_RECALL_OPENCODE_DB": "<VALUE>",
"CHAT_RECALL_CURSOR_IDE_HOME": "<VALUE>"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-munhq-chat-recall": {
"command": "npx",
"args": [
"-y",
"chat-recall"
],
"env": {
"CHAT_RECALL_SERVER": "<VALUE>",
"CHAT_RECALL_MCP_PROFILE": "lean",
"CHAT_RECALL_NO_DAEMON": "<VALUE>",
"CHAT_RECALL_DAEMON_IDLE_SECS": "<VALUE>",
"ADMIN_KEY": "<VALUE>",
"DATABASE_URL": "<VALUE>",
"SUMMARY_CLI_CMD": "<VALUE>",
"ANTHROPIC_API_KEY": "<VALUE>",
"POSTGRES_PASSWORD": "<VALUE>",
"CHAT_RECALL_AGY_HOME": "<VALUE>",
"CHAT_RECALL_CODEX_HOME": "<VALUE>",
"CHAT_RECALL_CLAUDE_HOME": "<VALUE>",
"CHAT_RECALL_CURSOR_HOME": "<VALUE>",
"CHAT_RECALL_GEMINI_HOME": "<VALUE>",
"CHAT_RECALL_OPENCODE_DB": "<VALUE>",
"CHAT_RECALL_CURSOR_IDE_HOME": "<VALUE>"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-munhq-chat-recall": {
"command": "npx",
"args": [
"-y",
"chat-recall"
],
"env": {
"CHAT_RECALL_SERVER": "<VALUE>",
"CHAT_RECALL_MCP_PROFILE": "lean",
"CHAT_RECALL_NO_DAEMON": "<VALUE>",
"CHAT_RECALL_DAEMON_IDLE_SECS": "<VALUE>",
"ADMIN_KEY": "<VALUE>",
"DATABASE_URL": "<VALUE>",
"SUMMARY_CLI_CMD": "<VALUE>",
"ANTHROPIC_API_KEY": "<VALUE>",
"POSTGRES_PASSWORD": "<VALUE>",
"CHAT_RECALL_AGY_HOME": "<VALUE>",
"CHAT_RECALL_CODEX_HOME": "<VALUE>",
"CHAT_RECALL_CLAUDE_HOME": "<VALUE>",
"CHAT_RECALL_CURSOR_HOME": "<VALUE>",
"CHAT_RECALL_GEMINI_HOME": "<VALUE>",
"CHAT_RECALL_OPENCODE_DB": "<VALUE>",
"CHAT_RECALL_CURSOR_IDE_HOME": "<VALUE>"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-munhq-chat-recall": {
"command": "npx",
"args": [
"-y",
"chat-recall"
],
"env": {
"CHAT_RECALL_SERVER": "<VALUE>",
"CHAT_RECALL_MCP_PROFILE": "lean",
"CHAT_RECALL_NO_DAEMON": "<VALUE>",
"CHAT_RECALL_DAEMON_IDLE_SECS": "<VALUE>",
"ADMIN_KEY": "<VALUE>",
"DATABASE_URL": "<VALUE>",
"SUMMARY_CLI_CMD": "<VALUE>",
"ANTHROPIC_API_KEY": "<VALUE>",
"POSTGRES_PASSWORD": "<VALUE>",
"CHAT_RECALL_AGY_HOME": "<VALUE>",
"CHAT_RECALL_CODEX_HOME": "<VALUE>",
"CHAT_RECALL_CLAUDE_HOME": "<VALUE>",
"CHAT_RECALL_CURSOR_HOME": "<VALUE>",
"CHAT_RECALL_GEMINI_HOME": "<VALUE>",
"CHAT_RECALL_OPENCODE_DB": "<VALUE>",
"CHAT_RECALL_CURSOR_IDE_HOME": "<VALUE>"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-munhq-chat-recall": {
"command": "npx",
"args": [
"-y",
"chat-recall"
],
"env": {
"CHAT_RECALL_SERVER": "<VALUE>",
"CHAT_RECALL_MCP_PROFILE": "lean",
"CHAT_RECALL_NO_DAEMON": "<VALUE>",
"CHAT_RECALL_DAEMON_IDLE_SECS": "<VALUE>",
"ADMIN_KEY": "<VALUE>",
"DATABASE_URL": "<VALUE>",
"SUMMARY_CLI_CMD": "<VALUE>",
"ANTHROPIC_API_KEY": "<VALUE>",
"POSTGRES_PASSWORD": "<VALUE>",
"CHAT_RECALL_AGY_HOME": "<VALUE>",
"CHAT_RECALL_CODEX_HOME": "<VALUE>",
"CHAT_RECALL_CLAUDE_HOME": "<VALUE>",
"CHAT_RECALL_CURSOR_HOME": "<VALUE>",
"CHAT_RECALL_GEMINI_HOME": "<VALUE>",
"CHAT_RECALL_OPENCODE_DB": "<VALUE>",
"CHAT_RECALL_CURSOR_IDE_HOME": "<VALUE>"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-munhq-chat-recall": {
"command": "npx",
"args": [
"-y",
"chat-recall"
],
"env": {
"CHAT_RECALL_SERVER": "<VALUE>",
"CHAT_RECALL_MCP_PROFILE": "lean",
"CHAT_RECALL_NO_DAEMON": "<VALUE>",
"CHAT_RECALL_DAEMON_IDLE_SECS": "<VALUE>",
"ADMIN_KEY": "<VALUE>",
"DATABASE_URL": "<VALUE>",
"SUMMARY_CLI_CMD": "<VALUE>",
"ANTHROPIC_API_KEY": "<VALUE>",
"POSTGRES_PASSWORD": "<VALUE>",
"CHAT_RECALL_AGY_HOME": "<VALUE>",
"CHAT_RECALL_CODEX_HOME": "<VALUE>",
"CHAT_RECALL_CLAUDE_HOME": "<VALUE>",
"CHAT_RECALL_CURSOR_HOME": "<VALUE>",
"CHAT_RECALL_GEMINI_HOME": "<VALUE>",
"CHAT_RECALL_OPENCODE_DB": "<VALUE>",
"CHAT_RECALL_CURSOR_IDE_HOME": "<VALUE>"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| CHAT_RECALL_SERVER | No | Server to sync to. Defaults to the hosted service at https://chatrecall.dev; set it to your own instance to self-host. Self-hosting is free for one person. |
| CHAT_RECALL_MCP_PROFILE | No | Which tools to register: "lean" (default, 33 tools — tool choice degrades as the list grows) or "full" (all 68 tools, plus recall_help — a directory of the rest; 4 code-intelligence tools register only with the codeindex companion on PATH). Every tool works when called by name either way. Default: lean |
| CHAT_RECALL_NO_DAEMON | No | Set to 1 to load the whole server inside each session. By default every session with the same profile and server shares one background daemon, and each session is a thin relay onto it — the engine is loaded once per machine instead of once per session. Turn it off for a sandbox with no writable runtime directory. |
| CHAT_RECALL_DAEMON_IDLE_SECS | No | Seconds with no session attached before the shared daemon exits and returns its memory. Default 900. Set 0 to keep it resident. |
| ADMIN_KEY | No | Administrator key for self-hosted server, typically generated with `openssl rand -hex 24` and stored in .env |
| DATABASE_URL | No | Connection string for an external Postgres 16+ database when not using the bundled Postgres |
| SUMMARY_CLI_CMD | No | Command for a CLI that the user is already logged into, used as an optional backend for AI summaries |
| ANTHROPIC_API_KEY | No | Anthropic API key used as an optional backend for AI summaries |
| POSTGRES_PASSWORD | No | Password for the bundled Postgres database used in self-hosted docker compose |
| CHAT_RECALL_AGY_HOME | No | Override the default path for Antigravity transcript storage |
| CHAT_RECALL_CODEX_HOME | No | Override the default path for Codex transcript storage |
| CHAT_RECALL_CLAUDE_HOME | No | Override the default path for Claude Code transcript storage |
| CHAT_RECALL_CURSOR_HOME | No | Override the default path for Cursor CLI transcript storage |
| CHAT_RECALL_GEMINI_HOME | No | Override the default path for Gemini CLI transcript storage |
| CHAT_RECALL_OPENCODE_DB | No | Override the default path to the OpenCode SQLite database |
| CHAT_RECALL_CURSOR_IDE_HOME | No | Override the default path for Cursor IDE transcript storage |