GR

GitHub Repo MCP

Browses public GitHub repositories: list folders and read file contents, without a token.

🐙 GitHub & code hostingGitHub stars33Updated 2026-09-17By Ryan0204License: MITAuth: None (optional GitHub token for higher limits)GitHub ↗

Test results

Last passed 2026-10-21
Claude CodePassed2026-10-21 · install, connect, tools, agent taskTested with Claude Code 2.1.296 · github-repo-mcp 1.0.3 · connected in 5.6s
CursorPassed2026-10-21 · install, connect, tools, agent taskTested with Cursor CLI 2026.10.19-6bbf2c4 · github-repo-mcp 1.0.3 · connected in 1.6s
Claude DesktopPassed2026-10-18 · install, connect, tools, agent taskTested with Claude Desktop 2.37337.1 (Linux beta) · package version not recorded · connected in 10s
ChatGPT (Codex)Failed2026-10-19 · agent task failed (no successful call to this server's tools; answer missing ['Model Context Protocol servers']; no tool result containing ['Model Context Protocol servers'])Tested with Codex CLI 0.162.0-alpha.17.2 · github-repo-mcp 1.0.3 · connect time not recorded

Server package tested: github-repo-mcp 1.0.3 (npm, Node v20.19.2; resolved 2026-10-21)

Direct and key dependencies as resolved: @modelcontextprotocol/sdk 1.32.1 · express 5.3.0 · octokit 3.2.2 · zod 3.25.76 · zod-to-json-schema 3.25.2

All 147 resolved dependencies
@hono/node-server==2.1.5
@modelcontextprotocol/sdk==1.32.1
@octokit/app==14.1.0
@octokit/auth-app==6.1.4
@octokit/auth-oauth-app==7.1.0
@octokit/auth-oauth-device==6.1.0
@octokit/auth-oauth-user==4.1.0
@octokit/auth-token==4.0.0
@octokit/auth-unauthenticated==5.0.1
@octokit/core==5.2.2
@octokit/endpoint==9.0.6
@octokit/graphql==7.1.1
@octokit/oauth-app==6.1.0
@octokit/oauth-authorization-url==6.0.2
@octokit/oauth-methods==4.1.0
@octokit/openapi-types==20.0.0, 24.2.0
@octokit/plugin-paginate-graphql==4.0.1
@octokit/plugin-paginate-rest==11.4.4-cjs.2, 9.2.2
@octokit/plugin-rest-endpoint-methods==13.3.2-cjs.1
@octokit/plugin-retry==6.1.0
@octokit/plugin-throttling==8.2.0
@octokit/request==8.4.1
@octokit/request-error==5.1.1
@octokit/types==12.6.0, 13.10.0
@octokit/webhooks==12.3.2
@octokit/webhooks-methods==4.1.0
@octokit/webhooks-types==7.6.1
@types/aws-lambda==8.10.164
@types/btoa-lite==1.0.2
@types/jsonwebtoken==9.0.10
@types/ms==2.1.0
@types/node==26.6.5
accepts==2.0.0
aggregate-error==3.1.0
ajv==8.20.0
ajv-formats==3.0.1
before-after-hook==2.2.3
body-parser==2.3.0
bottleneck==2.19.5
btoa-lite==1.0.0
buffer-equal-constant-time==1.0.1
bytes==3.1.2
call-bind-apply-helpers==1.0.2
call-bound==1.0.4
clean-stack==2.2.0
content-disposition==2.0.1
content-type==1.0.5, 2.1.0
cookie==0.7.2
cookie-signature==1.2.2
cors==2.8.6
cross-spawn==7.0.6
debug==4.4.3
depd==2.0.0
deprecation==2.3.1
dunder-proto==1.0.1
ecdsa-sig-formatter==1.0.11
ee-first==1.1.1
encodeurl==2.0.0
es-define-property==1.0.1
es-errors==1.3.0
es-object-atoms==1.1.2
escape-html==1.0.3
etag==1.8.1
eventsource==3.0.7
eventsource-parser==3.1.1
express==5.3.0
express-rate-limit==8.7.1
fast-deep-equal==3.1.3
fast-uri==3.1.9
finalhandler==2.1.1
forwarded==0.2.0
fresh==2.0.0
function-bind==1.1.2
get-intrinsic==1.3.0
get-proto==1.0.1
gopd==1.2.0
has-symbols==1.1.0
hasown==2.0.4
hono==4.13.13
http-errors==2.0.1
iconv-lite==0.7.3
indent-string==4.0.0
inherits==2.0.4
ip-address==10.7.4
ipaddr.js==1.9.1
is-promise==4.0.0
isexe==2.0.0
jose==6.2.13
json-schema-traverse==1.0.0
json-schema-typed==8.0.2
jsonwebtoken==9.0.3
jwa==2.0.1
jws==4.0.1
lodash.includes==4.3.0
lodash.isboolean==3.0.3
lodash.isinteger==4.0.4
lodash.isnumber==3.0.3
lodash.isplainobject==4.0.6
lodash.isstring==4.0.1
lodash.once==4.1.1
lru-cache==11.0.2-patch.1
math-intrinsics==1.1.0
media-typer==1.1.1
merge-descriptors==2.0.0
mime-db==1.54.0
mime-types==3.0.2
ms==2.1.3
negotiator==1.1.0
object-assign==4.1.1
object-inspect==1.13.4
octokit==3.2.2
on-finished==2.4.1
once==1.4.0
parseurl==1.3.3
path-key==3.1.1
path-to-regexp==8.4.2
pkce-challenge==5.0.1
proxy-addr==2.0.8
qs==6.16.1
range-parser==1.3.0
raw-body==3.0.2
require-from-string==2.0.2
router==2.2.0
safe-buffer==5.2.1
safer-buffer==2.1.2
semver==7.8.5
send==1.2.1
serve-static==2.2.1
setprototypeof==1.2.0
shebang-command==2.0.0
shebang-regex==3.0.0
side-channel==1.1.1
side-channel-list==1.0.1
side-channel-map==1.0.1
side-channel-weakmap==1.0.2
statuses==2.0.2
toidentifier==1.0.1
type-is==2.1.0
undici-types==8.9.0
universal-github-app-jwt==1.2.0
universal-user-agent==6.0.1
unpipe==1.0.0
vary==1.1.2
which==2.0.2
wrappy==1.0.2
zod==3.25.76
zod-to-json-schema==3.25.2

Captured with: npm ls --all --json in the npx env.

Full result per app: Does it work with Claude Code? · Does it work with Cursor? · Does it work with Claude Desktop? · Does it work with ChatGPT (Codex)?

Protocol: starts, 3 tools listed · 2026-10-15 · connected in 3.4s

Real test

Passed

One run from our records. When two runs share a date, we show a failure if there is one.

Client
Cursor · Cursor CLI 2026.10.19-6bbf2c4
Date
Oct 21, 2026
The task we gave
Using only the github-repo-mcp MCP tools, read the README of the public GitHub repository modelcontextprotocol/servers and reply with its main title, exactly as written.
What it promised
details not recorded for this run
What happened

Tool calls:

github-repo-mcp:getRepoFile

Other calls recorded:

getMcpToolsToolCall

Tool result

{"success": {"content": [{"text": {"text": "File content for README.md in modelcontextprotocol/servers:\n\n# Model Context Protocol servers\n\nThis repository is a collection of *reference implementations* for the [Model Context Protocol](https://modelcontextprotocol.io/) (MCP), as well as references to community-built servers and additional resources.\n\n> [!IMPORTANT]\n> If you are looking for a list of MCP servers, you can browse published servers on [the MCP Registry](https://registry.modelcontextprotocol.io/). The repository served by this README is dedicated to housing just the small number of reference servers maintained by the MCP steering group.\n\n> [!WARNING]\n> The servers in this repository are intended as **reference implementations** to demonstrate MCP features and SDK usage. They are meant to serve as educational examples for developers building their own MCP servers, not as production-ready solutions. Developers should evaluate their own security requirements and implement appropriate safeguards based on their specific threat model and use case.\n\nThe servers in this repository showcase the versatility and extensibility of MCP, demonstrating how it can be used to give Large Language Models (LLMs) secure, controlled access to tools and data sources.\nTypically, each MCP server is implemented with an MCP SDK:\n\n- [C# MCP SDK](https://github.com/modelcontextprotocol/csharp-sdk)\n- [Go MCP SDK](https://github.com/modelcontextprotocol/go-sdk)\n- [Java MCP SDK](h

Agent reply

I’ll use the `github-repo-mcp` tools to fetch the repository README and then return the top title exactly as written.# Model Context Protocol servers
Verdict
Passed

Install

claude mcp add github-repo-mcp -- npx -y github-repo-mcp

Run in your terminal. This exact command is what our harness runs in Claude Code; see the results above.

{
  "mcpServers": {
    "github-repo-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "github-repo-mcp"
      ]
    }
  }
}

Save as .cursor/mcp.json. This exact config is what our harness runs in Cursor; see the results above.

{
  "mcpServers": {
    "github-repo-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "github-repo-mcp"
      ]
    }
  }
}

Add to claude_desktop_config.json and restart Claude Desktop. Tested on the Linux beta; see the results above.

[mcp_servers.github-repo-mcp]
command = "npx"
args = ["-y", "github-repo-mcp"]

Add to ~/.codex/config.toml (shared by the ChatGPT (Codex) CLI and the ChatGPT desktop app; Codex runs inside the ChatGPT desktop app). Tested with the ChatGPT (Codex) CLI bundled in the ChatGPT desktop app; see the results above.

Not connecting? Troubleshooting: Claude Code · Cursor · Claude Desktop · ChatGPT (Codex)

Test history

DateCheckResultVersions tested
2026-10-21Claude CodePassed
install, connect, tools, agent task
Claude Code 2.1.296 · github-repo-mcp 1.0.3
2026-10-21CursorPassed
install, connect, tools, agent task
Cursor CLI 2026.10.19-6bbf2c4 · github-repo-mcp 1.0.3
2026-10-19ChatGPT (Codex)Failed
agent task failed (no successful call to this server's tools; answer missing ['Model Context Protocol servers']; no tool result containing ['Model Context Protocol servers'])
Codex CLI 0.162.0-alpha.17.2 · github-repo-mcp 1.0.3
2026-10-18Claude DesktopPassed
install, connect, tools, agent task
Claude Desktop 2.37337.1 (Linux beta) · package version not recorded
2026-10-15Protocol (direct stdio)Protocol: starts, 3 tools listedserver reported v1.0.0
2026-10-15CursorPassed
install, connect, tools, agent task
Cursor CLI 2026.10.14-941492e · package version not recorded
2026-10-15Claude CodePassed
install, connect, tools, agent task
Claude Code 2.1.296 · package version not recorded

Tested on ToolPassed badge

ToolPassed: passed Claude Code, Cursor, Claude Desktop

Maker of GitHub Repo MCP? It passed in Claude Code, Cursor, Claude Desktop on 2026-10-21. Add this free badge to your README; it links back to this listing. Free, no strings: the badge never changes a result.

[![Tested on ToolPassed](https://toolpassed.com/badge/mcp/github-repo-mcp.svg)](https://toolpassed.com/mcp/github-repo-mcp/)

Tools seen by our harness (3)

getRepoAllDirectoriesgetRepoDirectoriesgetRepoFile
Featured