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 ↗
Best for github & code hosting · provisional · tested 2026-10-15

Read the README of the public modelcontextprotocol/servers repo and returned its title in both Claude Code and Cursor, with no token, in 2 calls in total. DeepWiki also passed both (3 calls) and GitMCP passed both (8 calls). The official GitHub MCP server needs a personal access token, so it isn't tested and can't be picked.

Test results

Last passed 2026-10-15
Claude CodePassed2026-10-15 · install, connect, tools, agent task
CursorPassed2026-10-15 · install, connect, tools, agent task
Claude DesktopNot tested yet—
ChatGPT (Codex)Not tested yet—

Full result per app: Does it work with Claude Code? · Does it work with Cursor?

Protocol: starts, 3 tools listed · 2026-10-15

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

DateCheckResultVersion
2026-10-15Protocol (direct stdio)Protocol: starts, 3 tools listed1.0.0
2026-10-15Claude CodePassed
install, connect, tools, agent task
2.1.296 (Claude Code)
2026-10-15CursorPassed
install, connect, tools, agent task
2026.10.14-941492e

Tools seen by our harness (3)

getRepoAllDirectoriesgetRepoDirectoriesgetRepoFile
Sponsors