Updated 2026-10-18

MCP server for GitHub

Yes, there is an MCP server for GitHub. GitHub's remote MCP server lives at https://api.githubcopilot.com/mcp/, and Claude Code connects to it with a GitHub personal access token in the Authorization header. Below are setup steps for Claude Code, Cursor and Codex, plus 13 more GitHub-related MCP servers ranked by today's trust score.

Is there an official GitHub MCP server?

GitHub publishes an official MCP server (github/github-mcp-server). Its remote endpoint is https://api.githubcopilot.com/mcp/, which Claude Code's docs connect to with a GitHub personal access token. (Claude Code docs)

How do you set up the GitHub MCP server?

Claude Code

claude mcp add --transport http github https://api.githubcopilot.com/mcp/ \
  --header "Authorization: Bearer YOUR_GITHUB_PAT"

Cursor (~/.cursor/mcp.json)

{ "mcpServers": { "github": { "url": "https://api.githubcopilot.com/mcp/",
  "headers": { "Authorization": "Bearer YOUR_GITHUB_PAT" } } } }

Codex (~/.codex/config.toml)

[mcp_servers.github]
url = "https://api.githubcopilot.com/mcp/"
bearer_token_env_var = "GITHUB_PAT"

What other MCP servers work with GitHub?

ScoreToolTypeHost
OfficialGitHub MCP Server (official)
GitHub's official MCP server. Remote endpoint used in Claude Code's docs with a GitHub personal access token.
MCP · httpapi.githubcopilot.com
100x402.charliemorrison.dev audit
GitHub repo discoverability & SEO audit: scores a repo's README, description, topics, homepage and metadata an
x402 · $0.005x402.charliemorrison.dev
81mcp
MCP-native AI SRE: ask what's broken in production, get a reviewed GitHub fix PR.
MCP · authaient.ai
81Localhero.ai
Manage product translations from Claude and ship reviewed changes as GitHub pull requests.
MCP · authlocalhero.ai
46GitHub
Connect your AI agents to GitHub — manage repos, issues, PRs, workflows, and more
MCP · authserver.smithery.ai
46social-superpowers
Live X/Twitter and Reddit research. 10 read-only MCP tools, Google/GitHub sign-in. Free tier.
MCP · authserver.smithery.ai
46GitHub Analytics MCP — Repo & Trend Research
Repo statistics, trending lookups, code-search queries, and dev-trend aggregation. For AI agents that need to
MCP · authserver.smithery.ai
46Gread
Gives your AI access to the source code of all public github repos. - Plug and Play: Compatible with all popul
MCP · authserver.smithery.ai
46GitHub Code Search
Search millions of public GitHub repositories for real-world code patterns and implementation examples. Discov
MCP · authserver.smithery.ai
46GitDealFlow Signal
GitHub-derived engineering acceleration signals for VC deal flow — surface stealth startups before TechCrunch
MCP · authserver.smithery.ai
43mcp-explorium
Access live company and contact data from Explorium's AgentSource B2B platform.
MCP · authmcp-github-registry.explorium.ai
27Hint-Services-obsidian-github-mcp
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
MCPserver.smithery.ai
opted outis-it-down
Is GitHub, npm, Cloudflare or your AI provider down right now? 20 status pages, one call.
MCPapi.kaiv.ai
opted outSHIP
Assign Linear, Jira or GitHub issues to an AI coding agent team that plans, builds, reviews, tests.
MCPmcp.letsship.ai

What can the GitHub MCP server do with issues, Actions and Copilot?

Claude Code's docs use reviewing pull requests, creating issues and listing open PRs as example tasks. OpenAI's Codex docs describe the GitHub server as a way to manage GitHub beyond what git supports, such as pull requests and issues. For everything the server exposes, see its repo.

How should you scope GitHub tokens and permissions?

Use a fine-grained personal access token limited to the repositories the agent needs, and grant write access only if you want it to open issues or PRs. Never paste a token into a shared .mcp.json; use environment variables instead.

What else do people ask?

Is there an MCP server for GitHub?

Yes. GitHub offers a remote MCP server at https://api.githubcopilot.com/mcp/, and we track 13 more GitHub-related MCP servers ranked by daily trust score.

What is the GitHub MCP server URL?

The remote server URL is https://api.githubcopilot.com/mcp/. Claude Code's docs show it authenticated with a GitHub personal access token passed as a Bearer header.

How do I add the GitHub MCP server to Claude Code?

Run claude mcp add --transport http github https://api.githubcopilot.com/mcp/ --header "Authorization: Bearer YOUR_GITHUB_PAT". Then check /mcp; a bad token shows an error such as a 401.

How do I add the GitHub MCP server to Cursor or Codex?

In Cursor, add an mcpServers entry with the url and an Authorization header in mcp.json. In Codex, add a [mcp_servers.github] table with the url and a bearer_token_env_var in config.toml.

What token permissions should I give it?

Use a fine-grained personal access token limited to the repositories the agent needs, as Claude Code's docs suggest. Grant write access only if you want the agent to open PRs or issues.

What can an AI agent do with the GitHub MCP server?

Typical tasks are reviewing pull requests, creating issues and listing open PRs assigned to you. Claude Code's docs use these as example prompts.

What should you read next on DartzDabz?

Sources

  1. code.claude.com/docs/en/mcp
  2. developers.openai.com/codex/mcp
  3. cursor.com/docs/context/mcp

Want tomorrow's movers by email?

One short email a day: new agent tools, the biggest trust-score moves, and one build you can copy. Free.