What is the Repo Memory MCP server?
Shared, git-tracked working memory for AI agents on the same codebase.
How to install Repo Memory
Copy-paste configuration for popular MCP clients.
transport: stdio
Config generated by PluginBench — verify against the source before use.Environment / auth
REPO_MEMORY_ROOTAbsolute path to the repository whose .ai-memory/ to read/write. Defaults to the current working directory.
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"repo-memory": {
"command": "uvx",
"args": [
"repo-memory-mcp"
],
"env": {
"REPO_MEMORY_ROOT": "<YOUR_REPO_MEMORY_ROOT>"
}
}
}
}Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"repo-memory": {
"command": "uvx",
"args": [
"repo-memory-mcp"
],
"env": {
"REPO_MEMORY_ROOT": "<YOUR_REPO_MEMORY_ROOT>"
}
}
}
}Windsurf
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"repo-memory": {
"command": "uvx",
"args": [
"repo-memory-mcp"
],
"env": {
"REPO_MEMORY_ROOT": "<YOUR_REPO_MEMORY_ROOT>"
}
}
}
}VS Code
.vscode/mcp.json
{
"servers": {
"repo-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"repo-memory-mcp"
],
"env": {
"REPO_MEMORY_ROOT": "<YOUR_REPO_MEMORY_ROOT>"
}
}
}
}Claude Code
claude mcp add repo-memory --env REPO_MEMORY_ROOT=<YOUR_REPO_MEMORY_ROOT> -- uvx repo-memory-mcpRelated MCP servers
Three MCP tools: fetch_page, fetch_pages_batch, search_web. Ad-free Markdown for AI agents.
View repository →