Git MCP
Read and work with local git repositories: log, diff, branches, commits.
Install
# Claude Code claude mcp add git -- uvx mcp-server-git # Cursor / VS Code / Windsurf (mcp.json) "git": { "command": "uvx", "args": ["mcp-server-git"] }
Commands change between releases — if something fails, check the official README.
About Git MCP
Tools for inspecting and manipulating a local git repository — status, diffs, history, branches and commits.
FAQ
What is Git MCP?
Read and work with local git repositories: log, diff, branches, commits.
How do I install Git MCP?
Run: claude mcp add git -- uvx mcp-server-git. Full steps are in the Install section on this page.
Which agents does Git MCP work with?
Claude Code, Claude apps, Cursor, VS Code & Copilot, OpenAI Codex, Gemini CLI, Windsurf.
Is Git MCP free?
Yes. It is open source (See repo).
Alternatives to Git MCP?
GitHub MCP Server, Superpowers, daymade Claude Code Skills, Desktop Commander, Filesystem MCP.