Git (official reference server)

MCP server by modelcontextprotocol · ★ 91.3k (shared repo) · updated yesterday

Developer ToolsMaintainedGrade BOfficialOne-click install

Tools to read, search and manipulate Git repositories (status, diff, log, commit, branches) via LLMs.

Install Git (official reference server)

Choose your AI client and copy the config.

Add to claude_desktop_config.json — macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Then restart Claude. Setup guide

{
  "mcpServers": {
    "git": {
      "command": "uvx",
      "args": [
        "mcp-server-git"
      ]
    }
  }
}
Before you install: Install command taken from the project README. Check the README for any required environment variables.

Related servers