34.8K ·GitHub
What is this?
GitHub's official MCP Server. It connects AI tools straight to GitHub, so agents, assistants and chatbots can read repos and code files, manage issues and PRs, analyze code and automate workflows through natural language.
Is this a hosted service or something I run myself?
Both. GitHub hosts a remote server you just point your MCP host at — the easiest option. There is also a local version: a public Docker image (ghcr.io/github/github-mcp-server) or a binary you build from source.
How do I hook it up to my AI tool?
In VS Code 1.101+ use the one-click install button, then toggle Agent mode and the server starts. In other hosts add a JSON config block: the remote server needs just a URL, the local one runs the Docker image or a built binary.
Which AI tools and editors can it plug into?
Any MCP-compatible host. The README links install guides for VS Code, Copilot CLI, JetBrains/Visual Studio/Eclipse/Xcode, Claude Desktop and Claude Code, OpenAI Codex, Cursor, Gemini CLI, OpenCode, Windsurf and Zed.
Can I restrict which GitHub actions the AI is allowed to take?
Yes. The --toolsets flag enables only the capability groups you need (which also improves tool choice and shrinks context), --tools picks individual tools, and --read-only skips every write tool even if you explicitly request it.
How much of my GitHub account will it be able to touch?
Only the permissions you grant it. The README recommends minimum scopes (repo, read:packages, read:org), separate tokens per project, regular rotation, and never committing tokens to version control.
What can an AI actually do on GitHub through this?
Browse and query code, search files and analyze commits; create, update and triage issues and PRs; monitor Actions runs and build failures; examine Dependabot alerts and security findings; and manage discussions, notifications and team activity.
Why configure toolsets instead of enabling everything?
Enabling only the toolsets you need helps the LLM pick the right tool and reduces the context size. Toolsets can also include relevant MCP Resources and Prompts, not just tools.
What is Insiders mode?
An insiders version of the remote server with early access to new features and experimental tools. You opt in through a URL path or a header on the remote endpoint.
Can I run the local server without Docker?
Yes — build the binary with go build in the cmd/github-mcp-server directory and run github-mcp-server stdio with your PAT in the environment. The native binary also avoids the fixed OAuth callback port (127.0.0.1:8085) that Docker needs.
What are similar projects?
claude-code-action, open-swe, obot, coral, gh-aw, headroom, open-code-review, no-mistakes
Which topics is it in?
pull-request, ci-cd, github-copilot, vscode, enterprise, oauth, github, github-actions, workflow-automation, cursor, developers, mcp-server
- Creator
- github
- Size
- 57.2 MB
- Stars
- 34.8K
- Age
- 1y
- Commits · 90 Days