Git for Grok
io.github.modelcontextprotocol/git
Reference server for reading, searching and manipulating local Git repositories: status, diffs, log, commits, branches and checkouts.
client:Grok
transport:stdio
runtime:pypi
tools:12
Install Git in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"git": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-git"
]
}
}
}
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