Best for
- Teams that want an AI assistant to directly operate on GitHub repos and collaboration workflows
- Users already in the GitHub Copilot ecosystem who want a zero-deployment remote option
Maintained by the official GitHub team; toolsets cover the full repository lifecycle. Both local Docker and remote HTTP paths are clearly documented. This review is based on the README and server.json, not an actual handshake test — verify with a read-only toolset before enabling write access.
The official GitHub-maintained MCP server, exposing GitHub's core capabilities (repositories, issues, pull requests, Actions, code security scanning, Discussions, orgs and projects) through grouped toolsets. Runs locally via Docker, or connects directly to GitHub's hosted remote Streamable HTTP endpoint (api.githubcopilot.com/mcp/) with no local install required.
1) Local: docker pull ghcr.io/github/github-mcp-server, then start it with the config above — first run triggers an OAuth login, or supply a GITHUB_PERSONAL_ACCESS_TOKEN env var to skip it.
2) Remote: point your client's URL at https://api.githubcopilot.com/mcp/ with a PAT or App Token in the Authorization header — no local install needed.
3) Optionally restrict enabled toolsets with --toolsets; only the context toolset is enabled by default.
{
"mcpServers": {
"github": {
"command": "docker",
"args": ["run", "-i", "--rm", "-p", "127.0.0.1:8085:8085", "-e", "GITHUB_OAUTH_CALLBACK_PORT=8085", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_GITHUB_TOKEN>"
}
}
}
}