Skip to content
Grok

cortex for Grok

io.github.danielblomma/cortex

Local repo context for coding assistants with semantic search and graph relationships.

client:Grok transport:stdio runtime:npm

Install cortex in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "cortex": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@danielblomma/cortex-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

cortex in other clients