Skip to content
Grok

Git for Grok

io.github.abhishekkumar2021/git

Local Git via MCP: status, log, diff, file history, branches, and gated stage/commit. Pure-JS.

client:Grok transport:stdio runtime:npm

Install Git 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": {
    "git": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@abhishekmcp/git"
      ],
      "env": {
        "GIT_ROOTS": "<GIT_ROOTS>",
        "GIT_WRITABLE": "<GIT_WRITABLE>"
      }
    }
  }
}

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

Git in other clients