Servidor MCP Oficial

GitHub MCP Server

GitHub's official MCP server for reading repos, managing issues and PRs, and monitoring Actions from AI tools.

Autor
GitHub
Funciona com
Any MCP client, Claude Code, Cursor, OpenAI Codex, Windsurf
Licença
MIT
Documentado
Oct 2, 2026

O que é GitHub MCP Server

Connects AI tools to GitHub so agents can read repositories and code, manage issues and pull requests, analyze code and automate workflows. Available as a remote server hosted by GitHub or a local Docker server.

O que ela faz

Como o GitHub MCP Server se integra: quais agentes o executam e o que ele acrescentaEXECUTA EMSeu agenteAny MCP clientClaude CodeOpenAI CodexCursor4 hosts documentadosMCP SERVER · OFICIALGitHub MCP ServerConecte o agente a ferramentas, d…4 etapas de instalação1 nota de permissãolicença: MITO QUE ELA ACRESCENTAO que ela fazBrowse and search repositories, c…Create, update and manage issues…Monitor GitHub Actions runs and m…Review code security findings and…agente → extensão → nova capacidade · do repositório ou da documentação oficial
Onde GitHub MCP Server roda e o que acrescenta, segundo a documentação
  • Browse and search repositories, code and commits
  • Create, update and manage issues and pull requests
  • Monitor GitHub Actions runs and manage releases
  • Review code security findings and Dependabot alerts
  • Access discussions and notifications
  • Limit tools with toolsets via --toolsets or --tools

Quando usar

Boa adequação

  • Giving an agent GitHub context from VS Code, Claude, Codex, Cursor or Windsurf
  • Triaging issues and reviewing PRs in natural language
  • Debugging CI failures

Não indicado para

  • Hosts without remote MCP support, unless you use the local Docker server
  • Setups where broad token scope is not acceptable

Como instalar o GitHub MCP Server

Você precisa de: MCP host with remote server support (e.g. VS Code 1.101+, Claude Desktop, Cursor, Windsurf); Docker for the local server (image ghcr.io/github/github-mcp-server); GitHub OAuth login or personal access token

  1. Pick the remote server (https://api.githubcopilot.com/mcp/) or the local Docker server
  2. Follow the install guide for your host (Claude, Codex, Cursor, Windsurf, VS Code and others are linked in the README)
  3. Authenticate with OAuth or a GitHub personal access token
  4. Optionally restrict capabilities with toolsets
Exemplo de configuração (da documentação oficial)
{
  "servers": {
    "github": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/"
    }
  }
}

Permissões e segurança

A que ela tem acesso

  • Access to GitHub APIs per the token or OAuth scopes you grant

Notas de segurança dos mantenedores

  • README: enable only the token permissions you are comfortable granting
  • README has a Token Security Best Practices section: minimum scopes, store tokens in env variables, restrict config file permissions

Revise a fonte antes de conceder ao agente acesso a credenciais ou sistemas de produção. Documentamos o que os mantenedores informam; não auditamos o código.

Limitações

  • Each host must configure a GitHub App or OAuth App for remote OAuth
  • Support levels vary by host

Ferramentas que ela estende

Claude Code

Web · Desktop

Ainda sem avaliações de usuários

Ferramenta de programação agêntica da Anthropic que lê sua base de código, edita arquivos e executa comandos pelo terminal, por IDEs, pelo app desktop ou pelo navegador.

O plano gratuito termina em: Não há plano gratuito: o Claude Code está incluído nas assinaturas pagas do Claude (Pro, Max, Team, Enterpris…

Listed Ainda não avaliada

Verificado code.claude.com (abre o site de Claude Code em uma nova aba)

A partir de $20/mo EUA · verificado Sep 29

Ainda sem avaliações de usuários

AI coding IDE, formerly Windsurf, now Devin Desktop: manage local and cloud coding agents inside a full IDE.

O plano gratuito termina em: Light quota for agent usage, resets daily and weekly, Limited model availability

Listed Ainda não avaliada

Verificado windsurf.com (abre o site de Devin Desktop (formerly Windsurf) em uma nova aba)

OpenAI Codex

Web · Desktop · Mobile

Ainda sem avaliações de usuários

OpenAI's coding agent for the CLI, IDE extension, desktop app, web and iOS, included in ChatGPT plans or billed by API.

O plano gratuito termina em: Desktop app only listed, Usage limits apply

Listed Ainda não avaliada

Verificado developers.openai.com (abre o site de OpenAI Codex em uma nova aba)

Grátis · pago a partir de $8/mo EUA · verificado Sep 29

Perguntas frequentes

How do I connect GitHub MCP Server to Claude Code or Cursor?

Use the host-specific guides linked in the README (docs/installation-guides), pointing at the remote URL https://api.githubcopilot.com/mcp/ or the local Docker server. fonte

Does GitHub MCP Server need a personal access token?

Not necessarily; OAuth is supported, but a PAT can be used and takes precedence if GITHUB_PERSONAL_ACCESS_TOKEN is set. fonte

Can I limit what GitHub MCP Server exposes?

Yes, with the --toolsets flag or GITHUB_TOOLSETS variable, and --tools for single tools. fonte

Guias relacionados

Fontes e lacunas

Não informado pelos mantenedores: last_release date not visible in the checked README.

Mais extensões para conhecer