MCP connection guide
GitHub MCP.
Give an agent repository context and access to GitHub workflows. GitHub maintains both a hosted MCP server and a local server, with tool selection and permissions determining what the agent can do.
The official connection
- Operated by
- GitHub
- Endpoint
https://api.githubcopilot.com/mcp/- Connection
- Remote MCP over Streamable HTTP
- Authentication
- OAuth where supported by the host, or a personal access token with suitable permissions.
What can an agent do with it?
- Read repository files and search code for implementation context.
- Work with issues, pull requests and review workflows.
- Inspect Actions workflows and other resources exposed by the selected toolsets.
Before you connect
- Choose the hosted server for a remote connection, or follow GitHub’s local server instructions for a local deployment.
- Use the authentication method supported by your MCP client and grant only the repository access needed.
- Select the relevant toolsets and read-only configuration when the agent only needs to inspect repositories.
Access and limitations
- OAuth support and setup differ by MCP host; a client may need its own GitHub OAuth app.
- A token’s permissions and repository access still apply. Turning on a toolset does not grant access.
- Local server setup has its own runtime and token requirements. Follow the maintained README rather than an old copied command.
Which approach fits your workflow?
Related infrastructure
These directory listings help with adjacent integration needs. Inclusion here does not imply identical tools, support for every action, or a drop-in replacement.
- Composio — An integration platform that gives agents application tools with per-user connections, managed authentication, and tool discovery.
- Pipedream Connect — Managed application integrations for agents, combining connected user accounts, prebuilt tools, and authenticated API access.
Sources and review
Reviewed against public documentation on November 11, 2026. This is a documentation review; we have not authenticated a live connection or verified every MCP client.
Report an outdated endpoint or correction · Browse all MCP guides