Skip to content
Grok

AICortex for Grok

io.github.ikarusmk/aicortex

Self-hosted brain for any LLM: memory, skills, encrypted vault, devices and scheduled jobs.

client:Grok transport:stdio runtime:oci

Install AICortex in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "aicortex": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ikarusmk/aicortex:v2.7.2"
      ],
      "env": {
        "STORAGE_ENCRYPTION_KEY": "<STORAGE_ENCRYPTION_KEY>",
        "OIDC_CONFIG_URL": "<OIDC_CONFIG_URL>",
        "OIDC_CLIENT_ID": "<OIDC_CLIENT_ID>",
        "OIDC_CLIENT_SECRET": "<OIDC_CLIENT_SECRET>",
        "BASE_URL": "<BASE_URL>",
        "JWT_SIGNING_KEY": "<JWT_SIGNING_KEY>"
      }
    }
  }
}

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

AICortex in other clients