GitWhy — The Context Layer for Git for Cursor
io.github.gitwhy-cli/gitwhy
The shared AI context engine for git — save, search, and share the reasoning behind code changes.
client:Cursor
transport:stdio
runtime:npm
Install GitWhy — The Context Layer for Git in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"gitwhy": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gitwhy-mcp"
],
"env": {
"GITWHY_API_KEY": "<GITWHY_API_KEY>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs