git mcp server for Claude Desktop
io.github.ray0907/git-mcp-server
MCP server for GitLab and GitHub
client:Claude Desktop
transport:stdio
runtime:npm
Install git mcp server in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"git-mcp-server": {
"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>"
}
}
}
}
Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs