What it does
The MCP integration registersgit-why mcp as a local stdio MCP server. Once registered, your coding agent has eight tools available:
Setup
Rungit why setup and select MCP Server from the menu. GitWhy configures the MCP server automatically.
To configure manually, add the following to your agent’s MCP config:
- Claude Code
- Cursor
- Windsurf
- Cline
- Antigravity
- Gemini CLI
- Codex CLI
- Kilo Code
- Kiro
- OpenCode
- GitHub Copilot
Run this in your terminal:To install globally (all projects):Verify it was added:
How the agent uses MCP tools
Once configured, the agent calls GitWhy tools directly. You don’t need to tell it to use the CLI. Checking status:gitwhy_get on any result to read the full context.
Retrieving a context:
Verify the server is running
See also
- Skill files — pair with MCP for format guidance
- Team Sync — share contexts with your team
- PR Comments — post context to pull requests
- CLI Reference — the CLI equivalent commands