Skip to content
Grok

memory for Grok

com.cortex-mem/memory

Shared, persistent memory for AI agents — works with Claude, Kiro, Cursor, or any MCP client.

client:Grok transport:stdio runtime:npm

Install memory in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "memory": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "cortex-memory-mcp"
      ]
    }
  }
}

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

memory in other clients