Git for Zed
io.github.abhishekkumar2021/git
Local Git via MCP: status, log, diff, file history, branches, and gated stage/commit. Pure-JS.
client:Zed
transport:stdio
runtime:npm
Install Git in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"git": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/git"
],
"env": {
"GIT_ROOTS": "<GIT_ROOTS>",
"GIT_WRITABLE": "<GIT_WRITABLE>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs