AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompareGuides
Submit Tool
ToolsCategoriesTrendingNewCompareGuides
Home/
API Integration/
GitHub MCP Server
GitHub MCP Server logo

GitHub MCP Server

Active·★ 33.5k·MIT·Updated 2026-10-08
★ Most Popular★ Trending★ Essential

The GitHub MCP Server is GitHub's official way to connect AI tools to the GitHub platform. Agents can browse and search code, analyse commits, create and update issues and pull requests, monitor GitHub Actions runs and diagnose build failures, review security findings and Dependabot alerts, and work with discussions and notifications.

It is useful for developers who want an assistant to triage issues, summarise pull requests, investigate failing CI or explore an unfamiliar repository. GitHub hosts a remote server at https://api.githubcopilot.com/mcp/ for clients that support remote MCP (VS Code 1.101+, Claude Desktop, Cursor, Windsurf and others), authenticated with OAuth or a personal access token. A local version runs via Docker or a binary for clients that only support local servers.

Getting started: add the remote URL to your MCP client and sign in, or run the Docker image with a personal access token. Use `--toolsets` to expose only the capability groups you need, `--read-only` to block all write operations, and consider lockdown mode when working with public repositories.

#GitHub#AI Agents#MCP#Automation#Developer Tools#Web Browsing#Coding
$ Install
$ docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server
↗ Visit site★ GitHub
01

Features

01Browse and query code, files, commits across any accessible repository
02Create, update, and manage issues and pull requests via natural language
03Monitor GitHub Actions workflow runs and analyze build failures
04Review Dependabot alerts and security code scanning findings
05Available as a hosted remote server or self-hosted via Docker
02

Why choose it

+Official and actively maintained by GitHub, covering repositories, issues, pull requests, Actions, security alerts and more.
+Hosted remote option with OAuth means no local setup or token management for supported clients.
+Fine-grained control through toolsets, individual tool selection and a read-only mode.
+MIT licensed, with a local Docker version for clients without remote support.
03

Trade-offs

!With default settings an agent can write to repositories, issues and pull requests; start with read-only mode and narrow toolsets.
!Repository content such as issues and comments can carry prompt injection. Lockdown mode reduces this risk for public repositories, but GitHub states it is not an authorization boundary.
!Exposing many toolsets adds a large number of tools to the model's context, which can hurt tool selection.
04

Compatibility

VS Code
Native
Verified via docs
Claude Desktop
Supported
Verified via docs
Cursor
Supported
Verified via docs
05

Quick start

1
$ docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server
06

Use cases

↳AI-assisted code review, issue triage, and PR management in GitHub
↳Automated CI/CD analysis — identifying and explaining workflow failures
↳Building multi-step agent workflows that combine GitHub data with other MCP tools
07

How it compares

≈vs GitMCP: GitMCP is a free remote server focused on giving agents documentation and code context for any public GitHub project; the GitHub MCP Server operates on your account with full read and write capabilities.
≈vs the GitHub CLI: a coding agent with shell access can use `gh` for many of the same tasks; the MCP server provides structured tools that also work in clients without a terminal.
≈vs Atlassian MCP Server: the equivalent official server for teams that track work in Jira and Confluence instead of GitHub Issues.
08

Alternatives

python-sdk logo
python-sdk★ 24.5k
The official Python SDK for Model Context Protocol servers and clients
Figma-Context-MCP logo
Figma-Context-MCP★ 16.0k
MCP server to provide Figma layout information to AI coding agents like Cursor
headroom logo
headroom★ 74.8k
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. Around 20% fewer tokens for coding agents and 60-95% fewer for JSON, with the same answers. Library, proxy, and MCP server.
Context7 logo
Context7★ 62.8k
MCP Server that provides up-to-date code documentation for LLMs and AI code editors.
MindsHub (formerly MindsDB) logo
MindsHub (formerly MindsDB)★ 39.8k
MindsHub (formerly MindsDB) is an agent workspace for knowledge work and software development, with connected data sources, a model router across frontier and open models, open-source agent harnesses, and publishable artifacts.
n8n logo
n8n★ 206.7k
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
Brave Search MCP logo
Brave Search MCP★ 1.5k
Allow your AI Agent to search the real-time internet using Brave Search API. Essential for getting up-to-date information.
Microsoft AutoGen logo
Microsoft AutoGen★ 61.3k
A framework that enables the development of LLM applications using multiple agents that can converse with each other to solve tasks.
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Compatibility05Quick start06Use cases07How it compares08Alternatives
Stats
GitHub Stars★ 33.5k
Last commit1d ago
StatusActive
LicenseMIT
CategoryAPI Integration
Trend (30d)
+1.3k↑ 4.9%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
AboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.