MCP server

GitHub MCP server

GitHub has an official MCP server (2, in fact): Repos, issues, pull requests, Actions, code scanning and Copilot coding agent, hosted or local. Below are all 4 servers with the setup for 13 clients: Claude Code, Claude Desktop, ChatGPT, Cursor, VS Code, Codex, Gemini CLI and more. Checked 2026-10-24 against each project's own repo, docs and the official MCP Registry.

GitHub

Official · GitHubRemote

Repos, issues, pull requests, Actions, code scanning and Copilot coding agent, hosted or local.

★ 34kpushed 2026-10-23MIThttps://api.githubcopilot.com/mcp/on DevHunt

The URL also takes Authorization as a header (see its docs), for clients or setups without OAuth sign-in.

Run in a terminal, then /mcp inside Claude Code to sign in. Add --scope project to share it via .mcp.json. docs

claude mcp add --transport http github https://api.githubcopilot.com/mcp/

DeepWiki

Official · CognitionRemote

Ask questions about any public GitHub repo, answered from DeepWiki's generated docs.

https://mcp.deepwiki.com/mcp

Run in a terminal, then /mcp inside Claude Code to sign in. Add --scope project to share it via .mcp.json. docs

claude mcp add --transport http deepwiki https://mcp.deepwiki.com/mcp

Repomix

CommunityLocal (stdio)

Pack a local or remote repo into one AI-friendly file the model can read or search.

★ 29kpushed 2026-10-24MIT

Run in a terminal. Everything after -- is the command that starts the server. docs

claude mcp add --transport stdio repomix -- npx -y repomix --mcp

GitMCP

CommunityRemote

Turns any GitHub repo or Pages site into a docs server: swap github.com for gitmcp.io.

★ 8.5kpushed 2026-05-08Apache-2.0https://gitmcp.io/docs

Run in a terminal, then /mcp inside Claude Code to sign in. Add --scope project to share it via .mcp.json. docs

claude mcp add --transport http gitmcp https://gitmcp.io/docs

Agent skills for GitHub

2

The MCP server gives the agent GitHub's tools; a skill teaches it how to use GitHub well. Install with the skills CLI or see each skill's page for Claude Code, Codex, Copilot and Cursor.

  • GitHub: Address PR CommentsOpenAI

    Works through review comments on the current branch's pull request using the gh CLI.

    npx skills add openai/skills --skill gh-address-comments
  • GitHub: Fix CIOpenAI

    Reads failing GitHub Actions checks with gh, summarizes the cause and proposes a fix.

    npx skills add openai/skills --skill gh-fix-ci

Which one to pick

  • Start with GitHub: it's maintained by GitHub and follows its API.
  • A remote server (GitHub, DeepWiki and GitMCP) needs no install and signs you in with OAuth. It's also the only kind ChatGPT and claude.ai can use.
  • A local server (Repomix) runs on your machine with an API key or token, and works offline from the vendor's hosting.

FAQ

Is there an official GitHub MCP server?+

Yes: GitHub and DeepWiki, maintained by GitHub. There are also 2 community servers: Repomix and GitMCP.

How do I connect GitHub to Claude?+

In Claude Code run: claude mcp add --transport http github https://api.githubcopilot.com/mcp/, then /mcp to sign in. In Claude Desktop or claude.ai, go to Customize > Connectors > Add > Add custom connector and paste https://api.githubcopilot.com/mcp/.

How do I use the GitHub MCP server in Cursor or VS Code?+

Open the Cursor or VS Code tab on the server above: it has the exact mcp.json entry and a one-click install link. The same server also works in Claude Code, Claude Desktop / claude.ai, ChatGPT, Cursor, VS Code and Codex.

Can I use the GitHub MCP server in ChatGPT?+

ChatGPT connects to remote MCP servers only. GitHub, DeepWiki and GitMCP have a hosted URL: at chatgpt.com/plugins choose + > Add custom MCP server, paste the URL and create it as a plugin.

Is it safe to give an AI agent access to GitHub?+

Start with the official server, a read-only or test account and approval prompts on for anything that writes. Content the agent reads from GitHub (tickets, messages, pages) can carry prompt-injection instructions, so don't auto-approve actions.

All developer tools & git MCP servers · Agent skills · How MCP setup works in each client

MCP servers for similar apps: Apollo GraphQL · Azure DevOps · Docker · Expo · Facebook · Gemini · Git · GitHub Actions · GitLab · Instagram · JetBrains · Keploy · LaunchDarkly · MATLAB · Meta · Nx · Postman · Salesforce · Xcode