Skip to content
Zed

GitWhy — The Context Layer for Git for Zed

io.github.gitwhy-cli/gitwhy

The shared AI context engine for git — save, search, and share the reasoning behind code changes.

client:Zed transport:stdio runtime:npm

Install GitWhy — The Context Layer for 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": {
    "gitwhy": {
      "command": "npx",
      "args": [
        "-y",
        "gitwhy-mcp"
      ],
      "env": {
        "GITWHY_API_KEY": "<GITWHY_API_KEY>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

GitWhy — The Context Layer for Git in other clients