89
Stack Score
Best for
Engineers who want to drive PRs, issues, and code search through Claude instead of switching to the GitHub UI.
At a glance
- Pricing
- free
- Setup time
- 15 minutes
- Learning curve
- medium
- Last verified
- 5/26/2026
What we love
- ✓Official GitHub-maintained server — kept current with API
- ✓Lets Claude do PR review without leaving the chat
- ✓Permissions inherit from your token — easy to scope down
Where it falls short
- −Rate limits apply to your token, not the MCP
- −Some advanced GitHub APIs not yet exposed
- −Authentication setup confuses first-time MCP users
Install & connect
Copy-paste ready
Install
shell
docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server
Config — Claude Desktop
json
{
"mcpServers": {
"github": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token_here"
}
}
}
}Config — Cursor
json
{
"mcpServers": {
"github": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token_here"
}
}
}
}Config — Claude Code
shell
claude mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp","headers":{"Authorization":"Bearer ghp_your_token_here"}}'Pricing
✓ Pricing verified Jun 21, 20261 tier
Open source
$0
MIT license
- ✓Self-hosted via Docker or remote
- ✓Free forever
- ✓GitHub-maintained
Why we picked it
Used heavily on day-to-day development work. Beats the GitHub web UI for anything multi-file.
Overview
Official GitHub MCP — read repos, search code, manage issues + PRs, run actions. Lets Claude operate inside your GitHub workflow.
Key features
- ●List repos, branches, commits, and pull requests
- ●Read and write issues with comments and labels
- ●Search code across repos with GitHub's code search
- ●Create, review, and merge pull requests from chat
- ●Manage GitHub Actions runs and inspect logs
- ●Scoped to your GitHub App or personal access token permissions
Exposed tools
The MCP-tool names this server exposes. Your agent can invoke any of these when this server is connected.
- list_repositoriesList repos in an org or for a user, with pagination.
- get_file_contentsRead a file at a path/ref from any repo you have access to.
- search_codeSearch code across repos using GitHub's code-search syntax.
- create_or_update_fileCommit a file change to a branch (single-file write).
- list_issuesList issues for a repo with state, labels, assignee filters.
- get_issueFetch a single issue with comments.
- create_issueOpen a new issue with title, body, labels, assignees.
- list_pull_requestsList PRs for a repo, filter by state/head/base.
- create_pull_requestOpen a PR from a head branch into base, with title and body.
- get_pull_requestFetch PR metadata, diffs, and review state.
- merge_pull_requestMerge a PR using merge/squash/rebase strategy.
- list_branchesList branches in a repo.
- list_workflow_runsList GitHub Actions workflow runs for a repo.
- get_workflow_run_logsFetch logs from a workflow run for debugging.
Best use cases
PR triage from chat
Ask Claude to list open PRs, summarize diffs, and post review comments without opening GitHub.
Cross-repo issue search
Hunt down related issues, dupes, or feature requests across an entire org.
Release prep
Generate changelogs and release notes from merged PRs since the last tag.
Integrations
Similar tools
See all mcp →One AI Stack pick every week.
The tool we’d pay for this week, why we’d pay for it, and what we’d skip. No promo spam.