Skip to content
Grok

agent memory for Grok

io.github.xchucx/agent-memory

Git-native project memory for AI coding agents: Markdown source of truth, reviewable, secret-safe.

client:Grok transport:stdio runtime:npm

Install agent memory in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "agent-memory": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@xchucx/agent-memory"
      ]
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

agent memory in other clients