- How you use it
- Your agent calls its tools
- What it can do
- installs software · network · secrets access · runs shell
- What's inside
The option
| Option | AMCP server · v2.0.2GitHub MCP Server (official) |
|---|---|
| How you use it | Your agent calls its tools |
| What it can do | installs software · network · secrets access · runs shell |
| What's inside |
What this thread does
What it is. GitHub's own MCP server (github/github-mcp-server). Use it when the agent should triage issues, read PR diffs and reviews, check failing Actions runs or look at Dependabot and other security alerts without you copying text around.
As of November 2026; checked 2026-11-05. GitHub’s v2.0.3, October 21, returns a resource link for files over 1 MB in get_file_contents, adds cursor pagination to list_label, and updates Go for compromised-CA mitigation; v2.1.0, November 3, corrects merged state in PR lists and rejects integer parameters at or above 2^63, so direct result consumers should account for these changes.
Two ways to run it.
- Remote, hosted by GitHub at
https://api.githubcopilot.com/mcp/, with OAuth where the client supports it or a personal access token. - Local, the
ghcr.io/github/github-mcp-serverDocker image or a binary, with a browser OAuth login or a PAT.
Safety switches. The default toolsets are context, repos, issues, pull_requests and users. --read-only (or GITHUB_READ_ONLY=1) removes write tools. Lockdown mode hides content from authors without push access on public repos, except trusted bot accounts, to reduce prompt-injection risk; the README says it is best effort and not an authorization boundary. Use a fine-grained, least-privilege token.
What changed in v2. v2.0.0 (2026-10-06) added typed structured outputs and output schemas for clients using "Code Mode" or programmatic tool calling. They are only advertised to clients that support MCP spec 2026-07-28 or later. The Go module path is now github.com/github/github-mcp-server/v2. v2.0.2 followed on 2026-10-08.
Copilot CLI ships with this server built in, read-only by default.
Sources: README, v2.0.0 release.
Sources
Primary sources, read on 18 October 2026: the v2.0.0 release notes (via the GitHub API).
- Confirms: v2.0.0 published 2026-10-06; typed inputs and output schemas added for tools, aimed at Code Mode and programmatic tool calling; the schemas are advertised only to clients that support MCP 2026-07-28 or later, and compound tools got schema changes that older clients cannot accept so they are not returned to them.
- Not covered by the release notes: the remote URL, toolset defaults,
--read-only, lockdown mode, the Go module path, v2.0.2, and the Copilot CLI statement. Those come from the README and are unchecked in this pass.
Started from a post by @github, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.