The Git MCP Server provides AI agents with 28 Git tools organized across repository management, staging, commits, history inspection, branching, merging, and remote operations, enabling programmatic control of Git workflows through both STDIO and HTTP interfaces. It includes a resource for accessing repository information and a prompt for changelog analysis, solving the problem of integrating Git version control capabilities directly into AI agent applications. The server supports common Git operations such as cloning, committing, branching, merging, rebasing, and inspecting commit history, allowing agents to autonomously manage code repositories.
claude mcp add --transport stdio cyanheads-git-mcp-server uvx git-mcp-server