MCP server · MCP steering group (reference)
Git
Pick it for local Git work (status, diff, commit, branch) without a hosted account; it can modify the repo.
Tools: 12, ~1,137 tokens of tool definitions loaded into the model's context (default configuration; measured 2026-10-26, v2026.10.19). Compare all servers →
All 12 tools, by token cost
- git_log261
- git_branch191
- git_create_branch95
- git_diff78
- git_diff_unstaged76
- git_show76
- git_add74
- git_diff_staged70
- git_checkout61
- git_commit60
- git_reset48
- git_status47
Install
Run with `uvx mcp-server-git --repository <path>` (see README). Official install docs ↗
Credentials: None
What it can access
Reads and modifies a local Git repository (status, diff, commit, branch).
Details
- Type
- MCP server
- Tasks
- Git & GitHub repos
- Compatible agents
- Claude Desktop, VS Code, GitHub Copilot, Zed (source: clients with a setup heading or install/config instructions in the official README)
- Maintenance
- Latest monorepo release v2.1.0 on 2026-10-25 (mcp-server-git unchanged at 2026.10.19 on PyPI); last commit 2026-10-24 (path-scoped)
- License
- Apache-2.0 for new contributions, MIT for older ones (MCP licensing transition per repo LICENSE)
- Source
- https://github.com/modelcontextprotocol/servers/tree/main/src/git
- Verified on
- 2026-10-26
No independent security audit: entries summarize official sources only. Review permissions and code before installing.
Compared in: Best MCP servers for Git & GitHub repos
Badge for your README (maintainers)
The badge only says it's listed; it is not a security review or an endorsement.