GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
The GitHub MCP server is the one most developers install first, and the official version (built by GitHub, in Go) has grown into a genuinely deep integration: repository browsing, file contents, issue and PR management, code and issue search across all of GitHub, Actions workflow runs, code-scanning alerts, Dependabot findings, notifications and discussions.
The workflow change is bigger than it sounds. Instead of alt-tabbing to github.com to check CI, you ask "why did the last workflow run fail on main?" and get the failing step's logs interpreted in context. PR reviews become conversational: the assistant reads the diff, summarises the risk areas, drafts review comments, and can request changes or merge when you say so. Issue triage — labelling, deduplicating, drafting responses — is the kind of tedium this quietly absorbs.
Two ways to run it. The remote server at api.githubcopilot.com/mcp/ is the low-friction option: OAuth in the browser, no local install, always current. The local version runs as a Docker container with a personal access token — the right choice for GitHub Enterprise Server or when you want tight control over scopes via a fine-grained PAT.
A practical tip: the server supports toolsets — flags that trim which tool groups are exposed (just repos and PRs, say). Trimming unused toolsets reduces prompt clutter and keeps the assistant from reaching for tools you never intended it to use. Scope your PAT minimally and this becomes a very comfortable daily driver.
GITHUB_TOOLSETS=repos,issues,pull_requests to expose only what you need; all turns everything on, and dynamic toolset discovery lets the model switch groups on mid-session instead of loading them all upfront./mcp/x/issues and /mcp/x/actions, plus a read-only variant — so you can register a browsing-only GitHub server next to a write-capable one.get_job_logs can return only the failed steps with a tail limit. Reach for that rather than pulling a 40,000-line workflow log into the conversation.The assistant reads the diff, flags risky changes, drafts comments, and merges when you approve.
Pull the failing job's logs and get the actual error explained, not just a red X.
Label, deduplicate and draft responses across a busy issue tracker.
Find where a function is used across your org without cloning everything.
| Tool | What it does |
|---|---|
| search_code / search_issues | Search code and issues across GitHub |
| get_file_contents | Read files from any accessible repository |
| create_issue / update_issue | Open and manage issues |
| create_pull_request | Open PRs from existing branches |
| get_pull_request_diff | Read a PR's full diff for review |
| merge_pull_request | Merge approved pull requests |
| list_workflow_runs / get_job_logs | Inspect Actions runs and failing job logs |
| list_code_scanning_alerts | Review code security findings |
claude mcp add --transport http github https://api.githubcopilot.com/mcp/Authorises via browser OAuth — no token to manage.
Remote: just OAuth. Local: Docker and a fine-grained personal access token. Enterprise Server requires local mode.
| Variable | Description | Required |
|---|---|---|
| GITHUB_PERSONAL_ACCESS_TOKEN | PAT for local mode (remote mode uses OAuth instead)e.g. github_pat_... | Optional |
| GITHUB_TOOLSETS | Comma-separated toolsets to enable (e.g. repos,issues,pull_requests)e.g. repos,issues,pull_requests,actions | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.
Give your coding agent the full DevTools toolbox: traces, network, console, heap snapshots and Lighthouse.