MCP Server Studio
Local-first shared memory for multiple AI agents that compounds with use; Markdown + git, MCP + CLI.
Registry name: io.github.chinwe/compound-memory
Add to claude_desktop_config.json:
{
"mcpServers": {
"compound-memory": {
"command": "uvx",
"args": [
"compound-memory==0.5.12"
],
"env": {
"COMPOUND_MEMORY_ROOT": "<COMPOUND_MEMORY_ROOT>",
"COMPOUND_MEMORY_AGENT_ID": "<COMPOUND_MEMORY_AGENT_ID>"
}
}
}
}Run in your terminal:
claude mcp add compound-memory -e COMPOUND_MEMORY_ROOT='<COMPOUND_MEMORY_ROOT>' -e COMPOUND_MEMORY_AGENT_ID='<COMPOUND_MEMORY_AGENT_ID>' -- uvx compound-memory==0.5.12Add to .cursor/mcp.json:
{
"mcpServers": {
"compound-memory": {
"command": "uvx",
"args": [
"compound-memory==0.5.12"
],
"env": {
"COMPOUND_MEMORY_ROOT": "<COMPOUND_MEMORY_ROOT>",
"COMPOUND_MEMORY_AGENT_ID": "<COMPOUND_MEMORY_AGENT_ID>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"compound-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"compound-memory==0.5.12"
],
"env": {
"COMPOUND_MEMORY_ROOT": "<COMPOUND_MEMORY_ROOT>",
"COMPOUND_MEMORY_AGENT_ID": "<COMPOUND_MEMORY_AGENT_ID>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"compound-memory": {
"command": "uvx",
"args": [
"compound-memory==0.5.12"
],
"env": {
"COMPOUND_MEMORY_ROOT": "<COMPOUND_MEMORY_ROOT>",
"COMPOUND_MEMORY_AGENT_ID": "<COMPOUND_MEMORY_AGENT_ID>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
COMPOUND_MEMORY_ROOT | No | Store root directory. A leading ~ or $HOME/${HOME} is expanded; unset or blank falls back to $HOME/.agents/memory |
COMPOUND_MEMORY_AGENT_ID | No | Stable host agent id (e.g. agent-claude). Required for a multi-agent store: process identity wins over a self-reported source. Unset is only for a single trusted caller; stats.attestation.warning… |