Git (reference, Python)

Key facts

Score
100/100
Tools
14
Token estimate
approx. 1,399 tokens
Auth
No key needed for the tools we called
Tool calls
Pass: 2 of 2 real calls passed (2026-11-12 UTC)
Functional tasks
not rated
Local-model runs
not rated
Last tested
2026-11-12 UTC on version 2026.11.11
Low-token sort
#147 of 375 in Developer platforms · #390 of 927 overall

From our recorded tests only. not rated = we have no recorded data for that field. Tool calls are direct calls with no model in the loop; functional tasks and local-model runs are separate, smaller test sets and are not scored. Evidence for each line is below (what we tested · methodology).

100/100
Last tested 2026-11-12 UTC (Fresh: tested within 30 days) Working (tool call tested 2026-11-12 UTC) No key needed for the tools we called ↻ Tools changed (non-breaking) 2026-11-12 UTC

Security fix released: fixed in 2026.11.11 (advisory published 2026-11-11 UTC)

Security review: not tested

Score = points from our five tests (install, handshake, maintenance, docs, license). Not a quality or security rating. Methodology

  • Install20/20
  • Handshake30/30
  • Maintenance25/25
  • Docs15/15
  • License10/10

Retested 2026-11-12 UTC on mcp-server-git==2026.11.11. The server needs Git 2.31 or later. Windows directory junctions are not yet covered (the vendor says a follow-up release will fix that).
Tool-call test (2026-11-12 UTC, direct MCP stdio client, no LLM): pass. 2 of 2 calls passed in the 2026-11-12 UTC fixed-in retest. Evidence: local test run, Nov 12, 2026 UTC.

Transport (tested 2026-10-22 UTC): stdio

Tested version: 2026.11.11 · tested 2026-11-12 UTC

Token cost (estimate): approx. 1399 tokens, cl100k estimate (14 tools, measured 2026-11-12 UTC, version 2026.11.11). This is an estimate from our testing of the tool names, descriptions and input schemas, counted with cl100k_base.

Permissions: 8 read, 6 write (state-changing), 0 unclassified · Auth: none · Rate limit: unknown · Pricing unit: unknown

Auth: none. Rate limit: unknown. Pricing unit: unknown.

  • git_add — write (state-changing)
  • git_branch — read
  • git_checkout — write (state-changing)
  • git_commit — write (state-changing)
  • git_create_branch — write (state-changing)
  • git_diff — read
  • git_diff_staged — read
  • git_diff_unstaged — read
  • git_log — read
  • git_merge — write (state-changing)
  • git_remote — read
  • git_reset — write (state-changing)
  • git_show — read
  • git_status — read

handshake and tools listed without a recorded key or OAuth

Score 100/100 · Tools 14 · Token cost approx. 1,399 tokens · Compare · Last tested 2026-11-12 UTC · Version tested 2026.11.11 · Package mcp-server-git · Repo modelcontextprotocol/servers

Summary: Git (reference, Python) completed an MCP handshake without credentials and exposed 14 tools.

Evidence summary

Handshake
pass
Tools listed
14
Context cost
approx. 1399 tokens, cl100k estimate (14 tools, measured 2026-11-12 UTC, version 2026.11.11; an estimate) ranking · add up your servers' context cost
API key
No key needed for the tools we called
Tested
2026-11-12 UTC

Test results

TestResultPointsEvidence
installpass20uv pip install mcp-server-git (Python venv, Linux) succeeded in 1s.
handshakepass30MCP initialize + tools/list over stdio succeeded with no credentials; 14 tools listed in 7.9s.
maintenancepass25Repo pushed 2 days before test; 91,914 GitHub stars.
docspass15README over 3,000 chars; install instructions present; mcpServers config example present. Check of the package's own README (PyPI long_description (package README)).
licensepass10MIT (OSI-approved).

Local-model readiness

Token cost (estimate): approx. 1399 tokens, cl100k estimate for 14 tools · about 17% of an 8k context. This is an estimate from our testing (counted with cl100k_base).

Small-model friendly (schema heuristic, not a model result): high.

Not tested

Small-model task runs: Not yet tested.

What we tested and what we didn't

Tested on 2026-11-12 UTC

  • Install from the registry
  • We connected with no credentials and asked for its tool list: it listed 14 tools (Method details: MCP initialize then tools/list)
  • Maintenance signals (last push, archived/deprecated status)
  • Docs (README length, install and config example)
  • License (OSI-approved or not)
  • Tool-call test: 2 of 2 passed (2026-11-12 UTC)
  • Token cost (estimate)

Not tested

  • Security: not audited (no code review, no permission or data-flow analysis)
  • Real tasks (no functional task runs yet)
  • Behaviour with real credentials or a real account
  • Performance, rate limits or load
  • Correctness of results beyond the listed tasks
  • Small local-model task runs (not run for this server)

Methodology: how we test. A high score means it installs and responds, not that giving it access to your data carries no risk.

Known security issues

Security fix released: GHSA-6hqx-gqrx-c5r2 (high) and GHSA-q74p-4wrc-q7w6 (moderate). Fixed in 2026.11.11 (advisory published 2026-11-11 UTC). The server needs Git 2.31 or later. Windows directory junctions are not yet covered (the vendor says a follow-up release will fix that).

Checked on 2026-11-23 UTC for version 2026.11.11 against OSV, GitHub advisories, GitHub repository advisories. Scope: the package itself; dependencies not scanned.

No published advisories found in OSV and GitHub advisories whose affected range includes mcp-server-git 2026.11.11 as of 2026-11-23 UTC. This is not a security audit.

Other advisories we checked (4)

⚠ Check is out of date.

Monthly roundup: MCP security issues, October 2026.

Tool list changes ↻ Tools changed (non-breaking) 2026-11-12 UTC

Tool list changed since last test (2026-11-12 UTC → 2026-11-14 UTC): 1 input schema changed: git_log. Confirmed by a re-run with the same arguments.

Show the diff
  • Changed schema: git_log
Snapshot hash (fingerprint of the tool list)

cc8e8e7ec6d2: SHA-256 of the canonical tool names, descriptions and input schemas. If it changes, the tool list changed.

Feeds: RSS · JSON.

Raw test record (JSON)
{
  "name": "mcp-server-git",
  "version": "2026.11.11",
  "registry": "pypi",
  "status": "working",
  "tested": "2026-11-12",
  "tools_count": 14,
  "deprecated": false,
  "archived": false,
  "tests": {
    "install": [
      "pass",
      20,
      "`uv pip install mcp-server-git` (Python venv, Linux) succeeded in 1s."
    ],
    "handshake": [
      "pass",
      30,
      "MCP `initialize` + `tools/list` over stdio succeeded with no credentials; 14 tools listed in 7.9s."
    ],
    "maintenance": [
      "pass",
      25,
      "Repo pushed 2 days before test; 91,914 GitHub stars."
    ],
    "docs": [
      "pass",
      15,
      "README over 3,000 chars; install instructions present; `mcpServers` config example present. Check of the package's own README (PyPI long_description (package README))."
    ],
    "license": [
      "pass",
      10,
      "MIT (OSI-approved)."
    ]
  },
  "testedAt": "2026-11-12T14:23:21.000Z"
}

Install

uvx mcp-server-git --repository <path-to-repo>

Pin the version we tested

uvx mcp-server-git==2026.11.11 --repository <path-to-repo>

pip install mcp-server-git==2026.11.11

tested 2026-11-12 UTC. Newer versions may differ and were not tested by us.

{
  "mcpServers": {
    "git-reference-python": {
      "command": "uvx",
      "args": [
        "mcp-server-git==2026.11.11",
        "--repository",
        "<path-to-repo>"
      ]
    }
  }
}

Tools listed

git_add, git_branch, git_checkout, git_commit, git_create_branch, git_diff, git_diff_staged, git_diff_unstaged, git_log, git_merge, git_remote, git_reset, git_show, git_status

Tool history: captured Nov 14, 2026 UTC. All tool history.

Quick config

{
  "mcpServers": {
    "git-reference-python": {
      "command": "uvx",
      "args": [
        "mcp-server-git",
        "--repository",
        "<path-to-repo>"
      ]
    }
  }
}

Add to config Opens the config generator with this server selected.

Setup

  1. Install. Run uv pip install mcp-server-git (Python venv). This is the exact command we ran on 2026-11-12 UTC.
  2. Configure. Add the mcpServers entry below to your MCP client config.
  3. Verify. Restart the client and check that tools/list returns tools (14 in our test).
{
  "mcpServers": {
    "git-reference-python": {
      "command": "uvx",
      "args": [
        "mcp-server-git",
        "--repository",
        "<path-to-repo>"
      ]
    }
  }
}

Test history

Follow this server (RSS) · Monthly changelog

Related: Best Git and GitHub MCP servers · Best dev MCP servers · Best official reference MCP servers

FAQ

Is Git (reference, Python) deprecated?

No. Git (reference, Python) was not deprecated or archived when we last tested it on 2026-11-12 UTC.

What replaces Git (reference, Python)?

Nothing; Git (reference, Python) is not deprecated as of 2026-11-12 UTC.

Does Git (reference, Python) need an API key?

No. It completed an MCP handshake with no credentials and listed 14 tools.

Embed the badge

TestedMCP: 100/100, tested 2026-11-12 UTC

Every tested server gets a free embeddable badge. It shows the current score and test date and expires after 90 days. Testing is free; payment never changes a score.

Claim this listing · Report an issue