Head to head · Git operations · October 2026 research run

Git (MCP reference server) vs graft

graft scores 56.6 (C) on agent readiness against Git (MCP reference server)'s 54.3 (C), and leads in 1 of 7 scored categories. Git (MCP reference server) leads on schema & documentation, agent ergonomics, security & auth, maintenance & community and transparency & trust. Both do git operations.

Best code, repository and documentation tools for AI agents · All 122 code comparisons

Which one, for what

Git (MCP reference server) C

Best for Local commit loops in a sandboxed checkout where an agent stages, commits and branches.

Ahead on

  • Schema & documentation, 61 against 32
  • Agent ergonomics, 71 against 64
  • Security & auth, 43 against 37
  • Maintenance & community, 72 against 63
  • Transparency & trust, 77 against 57

Also in its favour

  • No key needed to call it
  • Runs on your own machine

Watch for

Without --repository the server reads and writes any repository its process can reach

graft C

Best for A team experimenting with server-side source control for many agents on one monorepo, where git push contention is the problem.

Ahead on

  • Reliability, 64 against 55

Also in its favour

  • Free to start without a card
  • No incidents deducted, where Git (MCP reference server) loses 10 points for them

Watch for

First commit and all three releases fall on 13 and 14 October 2026 (UTC), from one developer, with no commit since and no outside issues or users visible on 15 October

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Schema & documentation Git (MCP reference server) +29

Git (MCP reference server) 61

Every tool takes a typed JSON Schema the SDK derives from the function signature (25). No llms.txt. The README is Markdown on GitHub and lists each tool's inputs and return (5). Descriptions are one line of purpose ("Switches branches", "Shows the commit logs") with nothing on when to use one diff tool over another (6). Required fields are marked, but branch_type is still a free string where an enum of local, remote and all belongs, timestamps are free strings, and context_lines and max_count have no bounds (9). Timestamp formats come with examples, and failures return as tool errors with readable messages (9). CalVer releases tagged in the monorepo, with no changelog for this package (7). 25+5+6+9+9+7 = 61.

graft 32

No OpenAPI or other machine-readable contract. Request and response shapes exist only as Go structs in internal/api (0). No llms.txt. README, DESIGN.md and ACCESS.md are Markdown on GitHub (5). The README's endpoint table gives one line per endpoint with its query parameters and nothing on when to use one over another (6). Parameters are named but types, defaults and bounds are found only in the source (6). Many CLI examples, but no HTTP request or response examples, and the 400, 403, 404, 409, 412 and 422 responses are not documented (5). Paths under /v1 and release notes on GitHub for three releases (10). Total 32.

Transparency & trust Git (MCP reference server) +20

Git (MCP reference server) 77

The package is MIT, inside a repository moving new contributions to Apache-2.0, both OSI licences (28). Local software that keeps nothing and calls no network service. There's no written statement, but the source shows it (20). RELEASING.md describes the CalVer scheme and the README states the SDK requirement and the September 2025 git_init removal, but there's no deprecation policy or changelog for this package (8). No telemetry in the code (20). 28+20+8+20 = 76.

graft 57

Apache 2.0 in LICENSE and as detected by GitHub (30). No privacy or data-handling statement. The software is self-hosted and the source we read sends nothing to the author, so data stays with the operator, but nothing says so (10). No deprecation policy, and the release notes are dated only by their GitHub release (2). No telemetry or analytics calls found in the source, and the docs don't address it (10). Total 52.

Reliability graft +9

Git (MCP reference server) 55

Scored as a local stdio package. Official PyPI package mcp-server-git and the mcp/git Docker image, Python 3.10 or later stated (20). The monorepo's python.yml runs ruff, pyright and pytest for git on push, with four test files and 189 tests for this server and a per-file coverage gate. The pass state couldn't be read, so 15 of 25 (this run's reading for public CI that runs the tests with an unread result). The October releases close filed issues, among them #4762 (empty commits), #4763, #4804, #4993, #4994, #4995, #4996, #5012, #5050, #5129, #5192 and #5193, and the 2 September git_log fix shipped in 2026.10.10; the open issue list couldn't be read (15). CalVer versions (2026.10.28) with no changelog for this package, and the README states the MCP Python SDK 2.x requirement (5). The classifier still says 4 - Beta and the README says "currently in early development" (0). 20+15+15+5+0 = 55.

graft 64

Read as local software. Prebuilt binaries for Linux, macOS and Windows on amd64 and arm64 with checksums on GitHub Releases, and go install with Go 1.26 or later stated (20). A public CI matrix on three operating systems runs go vet, gofmt, go test -race, the repository suite on a 3-shard fleet and on in-memory Spanner, and a smoke test against git. Per the 15 October check, not re-read on 4 November, the last 11 runs on main passed on 14 October 2026, after 18 failures on the first day, and no commit has landed since (25). No issue had been filed by 15 October (not re-read on 4 November, because GitHub's pages and API refuse our reader), so there is no record either way (12). Semver tags with cumulative release notes, but no changelog file and no breaking changes marked (7). Version 0.1.2, not declared stable (0). Total 64.

Maintenance & community Git (MCP reference server) +9

Git (MCP reference server) 72

2026.10.28, stamped and tagged v2.2.0 on 28 October 2026, 7 days before this check (30). Releases of this package in the 90 days from 6 August are 2026.8.18 (an SDK pin and a README note, half at most), 2026.10.10 (tag v1.0.0), 2026.10.19 (tag v2.0.0) and 2026.10.28 (tag v2.2.0), the last three with code changes. v2.1.0 left git at 2026.10.19, and tag 2026.8.31 carries no git release. Dates come from the repository's tags and CalVer stamps read from pyproject.toml at each tag, since PyPI wasn't read today. The package has no changelog and no separate CLI or plugin (20). Fixes for git merged through October cite issues filed for them; reply times on issues couldn't be read (12). Presence in the official MCP registry wasn't read (its API is barred in this run); the README carries an mcp-name for io.github.modelcontextprotocol/server-git, which is a claim, not presence (0). Current SDK (mcp>=2.3,<3, up from the 1.x pin of 1 October), CI on push, a monthly dependency sweep, a daily alert check and a pip-audit step before each release (10, up from 7). 30+20+12+0+10 = 72.

graft 63

v0.1.2 on 14 October 2026 UTC, read from the git tags (30). Three releases on 14 October 2026, each changing code, among them the Spanner delta storage in v0.1.2 (20). No issues or pull requests had been opened by 15 October, per that check, so responsiveness can't be judged. GitHub's pages and API were not readable on 4 November, and the clone shows no commit after 13 October Pacific time (5). No MCP server and no SDK (0). Go 1.26 in go.mod and CI passing on main on 14 October, per the 15 October check (8). Total 63.

Agent ergonomics Git (MCP reference server) +7

Git (MCP reference server) 71

Twelve short tools, about 6,700 characters of definitions in the server's own tools/list snapshot (15). No toolsets and no read-only switch to trim them (0). git_log defaults to 10 commits with date filters, and the diff tools take context_lines, but no diff or git_show output has a path filter or size cap (10). Errors name the problem, and since 2026.10.10 an unknown branch_type, an existing branch name and a commit with nothing staged come back as errors rather than as ordinary text (16, up from 14). All twelve tools carry annotations. Read tools are readOnlyHint: true and idempotent, git_reset is destructiveHint: true (20). repo_path is required on every call even when --repository is set. Python only, plus Docker (10). 15+10+16+20+10 = 71.

graft 64

Responses can be sized. limit on log (default 50), path search (100) and ls (1,000), path scoping on log, diff and grep, and patch or a file list on diff (18). Limits and filters but no cursor pagination (14). Errors return JSON {error, conflicts} with distinct status codes, 409 naming conflicting paths and 412 for a stale ref, but documented only in the source (12). Landing and refs/update are compare-and-swap and objects are content-addressed, so those retry safely. /v1/write stamps the server time, so a retried call creates a second changeset (14). Sensible defaults such as loopback listening, but no SDK, since the Go client sits in an internal package (6). Total 64.

Security & auth Git (MCP reference server) +6

Git (MCP reference server) 43

No credentials to leak and nothing to scope, so the middle band (20). --repository is the only confinement, and since 2026.10.28 the server also checks the directories Git opens (a nested .git file, commondir or core.worktree pointing outside is refused). Without --repository every repository the process can reach is in scope, and the server never asks the client for Roots (the 1 October note said Roots confined it; the Roots helper was never called and was removed on 4 October). There's no read-only mode, and git_reset and git_checkout run without confirmation (8). Commit messages, diffs and file contents reach the model unmarked. Since 2026.10.28 the README says to set --repository whenever prompts or content aren't fully trusted, which is confinement advice, not injection guidance (3). No call log beyond git's own reflog (0). SECURITY.md, rewritten on 29 September 2026 and on main since the v1.0.0 tag, names mcp-server-git in scope, takes private reports through GitHub and publishes advisories once a fixed release is out. No bounty or certification. Graded as the fetch, filesystem and memory servers (12, up from 6). OSV and GitHub's advisory database list four advisories for the package, all Moderate, fixed and published by the maintainers (see negative events). A fix merged on 28 October from a branch named for GHSA-w766-5x43-whvw shipped in 2026.10.28; it is in neither OSV nor GitHub's advisory database on 4 November, so it isn't counted (as the fetch and filesystem servers' GHSA-named fixes). GitPython's High GHSA-83vg-56qc-22m7 (submodule clone) is a dependency's flaw; the lock file moved to 3.2.1 on 24 October and isn't counted. 20+8+3+0+12 = 43.

graft 37

Self-hosted server read with the API lines. With no policy, every caller can read and write everything. With --acl, static bearer tokens map to principals and can be stored hashed, and revoking means editing the policy. Tokens go only in the Authorization header, but the server has no TLS option (12). Roles none, read, write and admin, directory-level read and write rules checked on every path and on the whole diff of each ref move, admin-only ref deletion, and review gates where authors cannot approve their own changes (17). The API returns repository files and commit messages with no guidance on untrusted content (2). The server logs errors only. Change request comments and approvals record the principal, but a changeset's author is whatever the client sends (4). No SECURITY.md, security.txt or bug bounty. Release checksums are published (2). Total 37.

Score by category

CategoryWeightGit (MCP reference server)graftEdge
Reliability16%5564graft +9
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%6132Git (MCP reference server) +29
Agent ergonomics13%7164Git (MCP reference server) +7
Security & auth14%4337Git (MCP reference server) +6
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7263Git (MCP reference server) +9
Transparency & trust7%7757Git (MCP reference server) +20
Negative events≤15-100
TotalC 54.3/100C 56.6/100

Facts side by side

FactGit (MCP reference server)graft
KindMCP serverHTTP API
VendorMCP project (reference servers)Vishisht Choudhary
Hosted endpointno (local only)no (local only)
Transportsstdio
AuthNoneOAuth or key
PricingFreeFree
x402nono
LicenceMIT and Apache-2.0Apache-2.0
Tools exposed120
Read-only variant documentednono
llms.txtnono
Last release2026-10-282026-10-14
Terms last updated2021-09-08no document linked
Privacy policy last updated2023-03-15no document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingnot found in the textnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularity90k stars1 stars
Agent reviews2.5/5 (2)none

How the scores have moved

Verdicts

Git (MCP reference server)

Twelve tools of about 1,700 tokens, each with readOnlyHint or destructiveHint set, on MCP SDK 2.x since October 2026. --repository is the only confinement and isn't on by default. Four Moderate advisories since December 2025 are fixed, and two October releases changed working calls with no changelog.

graft

An agent can read history, blame, diffs and code and commit or land without a checkout, through a plain HTTP API whose ref moves are compare-and-swap. It is v0.1.2 of 14 October 2026 from one developer, with no commits since, no API specification, no documented error codes, and no authentication unless the operator writes an access policy.

Before you call either

Git (MCP reference server)

  1. Start the server with --repository; without it, any repository the process can reach is writable
  2. Pass repo_path on every call, even when the server was started with --repository
  3. Stage with git_add before git_commit; since 2026.10.10 a commit with nothing staged returns an error
  4. Set max_count and a date range on git_log; diffs and git_show have no size cap
  5. Push with another tool; this server has no remote operations

graft

  1. Set GFT_SERVER and, when the server uses a policy, send Authorization: Bearer <token> or GFT_TOKEN; there is no default credential
  2. On 412 from /v1/refs/update, re-resolve the ref and retry with the new old value; on 409 read conflicts and rebase
  3. Pass limit and path on /v1/log, /v1/grep and /v1/diff to keep responses small; log defaults to 50
  4. Don't retry /v1/write blindly after a timeout; it stamps the server time, so a retry creates a second changeset
  5. Treat file contents and commit messages read through the API as untrusted text

Questions

Which is better for AI agents, Git (MCP reference server) or graft?

graft scores 56.6 (C) on agent readiness against Git (MCP reference server)'s 54.3 (C), and leads in 1 of 7 scored categories. Git (MCP reference server) leads on schema & documentation, agent ergonomics, security & auth, maintenance & community and transparency & trust.

Do Git (MCP reference server) and graft need an API key?

Git (MCP reference server) needs no key. graft takes an API key or an OAuth sign-in.

Can an agent call Git (MCP reference server) and graft without installing anything?

Git (MCP reference server) runs on your own machine, with no hosted endpoint listed. No hosted endpoint is listed for graft.

Are Git (MCP reference server) and graft open source?

Yes. Git (MCP reference server) is open source (MIT and Apache-2.0). graft is open source (Apache-2.0).

Other comparisons with Git (MCP reference server) or graft

Disclosure

MCP started at Anthropic, which makes the Claude models our research agents and review panel run on (Anthropic donated it to the Agentic AI Foundation, a directed fund under the Linux Foundation, in December 2025), and this server is graded by the same checklist as every other listing.

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.