This directory contains detailed installation instructions for the GitHub MCP Server across different host applications and IDEs. Choose the guide that matches your development environment.
| Host Application | Local GitHub MCP Support | Remote GitHub MCP Support | Prerequisites | Difficulty |
|---|---|---|---|---|
| Copilot in VS Code | ✅ | ✅ Full (OAuth + PAT) | Local: Docker or Go build, GitHub PAT Remote: VS Code 1.101+ |
Easy |
| Copilot Coding Agent | ✅ | ✅ Full (on by default; no auth needed) | Any paid copilot license | Default on |
| Copilot in Visual Studio | ✅ | ✅ Full (OAuth + PAT) | Local: Docker or Go build, GitHub PAT Remote: Visual Studio 17.14+ |
Easy |
| Copilot in JetBrains | ✅ | ✅ Full (OAuth + PAT) | Local: Docker or Go build, GitHub PAT Remote: JetBrains Copilot Extension v1.5.53+ |
Easy |
| Claude Code | ✅ | ✅ PAT + ❌ No OAuth | GitHub MCP Server binary or remote URL, GitHub PAT | Easy |
| Claude Desktop | ✅ | ✅ PAT + ❌ No OAuth | Docker or Go build, GitHub PAT | Moderate |
| Cursor | ✅ | ✅ PAT + ❌ No OAuth | Docker or Go build, GitHub PAT | Easy |
| Google Gemini CLI | ✅ | ✅ PAT + ❌ No OAuth | Docker or Go build, GitHub PAT | Easy |
| Windsurf | ✅ | ✅ PAT + ❌ No OAuth | Docker or Go build, GitHub PAT | Easy |
| Copilot in Xcode | ✅ | ✅ Full (OAuth + PAT) | Local: Docker or Go build, GitHub PAT Remote: Copilot for Xcode 0.41.0+ |
Easy |
| Copilot in Eclipse | ✅ | ✅ Full (OAuth + PAT) | Local: Docker or Go build, GitHub PAT Remote: Eclipse Plug-in for Copilot 0.10.0+ |
Easy |
Legend:
Note: Remote MCP support requires host applications to register a GitHub App or OAuth app for OAuth flow support – even if the new OAuth spec is supported by that host app. Currently, only VS Code has full remote GitHub server support.
The GitHub MCP Server can be installed using several methods. Docker is the most popular and recommended approach for most users, but alternatives are available depending on your needs:
go build -o github-mcp-server cmd/github-mcp-server/main.goghcr.io/github/github-mcp-serverhttps://api.githubcopilot.com/mcp/All installations with Personal Access Tokens (PAT) require:
Optional (depending on installation method):
Regardless of which installation method you choose, follow these security guidelines:
If you encounter issues:
After installation, you may want to explore: