agent memory for Grok
io.github.theprodsde/agent-memory
Persistent agent memory with a decision layer: replay, restore, verify, or none — explainable.
client:Grok
transport:stdio
runtime:pypi
Install agent memory in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"agent-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"agent-memory-sdk"
],
"env": {
"AGENT_MEMORY_DIR": "<AGENT_MEMORY_DIR>",
"AGENT_MEMORY_COLLECTION": "<AGENT_MEMORY_COLLECTION>"
}
}
}
}
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