Skip to content
Grok

Cortex Memory Engine for Grok

io.github.gambletan/cortex

Local-first AI memory engine — 4-tier memory, people graph, Bayesian beliefs. Encrypted, 62µs.

client:Grok transport:stdio runtime:oci

Install Cortex Memory Engine in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "cortex": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/gambletan/cortex:v1.8.0"
      ]
    }
  }
}

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

Cortex Memory Engine in other clients