integrations/git-mcp
Git MCP mcp
Status, diffs, log and commits on one local Git repository, named on the command line.
Third-party software. Forgeprint hosts none of this code: it is an installation recipe for a project somebody else publishes and maintains. Review the permissions below before installing.
Upstream
| Project | modelcontextprotocol/servers/tree/main/src/git |
|---|---|
| Pinned at | 2026.8.18 |
| Verified on | 2026-09-24 |
What it can reach
Reads the history, diffs and working tree of the repository passed with --repository, and writes to it: stages files, commits, unstages, creates and switches branches. It does not push.
It needs no secret.
Install
Claude Code
claude mcp add-json git '{"command":"uvx","args":["mcp-server-git==2026.8.18","--repository","/path/to/repo"]}'
Codex CLI
codex mcp add git -- uvx mcp-server-git==2026.8.18 --repository /path/to/repo
Gemini CLI
gemini mcp add git uvx mcp-server-git==2026.8.18 --repository /path/to/repo
Only agents whose command syntax has been verified are listed. A missing agent is one nobody has confirmed, not one that does not work.