GitHub
GitHub’s official server lets AI read and manage code, issues and pull requests in your account. Use GitHub’s hosted version or run it locally with Docker.
Description from the maker (original English)
AI-optimized GitHub MCP server: 112 tools, 98% token reduction, compact responses.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"github": {
"command": "uvx",
"args": [
"github-mcp-server"
]
}
}
}Run this in your terminal
claude mcp add github -- uvx github-mcp-serverPaste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"github": {
"command": "uvx",
"args": [
"github-mcp-server"
]
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"github": {
"type": "stdio",
"command": "uvx",
"args": [
"github-mcp-server"
]
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026
The registry name was verified with the GitHub account crypto-ninja, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (2.5.7) reached the registry 11 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
In the same category: GitHub, Desktop Commander, Cloudflare MCP
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
GitHub’s official server lets AI read and manage code, issues and pull requests in your account. Use GitHub’s hosted version or run it locally with Docker.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
The most comprehensive GitHub MCP server - Full GitHub workflow automation with Actions monitoring, advanced PR management, intelligent code search, and complete file management. Built for AI-powered development teams.
👉 New here? See the Quick Start Guide
This server is designed with AI agents in mind:
| Format | Use Case | Token Savings |
|---|---|---|
compact | Discovery, lists, status checks | 80-97% smaller |
json | Full details when needed | Full response |
markdown | Human-readable display | Formatted text |
| Resource | Full JSON | Compact | Savings |
|---|---|---|---|
| Commit | ~3,000 chars | ~100 chars | 97% |
| Issue | ~2,500 chars | ~150 chars | 94% |
| Repository | ~4,000 chars | ~200 chars | 95% |
| PR Overview | ~20,000 chars | ~1,800 chars | 91% (GraphQL) |
// Default: Use compact for most operations
const issues = await callMCPTool("github_list_issues", { owner: "user", repo: "repo", limit: 10, response_format: "compact" // 94% smaller! });
// Use json only when you need every field const fullIssue = await callMCPTool("github_get_issue", { owner: "user", repo: "repo", issue_number: 42, response_format: "json" });
Combined with our code-first architecture (98% token reduction), you get the most efficient GitHub MCP server available.
📖 Documentation:
response_format: "compact" (80-97% token savings!)CLAUDE.md renamed to MCP_GUIDE.md with instructions for Claude, Cursor, Windsurf, Copilot, ClinePrevious: v2.5.1 - Architecture Refactor & Performance (December 9, 2025)
github_mcp.py split into modular package structurecallMCPTool now works seamlessly with plain JavaScript objectsPrevious: v2.5.0 - Phase 2 Full Send (December 4, 2025)
MAJOR RELEASE: 47 new tools added (62 → 109 total tools)! Comprehensive GitHub API coverage.
New in v2.5.0:
Previous: v2.4.0 - Phase 1 Tool Expansion (December 4, 2025)
15 new tools added (48 → 62 total tools)!
New in v2.4.0:
github_add_issue_comment for commenting on issuesgithub_list_gists, github_get_gist, github_create_gist, github_update_gistgithub_list_labels, github_create_label, github_delete_labelgithub_list_stargazers, github_star_repository, github_unstar_repositorygithub_get_authenticated_user, github_list_user_repos, github_list_org_repos, github_search_usersgithub_get_user_info back in TypeScript definitionsPrevious: v2.3.1 - Code-First Mode Enforced by Default (January 26, 2025)
true (was false)Previous: v2.3.0 - Architecture Formalization (January 26, 2025)
Single-Tool Architecture Formalized: The intended design from day one - one tool, 98% token reduction!
New in v2.3.0:
github-mcp-cli)GitHub App Authentication: 3x rate limits (15,000 vs 5,000 requests/hour) with fine-grained permissions!
New in v2.2.0:
Zero Failed Tool Calls: Intelligent tool discovery eliminates discovery issues while maintaining 98% token efficiency!
New in v2.1.0:
🔍 Tool Discovery Functions
Benefits:
The Game Changer: 98% token reduction (70,000 → 800 tokens)!
New Architecture:
execute_code tool exposed to ClaudeTotal Tools: 1 tool exposed to MCP clients (execute_code) 🚀 Internal Tools: 61 GitHub tools available via execute_code Token Efficiency: 98% reduction vs traditional MCP
v1.5.0 (Nov 6, 2025) - Infrastructure Upgrade
View Full Changelog
The workspace tools (workspace_grep, workspace_str_replace, workspace_read_file) enable powerful local file operations on YOUR projects.
These tools allow Claude to:
workspace_grep)workspace_str_replace)workspace_read_file)Method 1: Claude Desktop Configuration
Edit your Claude Desktop config file (location varies by OS):
macOS:
{
"mcpServers": { "github-mcp": { "command": "python3", "args": ["-m", "github_mcp"], "env": { "GITHUB_TOKEN": "ghp_...", "MCP_WORKSPACE_ROOT": "/Users/yourname/projects/my-app" } } } }
Windows:
{
"mcpServers": { "github-mcp": { "command": "python", "args": ["-m", "github_mcp"], "env": { "GITHUB_TOKEN": "ghp_...", "MCP_WORKSPACE_ROOT": "C:\\Users\\yourname\\projects\\my-app" } } } }
Linux:
{
"mcpServers": { "github-mcp": { "command": "python3", "args": ["-m", "github_mcp"], "env": { "GITHUB_TOKEN": "ghp_...", "MCP_WORKSPACE_ROOT": "/home/yourname/projects/my-app" } } } }
Method 2: Environment Variable
macOS/Linux:
export MCP_WORKSPACE_ROOT="/path/to/your/project"
python3 -m github_mcp
Windows (Command Prompt):
set MCP_WORKSPACE_ROOT=C:\path\to\your\project
python -m github_mcp
Windows (PowerShell):
$env:MCP_WORKSPACE_ROOT="C:\path\to\your\project"
python -m github_mcp
Method 3: Default Behavior
If MCP_WORKSPACE_ROOT is not set, tools will use your current working directory as the workspace root.
# After setting MCP_WORKSPACE_ROOT="/Users/dave/my-app"
workspace_grep("TODO", file_pattern="*.py")
workspace_read_file("src/main.py", start_line=1, num_lines=50)
workspace_str_replace( path="config/settings.py", old_str="DEBUG = True", new_str="DEBUG = False", description="Disable debug mode for production" )
For working with files directly on GitHub (no cloning required):
Only the beginning is shown; read the rest in the repo