github / github-mcp-server
git clone https://github.com/github/github-mcp-server.git
v2.0.2 · 12d ago
🔥 on GitHub Trending today
GitHub's official MCP Server
—
stars, 24h
+249
stars, 7 days · #262
—
stars, 30 days
34k
★ total · +1% this week
5.2k
forks · 380 open issues
Star history starts 2026-10-20; the chart appears after the second daily snapshot.
LanguageGo
LicenseMIT
Created2025-03-04 (1y ago)
Last push1d ago
Watchers411
OwnerOrganization
Seen on GitHub Trending
- 2026-10-20 — #13 weekly in go · +249 ★
GitHub topics
Links
README excerpt
# 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 OAuth Using a GitHub PAT VS Code (version 1.101 or greater) [code] [code] ### 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 - **