GitHub
CommunityMCP server by github · updated · ★ 34k
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language. GitHub is a community project by github, not verified by a company domain.
Last commit in the past day
MIT: permissive, fine for commercial use
Clear description, published package or server URL, 33,768 stars, original repository
Not checked yet. What we check
Install GitHub
Built from the published package, never by AIclaude mcp add github -- docker run -i --rm ghcr.io/github/github-mcp-server:2.0.2Run in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/github/github-mcp-server:2.0.2"
]
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/github/github-mcp-server:2.0.2"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/github/github-mcp-server:2.0.2"
]
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add github -- docker run -i --rm ghcr.io/github/github-mcp-server:2.0.2{
"mcpServers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/github/github-mcp-server:2.0.2"
]
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add github docker run -i --rm ghcr.io/github/github-mcp-server:2.0.2Gemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the github block.
GitHub: common questions
How do I install GitHub?
In Claude Code run claude mcp add github -- docker run -i --rm ghcr.io/github/github-mcp-server:2.0.2. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is GitHub the official server?
GitHub is a community project by github, not verified by a company domain.
Is GitHub free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is GitHub safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. The security check has not run for it yet. Review the code before you install. How grades work.
Does GitHub work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
