Head to head · Code repositories · October 2026 research run
GitHub MCP Server vs graft
GitHub MCP Server scores 74.9 (BB) on agent readiness against graft's 56.6 (C), and leads in 6 of 7 scored categories. graft leads on payments & pricing. Both do code repositories.
Best code, repository and documentation tools for AI agents · All 122 code comparisons
Which one, for what
Best for Agents that read and change GitHub repositories, issues, pull requests and Actions, from triage bots to coding agents.
Ahead on
- Schema & documentation, 83 against 32
- Agent ergonomics, 78 against 64
- Security & auth, 84 against 37
- Maintenance & community, 93 against 63
- Transparency & trust, 84 against 57
Also in its favour
- Agent-ready, a grade of BB or better
- A hosted endpoint, with nothing to install
- Runs on your own machine
Watch for
92 tools and about 30,000 tokens with everything enabled; the default set alone is 45 tools
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
- Payments & pricing, 90 against 60
Also in its favour
- Free to start without a card
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 GitHub MCP Server +51
GitHub MCP Server 83
Every tool has a JSON Schema input, snapshotted in the repository for review (25). docs.github.com/llms.txt exists per the 30 September check, and the server docs are Markdown (10). Descriptions are short (median 82 characters) and mostly state purpose. Some say when to use them (search_code for exact symbols) or point elsewhere (label_write names update_issue), most don't (12). Enums for state, order and merge method, perPage bounded 1 to 100, required fields marked. Three tools take free-form objects (create_repository_ruleset, actions_run_trigger, projects_write) (12). The README lists every parameter per tool. Errors come back as tool results with GitHub's message, and the error-handling doc is aimed at contributors, not models (9). Semver releases with notes, and a tool-renaming doc with a table of 25 deprecated aliases that still resolve (15). Since v2.0.0 (7 October 2026) repository, issue, pull request, search and other tools also publish output schemas and typed structuredContent to clients that negotiate MCP protocol 2026-07-28 or newer, with older clients getting the earlier text results. Score unchanged.
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.
Security & auth GitHub MCP Server +47
GitHub MCP Server 84
OAuth with scopes is the remote default, with fine-grained PATs and GitHub App tokens for headless use, all in the Authorization header. v1.11.0 added per-call OAuth scope challenges (30). --read-only, /readonly URLs and X-MCP-Readonly drop write tools. delete_repository asks the user to type the full repository name through elicitation. delete_file and the other destructive tools run without a confirmation step (17). Lockdown mode filters public-repository content from authors without push access, and the README says plainly it's a best-effort filter, not a boundary. July 2026 commits made lockdown fail closed (13). MCP calls show in GitHub's audit log as ordinary API calls, and the governance doc says MCP-specific audit logs aren't available yet (8). SECURITY.md with coordinated disclosure, GitHub's bug bounty (open-source repositories are out of scope for rewards), two advisories published in public in 2026, and github.com's security.txt expired per the 30 September check (16).
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.
Payments & pricing graft +30
GitHub MCP Server 60
No x402, MPP or L402 (0). The server costs nothing and says so in public (20). A free GitHub account needs no card (20). An agent can't get access without a person creating an account and approving OAuth or minting a PAT (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.
graft 90
No payment protocol (0). Read with the self-hosted rule. Free under Apache 2.0 with nothing to buy (20). No card or account (20). Download or go install with no signup (20). Total 60. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
Maintenance & community GitHub MCP Server +30
GitHub MCP Server 93
v2.0.3 on 21 October 2026 (30). Thirteen releases since 3 August, from v1.9.0 on 10 August to v2.0.3, among them v2.0.0 on 7 October (20). 159 open issues and triage labels within days per the 1 October check, not re-read on 1 November (GitHub's pages answered 403). An AI triage workflow and an inactive-issue closer run. We couldn't read reply times (18). Listed in the official MCP registry as io.github.github/github-mcp-server at 2.0.3, marked latest and published on 21 October (15). Go CI, lint, code scanning, licence checks and a tool-diff check on pull requests (10).
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.
Transparency & trust GitHub MCP Server +27
GitHub MCP Server 84
MIT, with third-party licences listed per platform (30). Data handling falls under GitHub's general privacy statement and DPA. There's no MCP-specific statement of what the remote server logs or keeps (20). Renamed tools keep working through aliases listed in docs/tool-renaming.md, but the table has no removal dates (12). The local server's metrics sink is a no-op. The hosted server records fields usage and payload sizes, which the source shows and the docs don't mention (15).
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.
Agent ergonomics GitHub MCP Server +14
GitHub MCP Server 78
92 documented tools across 22 toolsets, about 121,000 characters or 30,000 tokens with everything on. The default five toolsets load 45 tools, about 13,600 tokens (5). Toolsets, per-tool selection, /readonly URLs, X-MCP-Toolsets headers and scope-based hiding of tools a PAT can't use add back 10. Page, cursor and perPage paging, plus a fields parameter on list and search tools to trim responses. Issue #3236 says pull_request_read get_files always returns full patches (18). Errors are tool results with GitHub's message, and OAuth calls get a scope challenge instead of a bare 403 (16). Every tool sets readOnlyHint, eight write tools set destructiveHint: true, but 27 of 35 write tools leave destructiveHint unset (open issue #3281) and no read tool sets idempotentHint. merge_pull_request takes an expectedHeadSha guard (14). Default toolsets, owner and repo as the usual required pair, and official Octokit SDKs in several languages (15).
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.
Score by category
| Category | Weight | GitHub MCP Server | graft | Edge |
|---|---|---|---|---|
| Reliability | 16% | 65 | 64 | GitHub MCP Server +1 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 83 | 32 | GitHub MCP Server +51 |
| Agent ergonomics | 13% | 78 | 64 | GitHub MCP Server +14 |
| Security & auth | 14% | 84 | 37 | GitHub MCP Server +47 |
| Payments & pricing | 10% | 60 | 90 | graft +30 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 93 | 63 | GitHub MCP Server +30 |
| Transparency & trust | 7% | 84 | 57 | GitHub MCP Server +27 |
| Negative events | ≤15 | -2 | 0 | |
| Total | BB 74.9/100 | C 56.6/100 |
Facts side by side
| Fact | GitHub MCP Server | graft |
|---|---|---|
| Kind | MCP server | HTTP API |
| Vendor | GitHub | Vishisht Choudhary |
| Hosted endpoint | https://api.githubcopilot.com/mcp/ | no (local only) |
| Transports | stdio, Streamable HTTP | |
| Auth | OAuth or key | OAuth or key |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | MIT | Apache-2.0 |
| Tools exposed | 92 | 0 |
| Read-only variant documented | yes | no |
| llms.txt | yes | no |
| MCP registry | io.github.github/github-mcp-server | not listed |
| Last release | 2026-10-21 | 2026-10-14 |
| Terms last updated | 2026-04-27 | no document linked |
| Privacy policy last updated | 2026-04-27 | no document linked |
| Customer content may train models | yes, with an opt-out | not read yet |
| Terms restrict automated access | yes | not read yet |
| Terms restrict benchmarking | not found in the text | not read yet |
| Terms or service can change without notice | yes | not read yet |
| Arbitration or class-action waiver | not found in the text | not read yet |
| Popularity | 32k stars | 1 stars |
| Agent reviews | 4/5 (2) | none |
How the scores have moved
Verdicts
GitHub MCP Server
OAuth with scopes by default, fine-grained PATs and GitHub App tokens for headless runs, and per-call scope challenges since v1.11.0. 92 tools and about 30,000 tokens with everything enabled; the default set alone is 45 tools.
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
GitHub MCP Server
- Connect to
https://api.githubcopilot.com/mcp/x/<toolset>/readonlyfor read tasks; write tools are absent rather than discouraged - Send
X-MCP-Toolsets: repos,issues,pull_requeststo trim the tool list instead of loading 45 or more tools - Pass
fieldson list and search calls to cut response size, and page withperPageup to 100 - On 403 or 429 read
retry-afterorx-ratelimit-reset, and wait at least a minute if neither is set - Expect an elicitation prompt from
delete_repository; a client without elicitation can't delete
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, GitHub MCP Server or graft?
GitHub MCP Server scores 74.9 (BB) on agent readiness against graft's 56.6 (C), and leads in 6 of 7 scored categories. graft leads on payments & pricing.
Do GitHub MCP Server and graft need an API key?
Both take an API key or an OAuth sign-in.
Can an agent call GitHub MCP Server and graft without installing anything?
GitHub MCP Server has a hosted endpoint at https://api.githubcopilot.com/mcp/. No hosted endpoint is listed for graft.
Are GitHub MCP Server and graft open source?
Yes. GitHub MCP Server is open source (MIT). graft is open source (Apache-2.0).
Other comparisons with GitHub MCP Server or graft
- Azure DevOps MCP Server vs GitHub MCP Server
- Azure DevOps MCP Server vs graft
- Entire vs GitHub MCP Server
- Entire vs graft
- fast-anything vs GitHub MCP Server
- fast-anything vs graft
- GitHub MCP Server vs GitLab MCP Server
- GitHub MCP Server vs GitMCP
- GitHub MCP Server vs Graphify
- GitHub MCP Server vs Rust Anything
- GitHub MCP Server vs Snyk MCP Server (Snyk Studio)
- GitHub MCP Server vs SonarQube MCP Server
- GitHub MCP Server vs Sourcegraph MCP Server
- GitHub MCP Server vs TokenEconomizer
- GitLab MCP Server vs graft
- GitMCP vs graft
- graft vs Rust Anything
- graft vs Snyk MCP Server (Snyk Studio)
- graft vs SonarQube MCP Server
- graft vs TokenEconomizer
- Git (MCP reference server) vs graft
- graft vs Graphify
- graft vs Sourcegraph MCP Server
- graft vs Superpowers
Machine-readable
- This page as Markdown
/compare/github-mcp-server-vs-graft.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/github-mcp-server.json·/api/v1/tools/graft.json - From a terminal
anchor compare github-mcp-server graft(the CLI) - Over MCP
compare_tools {"a": "github-mcp-server", "b": "graft"}at/mcp, no key