Cairn for Grok
io.github.jasondostal/cairn-mcp
Persistent memory for AI agents and humans. Store, search, and discover patterns.
client:Grok
transport:stdio
runtime:oci
Install Cairn in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"cairn-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/jasondostal/cairn-mcp:0.21.2"
],
"env": {
"CAIRN_DB_HOST": "<CAIRN_DB_HOST>",
"CAIRN_DB_PASS": "<CAIRN_DB_PASS>",
"CAIRN_TRANSPORT": "<CAIRN_TRANSPORT>",
"CAIRN_LLM_BACKEND": "<CAIRN_LLM_BACKEND>"
}
}
}
}
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