Skip to content
Grok

RepoContext for Grok

io.github.shmindmaster/repocontext

Read-only, commit-pinned repository context for coding agents.

client:Grok transport:stdio runtime:npm

Install RepoContext 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": {
    "repocontext": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@shmindmaster/repocontext"
      ],
      "env": {
        "REPOCONTEXT_REGISTRY": "<REPOCONTEXT_REGISTRY>"
      }
    }
  }
}

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

RepoContext in other clients