True LLMs / Version control

Git MCP Server

Official MCP reference server for Git repository interaction and automation — status, diff, commit, add, reset, log, branch, and checkout tools operating on a local repository.

Data verified Aug 24, 2026

01 / Source

Author

Model Context Protocol steering group

Repository stars

89.9K

Repo last pushed

Aug 28, 2026

Stars and last-push date are the whole repository's (modelcontextprotocol/servers) — this server is one of several in that repo, at src/git.

gitlocalreference-server

02 / Setup

Auth

None — local process, scoped to a repo_path argument per call

Environment variables

None

Config (mcpServers block)

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

From the server's own docs — the exact command and args it documents for local/stdio use.

03 / Permissions

What installing this server actually grants access to, as documented by its own source — not True LLMs' assessment.

Local Git repository (path passed per call)Read / Write

From the source's own docs

  • Write tools include git_commit, git_add, git_reset, git_create_branch, and git_checkout — this server can alter repository history and working state, not just read it.
  • The server's own docs describe it as being in early development, with tools subject to change.

04 / Compatibility

Scope: compatibility below is what each skill's own source states, not an independent test — True LLMs hasn't run these against live agents yet. Marked confirmed by source where the repo says so, untested everywhere else.

Confirmed by source
0 of 8
Fact
Claude Codeuntested
Claude.aiuntested
Codexuntested
Command Codeuntested
Cursoruntested
OpenCodeuntested
Windsurfuntested
GitHub Copilotuntested
ShareShare on X →