mcp servers · featured

Git MCP Server

Official MCP reference server for Git: status, diff, commit, branch, log. Python via uvx. Early development; tools can change. Requires MCP Python SDK 1.x.
by MCP steering group updated Sep 5, 2026 MIT
← back to shelf
install via your agent of choice
❯ uvx mcp-server-git --repository path/to/git/repo

## what it does

tl;dr: local Git over MCP. The README says early development. Not a hosted GitHub product (the old GitHub MCP in this org is archived).

Install

uvx mcp-server-git --repository path/to/git/repo
{
  "mcpServers": {
    "git": {
      "command": "uvx",
      "args": ["mcp-server-git", "--repository", "path/to/git/repo"]
    }
  }
}

pip: pip install mcp-server-git then python -m mcp_server_git. Docker image name in the README: mcp/git.

SDK note from the README: needs MCP Python SDK 1.x (mcp>=1.29.0,<2). Related: Filesystem MCP, GitHub MCP.

## compatibility

claude-desktop ✓
claude-code ✓
cursor ✓

## exposed tools

→ git_status
→ git_diff_unstaged
→ git_diff_staged
→ git_diff
→ git_commit
→ git_add
→ git_reset
→ git_log
→ git_create_branch
→ git_checkout
→ git_show
→ git_branch

## embed this badge

cache ✓ in cache.directory
![cached](https://cache.directory/badge/git-mcp.svg)