Memory for Grok
io.github.modelcontextprotocol/server-memory
Reference knowledge-graph memory server. Persists entities, relations and observations so an agent can remember facts across conversations.
client:Grok
transport:stdio
runtime:npm
tools:9
Install Memory in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"server-memory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-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