git mcp server for Grok
io.github.ray0907/git-mcp-server
MCP server for GitLab and GitHub
client:Grok
transport:stdio
runtime:npm
Install git mcp server in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"git-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@raytien/git-mcp-server"
],
"env": {
"GIT_PROVIDER": "<GIT_PROVIDER>",
"GIT_TOKEN": "<GIT_TOKEN>",
"GIT_API_URL": "<GIT_API_URL>",
"GIT_READ_ONLY": "<GIT_READ_ONLY>"
}
}
}
}
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