GM
GitHub MCP Server
GitHub's official server for repos, issues, PRs, and Actions.
Last updated July 18, 2026
DevOpsRemote · SSEGo31.5k
Overview
GitHub's official MCP server connects AI agents to GitHub's platform — browsing repos and code, managing issues and pull requests, and monitoring Actions workflow runs. A hosted remote server is the recommended install; a local Docker-based option is also available.
Use cases
Triage incoming issues and suggest labels automatically.
Draft a pull request description from a diff.
Monitor GitHub Actions workflow runs and analyze build failures.
Install
{
"mcpServers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"ghcr.io/github/github-mcp-server"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PAT"
}
}
}
}FAQ
No — the recommended remote server is hosted by GitHub at api.githubcopilot.com/mcp. A local Docker-based version is also available if your client doesn't support remote MCP servers.