GitHub
Full GitHub API access - manage repos, issues, PRs, and code search. One of the most useful MCPs for any developer workflow.
Delv Safety Grade: A
Score 84/100 · assessed 2026-04-22
This is Anthropic's official GitHub MCP server, maintained in their primary servers repository with excellent documentation and active development. It provides comprehensive GitHub API access including repository management, issue tracking, pull requests, and code search. The maintainer score is exceptional given Anthropic's backing and the monorepo structure with multiple contributors. Supply chain is solid via npm with standard installation. Transparency is excellent with full source visibility and clear documentation. The main safety consideration is the broad permission scope: a personal access token grants extensive write capabilities across repositories, issues, and pull requests. The token's scope depends entirely on what permissions the user grants when creating it, which could range from read-only to full admin access. There are no known security incidents. The risk profile is moderate due to the powerful write capabilities, but this is inherent to GitHub API functionality rather than a flaw in the server itself.
Lethal Trifecta (prompt-injection exposure)
TRIFECTA RISKSame trifecta surface as the official server. Issues, PRs, and repo contents are mixed-trust.
Green flags
- Official Anthropic server with active maintenance in primary monorepo
- Published via npm with standard semver and package registry verification
- Fully open source with comprehensive documentation and examples
- Well-established tool widely used in developer workflows
- Token permissions are user-controlled via GitHub's own token scoping
Red flags
- Personal access token can have very broad GitHub permissions if misconfigured
- Write access to repos, PRs, and issues means potential for destructive actions
- Token compromise could allow unauthorized repository modifications
- No built-in scope limiting beyond what user sets in GitHub token settings
Permissions requested
Install
npx -y @modelcontextprotocol/server-github
{
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_..." }
}
}GITHUB_PERSONAL_ACCESS_TOKENReview
Install this if you do any serious work on GitHub. It's one of the few MCPs that feels essential rather than experimental. Skip it only if you never touch repositories or prefer clicking through the web UI for everything.
Good at
- Covers the entire GitHub API, so you can do almost anything you'd do in the web UI.
- Opening PRs from conversation is genuinely faster than the browser workflow once you're used to it.
- Cross-repo code search works well for finding patterns or tracking down references.
- Official Anthropic server, so it's well-maintained and documented.
- Setup is straightforward - one token, one config entry, done.
Watch out
- No response caching, so repeated queries hit the API and burn rate limits.
- Requires a personal access token with appropriate scopes, which some organisations restrict.
- Hosts beyond Claude Desktop need manual config file editing.
- Large repos with thousands of issues can produce overwhelming responses without careful prompting.
Use cases
- Opening PRs from conversation
- Triaging issues automatically
- Cross-repo code search
- Drafting release notes from commits
Getting started
Works with
Similar MCPs
- GrafanaGrafana Labs' official MCP. Read dashboards, datasources, alerts, and run Loki/Prometheus queries from inside your agent.
- SentryPull live errors, issues, and replays from Sentry into Claude. Great for debugging sessions where the model can see what actually broke in prod.
- MCP CLIInteractive CLI inspector for MCP servers supporting OAuth, tool calls, resource reads, and prompt runs.
- GitLabGitLab's hosted MCP server, built into GitLab 18.6+. Manage MRs, browse repos, work with CI pipelines from Claude.