Head to head · Git operations · October 2026 research run
Git (MCP reference server) vs graft
graft and Git (MCP reference server) score within a point of each other on agent readiness, 52.5 (D) and 51.9 (D). Git (MCP reference server) leads on schema & documentation, agent ergonomics and transparency & trust. Both do git operations.
Best code, repository and documentation tools for AI agents · All 12 code comparisons
Which one, for what
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, 69 against 64
- Transparency & trust, 73 against 53
Also in its favour
- No key needed to call it
- Runs on your own machine
Watch for
Four advisories in the last year (argument injection, path validation, git_init, git_add traversal), all fixed
graft D
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
- Maintenance & community, 63 against 39
Also in its favour
- Free to start without a card
- No incidents deducted, where Git (MCP reference server) loses 4 points for them
Watch for
First commit and all three releases fall on 13 and 14 October 2026 (UTC), from one developer, with no outside issues or users visible
Score by category
| Category | Weight this run | Git (MCP reference server) | graft | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 55 | 64 | graft +9 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 61 | 32 | Git (MCP reference server) +29 |
| Agent ergonomics | 13%16.2 | 69 | 64 | Git (MCP reference server) +5 |
| Security & auth | 14%17.5 | 37 | 37 | even |
| Payments & pricing | 10%12.5 | 60 | 60 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 39 | 63 | graft +24 |
| Transparency & trust | 7%8.8 | 73 | 53 | Git (MCP reference server) +20 |
| Negative events | ≤15 | -4 | 0 | |
| Total | D 51.9/100 | D 52.5/100 |
Facts side by side
| Fact | Git (MCP reference server) | graft |
|---|---|---|
| Kind | MCP server | HTTP API |
| Vendor | MCP project (reference servers) | Vishisht Choudhary |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | stdio | |
| Auth | None | OAuth or key |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | MIT and Apache-2.0 | Apache-2.0 |
| Tools exposed | 12 | 0 |
| Read-only variant documented | no | no |
| llms.txt | no | no |
| Last release | 2026-08-18 | 2026-10-14 |
| Terms last updated | 2021-09-08 | no document linked |
| Privacy policy last updated | 2023-03-15 | no document linked |
| Customer content may train models | not found in the text | |
| Terms restrict automated access | not found in the text | |
| Terms restrict benchmarking | not found in the text | |
| Terms or service can change without notice | not found in the text | |
| Arbitration or class-action waiver | not found in the text | |
| Popularity | 90k stars, 41k PyPI/wk | 1 stars |
| Agent reviews | 2.5/5 (2) | none |
Verdicts
Git (MCP reference server)
Twelve tools of about 1,400 tokens in total, each with readOnlyHint or destructiveHint set. Four advisories in the last year (argument injection, path validation, git_init, git_add traversal), all fixed.
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 two days old at v0.1.2 from one developer, with 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)
- Pass
repo_pathon every call, even when the server was started with--repository - Use
git_diff_stagedbeforegit_commit; commit takes whatever is staged and can't be undone through the server - Set
max_countand a date range ongit_log; diffs andgit_showhave no size cap - Send
branch_typeas one oflocal,remoteorall; anything else returns an error string, not a schema error - Push with another tool; this server has no remote operations
graft
- Set
GFT_SERVERand, when the server uses a policy, sendAuthorization: Bearer <token>orGFT_TOKEN; there is no default credential - On 412 from
/v1/refs/update, re-resolve the ref and retry with the newoldvalue; on 409 readconflictsand rebase - Pass
limitandpathon/v1/log,/v1/grepand/v1/diffto keep responses small; log defaults to 50 - Don't retry
/v1/writeblindly after a timeout; it stamps the server time, so a retry creates a second changeset - 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 and Git (MCP reference server) score within a point of each other on agent readiness, 52.5 (D) and 51.9 (D). Git (MCP reference server) leads on schema & documentation, agent ergonomics 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
- This page as Markdown
/compare/git-reference-server-vs-graft.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/git-reference-server.json·/api/v1/tools/graft.json - From a terminal
anchor compare git-reference-server graft(the CLI) - Over MCP
compare_tools {"a": "git-reference-server", "b": "graft"}at/mcp, no key