GitHub MCP Server connects compatible AI hosts to GitHub so agents can read repos, manage issues and pull requests, inspect Actions, and run other API-backed workflows via natural language.
Overview
GitHub MCP Server links Model Context Protocol hosts—such as VS Code Copilot, Claude Desktop, Cursor, Windsurf, and Zed—to GitHub’s platform. AI assistants gain tools to browse code, search files, analyze commits, triage issues and pull requests, watch workflow runs, review security alerts, and collaborate on team activity.
GitHub offers a remotely hosted MCP endpoint for quick setup where the host supports remote servers and OAuth. When remote access is unavailable, the same capabilities run locally from a published container image or a built binary speaking MCP over stdio, authenticated with OAuth in the browser or a personal access token.
Operators can narrow exposed capability groups with toolset configuration, try insider builds for experimental tools, and point authentication at GitHub Enterprise Server or Enterprise Cloud with data residency using host and token settings. Enterprise Server does not use the remote hosted endpoint; local deployment applies there.
Documentation covers installation snippets per host, PAT scope guidance, environment-variable-based token handling, and Docker pull from the GitHub container registry. Library consumers can also import the Go module from the v2 module path for embedded use.
Key features
- Repository and code search
- Issue and pull request tools
- Actions workflow visibility
- Code and Dependabot insights
- Remote hosted endpoint
- Local Docker or binary mode
- Configurable toolsets
- Enterprise host configuration
Use cases
- Agent-driven code exploration
- Automated issue triage
- CI failure diagnosis in chat
- PR review assistance
- Team notification workflows