Git MCP
Read, search, and manipulate Git repositories from your AI agent
How to Install Git MCP
$npx @modelcontextprotocol/server-gitRequires Claude Desktop, Cursor, Windsurf, or another MCP-compatible client.
About Git MCP
The official Git MCP server gives AI agents full access to Git repository operations including reading file contents at any commit, searching commit history, comparing branches, creating commits, and managing branches. It enables agents to perform code archaeology, understand project history, automate release workflows, and make commits — all through natural language. Works with any local or cloned repository.
Git MCP is a Developer Tools MCP server designed for professional engineers and engineering teams. It enables wiring AI assistants into the inner loop of writing and shipping code by exposing Git, package, build, and CLI operations as MCP tools. Key capabilities include git and github operations (status, blame, prs), package and dependency inspection, build and test runner integration, and structured tool calls that work cleanly inside an LLM context. It integrates with Git, GitHub, GitLab, npm, pnpm, Docker, and common build systems, and is best suited for professional engineers and engineering teams who need reviewing diffs and opening prs from chat.
Key Features
- git
- version-control
- developer-tools
- repository
- commits
Pricing
- Core MCP server
- Community support
- Works with any MCP client
- Everything in Free
- Higher usage limits
- Priority support
- Everything in Pro
- SLA & SSO
- Dedicated support
Tier details are indicative — visit the Git MCP website for current pricing.
Pros & Cons
Pros
- Acts more like a pair programmer with real tools
- Tight scoping (one repo, dry-run) limits blast radius
- Keeps flow inside the editor
Cons
- Write operations require explicit guardrails
- Quality of output depends on repo hygiene
- Larger monorepos may need extra filtering
Best For
- Reviewing diffs and opening PRs from chat
- Triaging CI failures
- Scaffolding new packages or modules
- Repo-wide refactors with verification
Screenshots
Screenshots coming soon —
Submit yours →Our Take on Git MCP
Git MCP is a must-have for any developer agent — it gives AI complete read/write access to your version history and source code, enabling automated commits, branch management, and code archaeology.
Alternatives to Git MCP
Connect Claude to GitHub repos, issues and PRs
See how Git MCP compares to GitHub MCP →Let AI read and write files on your local system
See how Git MCP compares to Filesystem MCP →