Skip to content
Zed

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "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

Git in other clients