GitHub MCP Server
GitHub's official hosted remote MCP server — repositories, issues, PRs, and code search straight into the agent.
Specs
Verified:
- Transport
- streamable HTTP (remotely hosted)
- Endpoint
- https://api.githubcopilot.com/mcp/
- Auth
- 401 verified — bearer token (README also documents OAuth)
- Vendor
- GitHub official
GitHub's official remote MCP server, repo github/github-mcp-server (verified 200 on 2026-11-20). The streamable HTTP endpoint `https://api.githubcopilot.com/mcp/` returns 401 on initialize — alive and auth-gated (bearer token; the repo README also documents the OAuth path). One `codex mcp add` away on the Codex side.
Key features
- Officially hosted by GitHub — nothing to self-host
- Repo/issue/PR/code tool surface
- Bearer-token auth (401 verified)
Use cases
Let the agent work GitHub directly: read issues, inspect PRs, search across repos, push changes.
Install
`codex mcp add github --url https://api.githubcopilot.com/mcp/ --bearer-token-env-var GITHUB_PAT` (token via env var); or `codex mcp login github` after add for OAuth. Lands in the `mcp_servers.github` section of config.toml.
Caveats
401 means auth — scope the token minimally; the tool surface evolves server-side.
Added
Updated
Verified