Git MCP Server

Official
Developer Tools
stdio

Enable AI agents to interact with local Git repositories. View commit history, create branches, stage and commit changes, view diffs, and manage the Git workflow programmatically.

Quick Install

$ uvx mcp-server-git

Configuration by Client

{
  "mcpServers": {
    "server": {
      "command": "uvx",
      "args": [
        "mcp-server-git",
        "--repository",
        "."
      ]
    }
  }
}

Need a different client? Use the Config Generator for Windsurf, Cline, Antigravity, and more.

Available Tools (6)

git_statusgit_loggit_diffgit_commitgit_branchgit_checkout