Git for Windsurf
io.github.abhishekkumar2021/git
Local Git via MCP: status, log, diff, file history, branches, and gated stage/commit. Pure-JS.
client:Windsurf
transport:stdio
runtime:npm
Install Git in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"git": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/git"
],
"env": {
"GIT_ROOTS": "<GIT_ROOTS>",
"GIT_WRITABLE": "<GIT_WRITABLE>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs