Git-native project memory for coding agents stored as Markdown in the repo, with reviewable staged updates, branch awareness and secret/PII safety.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add agent-memory -- npx -y @xchucx/agent-memory~/.codex/config.toml
[mcp_servers.agent-memory]
command = "npx"
args = ["-y", "@xchucx/agent-memory"]
# codex mcp add agent-memory -- npx -y @xchucx/agent-memory~/.cursor/mcp.json
{
"mcpServers": {
"agent-memory": {
"command": "npx",
"args": [
"-y",
"@xchucx/agent-memory"
]
}
}
}.vscode/mcp.json
{
"servers": {
"agent-memory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@xchucx/agent-memory"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"agent-memory": {
"command": "npx",
"args": [
"-y",
"@xchucx/agent-memory"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"agent-memory": {
"command": "npx",
"args": [
"-y",
"@xchucx/agent-memory"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"agent-memory": {
"command": "npx",
"args": [
"-y",
"@xchucx/agent-memory"
]
}
}
}