+31
日增长
+295
周增长
34,491
stars
5,352
forks
413
watchers
1,915
prs
1,195
issues
87
releases
README
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
1. A compatible MCP host with remote server support (VS Code 1.101+, Claude Desktop, Cursor, Windsurf, etc.)
2. 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)
json
{
"servers": {
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/"
}
}
}
json
{
"servers": {
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/",
Top issues
#738Allow uploading files as attachments24 comments · 2025-07-23#1048MCP Governance - Allow/Deny List for MCP for Organizations and Teams14 comments · 2025-09-04#1683Addressing GitHub MCP's Key Issues: Token Scopes, Verbose Prompts, and Lack of Project Context13 comments · 2025-12-24#2823Insiders Feedback: MCP Apps: issue_write form widget collapses immediately in Claude clients — parameters never hydrate, submit impossible12 comments · 2026-07-06#1402VSCode: Toolset name mismatch: 'github/*' fails with Unknown tool, but 'github' warns it's deprecated12 comments · 2025-11-13#1392Assign custom agent to issue via assign_copilot_to_issue12 comments · 2025-11-11#942VS Code Github Copilot calling create_pull_request_with_copilot on remote MCP using fine-grained PAT gets 4019 comments · 2025-08-21#1921Feature Request: Add support for GitHub Security APIs (Dependabot, Code Scanning, Secret Scanning)7 comments · 2026-01-28
Discussions
#3855Onboarding request: com.thrivedesk/mcp (ThriveDesk)0 comments · 2026-11-15#3851Onboarding request - Compare the Cloud (net.comparethecloud/mcp)0 comments · 2026-11-14#3850Onboarding request: com.gitranks/contribute (GitRanks Contribute) for github.com/mcp0 comments · 2026-11-14#3846MCP config review on pull requests0 comments · 2026-11-14#3844Onboarding request: com.cosmicjs/mcp and io.github.conciergeprotocol/mcp0 comments · 2026-11-13#3841Onboarding request: io.docquery/docquery (DocQuery) for github.com/mcp1 comments · 2026-11-13#3837Onboarding request: ai.timefire/record (Timefire) for github.com/mcp1 comments · 2026-11-13#3836Should a client declare the same capabilities on tools/list as on tools/call (2026-07-28)?0 comments · 2026-11-12
Latest release
GitHub MCP Server 2.1.0 v2.1.0 2026-11-03What's Changed build(deps-dev): bump @types/node from 26.6.4 to 26.6.5 in /ui by @dependabot[bot] in https://github.com/github/github-mcp-server/pull/3516 docs: fix broken MCP SDKs link in host-integration.md by @muba76ma in https://github.com/github/github-mcp-server/pull/3598 build(deps): bump @primer/octicons-react from 19.38.0 to 19.40.0 in /ui by @dependabot[bot] in https://github.com/github/github-mcp-server/pull/3515 build(deps-dev): bump vite-plugin-singlefile from 2.3.3 to 2.3.4 in /ui by @dependabot[bot] in https://github.com/github/github-mcp-server/pull/3551 build(deps):
相关报道 (5)
News & coverage (14)
Hacker NewsGitHub's Official MCP Server▲ 6 · 0 comments · 2025-04-07Hacker NewsGitHub MCP Server▲ 5 · 2 comments · 2025-04-04SD TimesNew Relic Change Tracking Brings Headless Intelligent Observability Directly into GitHub Copilot2026-10-29MarketScreenerNew Relic Announces Suite Of Integrations For GitHub Copilot2026-10-28newapi.varindia.comNew Relic Integrates Change Tracking into GitHub Copilot2026-10-28MarketScreenerNew Relic kündigt eine Reihe von Integrationen für GitHub Copilot an2026-10-28MarketScreenerNew Relic anuncia un conjunto de integraciones para GitHub Copilot2026-10-28ZonebourseNew Relic annonce une série d’intégrations pour GitHub Copilot2026-10-28AOLNew Relic Change Tracking Brings Headless Intelligent Observability Directly into GitHub Copilot, Empowering Developers to Ship Code with Confidence2026-10-27The GitHub BlogGitHub MCP Server supports the next MCP specification2026-07-23