gh-mcp
Installation
SKILL.md
GitHub MCP Tool Map
The gh CLI is not available in Claude Code on the web or in remote
execution environments. Use mcp__github__* for everything.
Connection modes
There are two ways to run the GitHub MCP server, and they differ in more than hosting.
| Remote (hosted) | Local (container) | |
|---|---|---|
| Endpoint | https://api.githubcopilot.com/mcp/ |
Runs as a local process |
| Auth | OAuth (one-click) or PAT | PAT via env var |
| Scope control | OAuth grants only what you approve at sign-in | Whatever the PAT carries |
| Updates | Managed by GitHub | You manage them |
| Offline / air-gapped | No | Yes |