The MCP Git Server is an official MCP reference server that provides Git repository tooling for MCP-compatible clients.
- Repository:
modelcontextprotocol/servers (official reference servers)
- Common package/runtime:
mcp-server-git (commonly run with uvx)
- Status: Official reference server
- Inspect repository status and history
- Read diffs and commit metadata
- Perform repository operations (implementation-dependent and policy-dependent)
- AI-assisted code review context
- Repository history lookup and change inspection
- Development workflow automation with Git-aware tools
uvx mcp-server-git --repository /path/to/repo
- Restrict repositories to explicit paths
- Prefer read-only usage in shared environments
- Avoid exposing write operations without approval controls