Git for Claude Desktop
io.github.abhishekkumar2021/git
Local Git via MCP: status, log, diff, file history, branches, and gated stage/commit. Pure-JS.
client:Claude Desktop
transport:stdio
runtime:npm
Install Git in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"git": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/git"
],
"env": {
"GIT_ROOTS": "<GIT_ROOTS>",
"GIT_WRITABLE": "<GIT_WRITABLE>"
}
}
}
}
Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs