Skip to content
Grok

Project Brain for Grok

io.github.gentleelephant/project-brain

Read-only source search and retrieval across configured GitHub repositories

client:Grok transport:stdio runtime:oci

Install Project Brain 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": {
    "project-brain": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/gentleelephant/project-brain:v2.0.3"
      ],
      "env": {
        "PROJECT_BRAIN_REPO_LIST": "<PROJECT_BRAIN_REPO_LIST>",
        "PROJECT_BRAIN_STATE_DIR": "<PROJECT_BRAIN_STATE_DIR>",
        "PB_GITHUB_TOKEN": "<PB_GITHUB_TOKEN>",
        "PB_FETCH_TTL": "<PB_FETCH_TTL>"
      }
    }
  }
}

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

Project Brain in other clients