github-mcp-server
GitHub's official MCP Server
- 33.9k estrellas
- 5.2k forks
- 390 issues abiertos
- Lenguaje: Go
- Licencia: MIT
- actualizado
Instalación
remote · oauthclaude mcp add --transport http github https://api.githubcopilot.com/mcp/{
"mcpServers": {
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/"
}
}
}Servidor remoto, sin binario local. La primera vez se abre la ventana de OAuth del proveedor.
https://api.githubcopilot.com/mcp/Servidor remoto, sin binario local. La primera vez se abre la ventana de OAuth del proveedor.
{
"mcpServers": {
"github": {
"url": "https://api.githubcopilot.com/mcp/"
}
}
}Servidor remoto, sin binario local. La primera vez se abre la ventana de OAuth del proveedor.
- Ejecuta el comando en tu terminal (Claude Code) o añade la URL como conector (Claude Desktop) o en mcp.json (Cursor).
- Autoriza el acceso cuando el cliente lo pida.
- Reinicia la sesión: las herramientas del servidor aparecen solas.
Nota editorial
GitHub's official MCP server, written in Go, connects AI tools directly to GitHub's platform through the Model Context Protocol. It exposes toolsets covering repository browsing, issue and pull request creation and management, GitHub Actions workflow monitoring, Dependabot and security alert review, release management, notifications, and team discussions. The server runs either as a remote instance hosted at api.githubcopilot.com or as a local binary, and supports both OAuth and Personal Access Token authentication. It integrates with Claude Desktop and Claude Code, as well as VS Code, Cursor, Windsurf, JetBrains, Zed, and several other MCP hosts. One notable detail is that VS Code 1.101 or later can connect to the remote server with a single click using OAuth, requiring no manual token handling. Developers, DevOps engineers, and team leads who want AI agents to query codebases, triage bugs, or monitor CI pipelines without leaving a conversational interface are the primary audience.
Resumen de MCP Servers
GitHub MCP Server
The GitHub MCP Server connects AI tools directly to GitHub's platform. This gives AI agents, assistants, and chatbots the ability to read repositories and code files, manage issues and PRs, analyze code, and automate workflows. All through natural language interactions.
Use Cases
Repository Management: Browse and query code, search files, analyze commits, and understand project structure across any repository you have access to.
Issue & PR Automation: Create, update, and manage issues and pull requests. Let AI help triage bugs, review code changes, and maintain project boards.
CI/CD & Workflow Intelligence: Monitor GitHub Actions workflow runs, analyze build failures, manage releases, and get insights into your development pipeline.
Code Analysis: Examine security findings, review Dependabot alerts, understand code patterns, and get comprehensive insights into your codebase.
Team Collaboration: Access discussions, manage notifications, analyze team activity, and streamline processes for your team.
Built for developers who want to connect their AI tools to GitHub context and capabilities, from simple natural language queries to complex multi-step agent workflows.
Using the Go module
The Go module path is github.com/github/github-mcp-server/v2. Library consumers
must use this prefix in imports, for example
github.com/github/github-mcp-server/v2/pkg/github, and in go get commands.
No /v2 subdirectory is needed when building from a repository checkout.
The existing v2.0.0 tag predates this module-path correction and cannot be used
as a Go module. After this change is merged, a new release such as v2.0.1 must
be tagged from a commit containing the corrected module path. Until then,
consumers can use a pseudo-version from a commit containing this change.
Remote GitHub MCP Server
The remote GitHub MCP Server is hosted by GitHub and provides the easiest method for getting up and running. If your MCP host does not support remote MCP servers, don't worry! You can use the local version of the GitHub MCP Server instead.
Prerequisites
A compatible MCP host with remote server support (VS Code 1.101+, Claude Desktop, Cursor, Windsurf, etc.)
Any applicable policies enabled
Install in VS Code
For quick installation, use one of the one-click install buttons above. Once you complete that flow, toggle Agent mode (located by the Copilot Chat text input) and the server will start. Make sure you're using VS Code 1.101 or later for remote MCP and OAuth support.
Alternatively, to manually configure VS Code, choose the appropriate JSON block from the examples below and add it to your host configuration:
Using OAuthUsing a GitHub PAT VS Code (version 1.101 or greater)
{
"servers": {
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/"
}
}
}{
"servers": {
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/",
"headers": {
"Authorization": "Bearer ${input:github_mcp_pat}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "github_mcp_pat",
"description": "GitHub Personal Access Token",
"password": true
}
]
}Install in other MCP hosts
Copilot CLI - Installation guide for GitHub Copilot CLI
GitHub Copilot in other IDEs - Installation for JetBrains, Visual Studio, Eclipse, and Xcode with GitHub Copilot
Claude Applications - Installation guide for Claude Desktop and Claude Code CLI
Codex - Installation guide for OpenAI Codex
Cursor - Installation guide for Cursor IDE
OpenCode - Installation guide for the OpenCode terminal agent
Windsurf - Installation guide for Windsurf IDE
Zed - Installation guide for Zed editor
Rovo Dev CLI - Installation guide for Rovo Dev CLI
Note: Each MCP host application needs to configure a GitHub App or OAuth App to support remote access via OAuth. Any host application that supports remote MCP servers should support the remote GitHub server with PAT authentication. Configuration details and support levels vary by host. Make sure to refer to the host application's documentation for more info.
Configuration
Toolset configuration
See Remote Server Documentation for full details on remote server configuration, toolsets, headers, and advanced usage. This file provides comprehensive instructions and examples for connecting, customizing, and installing the remote GitHub MCP Server in VS Code and other MCP hosts.
When no toolsets are specified, default toolsets are used.
Insiders Mode
Try new features early! The remote server offers an insiders version with early access to new features and experimental tools.
Using URL PathUsing Header
{
"servers": {
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/insiders"
}
}
}{
"servers": {
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/",
"headers": {
"X-MCP-Insiders": "true"
}
}
}
}See Remote Server Documentation for more details and examples, and Insiders Features for a full list of what's available.
GitHub Enterprise
GitHub Enterprise Cloud with data residency (ghe.com)
GitHub Enterprise Cloud can also make use of the remote server.
Example for https://octocorp.ghe.com with GitHub PAT token:
{
...
"github-octocorp": {
"type": "http",
"url": "https://copilot-api.octocorp.ghe.com/mcp",
"headers": {
"Authorization": "Bearer ${input:github_mcp_pat}"
}
},
...
}Note: When using OAuth with GitHub Enterprise with VS Code and GitHub Copilot, you also need to configure your VS Code settings to point to your GitHub Enterprise instance - see Authenticate from VS Code
GitHub Enterprise Server
GitHub Enterprise Server does not support remote server hosting. Please refer to GitHub Enterprise Server and Enterprise Cloud with data residency (ghe.com) from the local server configuration.
Local GitHub MCP Server
Lo que la gente pregunta sobre github-mcp-server
¿Qué es github/github-mcp-server?
github/github-mcp-server es mcp servers para el ecosistema de Claude AI. GitHub's official MCP Server Tiene 33.9k estrellas en GitHub y su última actualización registrada es del 2026-10-23.
¿Cómo se instala github-mcp-server?
Puedes instalar github-mcp-server clonando el repositorio (https://github.com/github/github-mcp-server) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar github/github-mcp-server?
Nuestro agente de seguridad ha analizado github/github-mcp-server y le ha asignado un Trust Score de 100/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene github/github-mcp-server?
github/github-mcp-server es mantenido por github. La última actividad registrada en GitHub es del 2026-10-23, con 390 issues abiertos.
¿Hay alternativas a github-mcp-server?
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
¿Mantienes este repo? Muestra su Trust Score en tu README
La insignia muestra el Trust Score y el veredicto actuales de este repositorio y enlaza a esta página. Sigue los datos del catálogo: nadie puede comprar ni editar la puntuación que enseña.
[](https://claudewave.com/en/repo/github-github-mcp-server)<a href="https://claudewave.com/en/repo/github-github-mcp-server"><img src="https://claudewave.com/api/badge/github-github-mcp-server" alt="ClaudeWave Trust Score for github/github-mcp-server" width="320" height="64"></a>