Back to MCP ServersOfficial documentation
GitHub MCP Server
OFFICIALGitHub's official MCP server. Manage issues, PRs, branches, workflows, and code scanning — or just let the agent read your repos.
Category: Development · Works with: Claude Code, Grok Build, Claude Desktop, Cursor, VS Code, Codex CLI
What it does
Connects agents directly to GitHub for repository operations, issue tracking, code review, and CI visibility. Replaces the archived @modelcontextprotocol/server-github.
Install
Remote: https://api.githubcopilot.com/mcp/ · Local: docker run ghcr.io/github/github-mcp-server
Setup Instructions
claude Code
# Easiest: the hosted remote server (OAuth) claude mcp add --transport http github https://api.githubcopilot.com/mcp/
grok Build
Grok Build supports MCP out of the box. Point it at the hosted remote server (https://api.githubcopilot.com/mcp/) or the local Docker server — the same config works as for any other runner.
claude Desktop
Run the local server with a Personal Access Token:
{
"mcpServers": {
"github": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"],
"env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_..." }
}
}
}cursor
Add the remote server URL https://api.githubcopilot.com/mcp/ in Cursor's MCP settings and sign in with GitHub.
Compatible Agents
Claude CodeGrok BuildClaude DesktopCursorVS CodeCodex CLI
Related MCP Servers
@modelcontextprotocol/server-filesystem
Reference filesystem access for agents. Read, write, list, move, and search files within explicitly allowed directories.
mcp-server-git
Reference Git server. Status, diff, log, branch, commit, and search — structured Git operations for repos the agent works in.
Supabase MCP
Supabase's official server. Query the database, apply migrations, manage config, fetch logs, and generate TypeScript types from your agent.