github-mcp-server
by github·★ 29,881·Score 64
GitHub's official MCP Server connects AI tools to GitHub's platform for repository management, issue automation, and code analysis.
Overview
The GitHub MCP Server is a robust implementation of the Model Context Protocol that enables AI agents, assistants, and chatbots to interact directly with GitHub's ecosystem. It provides comprehensive access to repositories, code files, issues, pull requests, and GitHub Actions workflows. The server supports both remote and local deployment options, with detailed documentation for various MCP hosts including VS Code, Claude Desktop, Cursor, and more. Implementation is in Go with strong code quality signals as evidenced by the high star count and recent commits.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this when you need direct GitHub integration for AI tools, especially if you're already using GitHub Copilot or want to leverage GitHub's official implementation for better compatibility.
When NOT to choose this
Avoid if you need self-hosting without internet access, require offline functionality, or need to integrate with other version control systems beyond GitHub.
Tools this server exposes
12 tools extracted from the READMEbrowse_repositoryBrowse and query code, search files, and understand project structure across a repository
create_issueCreate a new GitHub issue in a repository
update_issueUpdate an existing GitHub issue with new information
manage_pull_requestCreate, update, or manage pull requests in a repository
monitor_workflowsMonitor GitHub Actions workflow runs and analyze build status
analyze_security_findingsExamine security findings in a repository
create_releaseCreate a new release on GitHub
analyze_commitsAnalyze commit history and changes in a repository
manage_team_discussionsAccess and manage team discussions and notifications
query_codebaseQuery code and understand patterns in the codebase
analyze_activityAnalyze team activity and repository statistics
dependabot_alertsReview and manage Dependabot alerts for dependencies
Note: Tool names were inferred from use cases and feature descriptions in the README rather than from an explicit tools section. The server documentation was not fully accessible in the provided text.
Comparable tools
Installation
Installation Options
Remote Installation (Recommended)
Add to your MCP host configuration (e.g., VS Code 1.101+):
{
"servers": {
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/"
}
}
}For Claude Desktop, add to your claude_desktop_config.json:
{
"mcpServers": {
"github": {
"command": "http",
"args": ["https://api.githubcopilot.com/mcp/"]
}
}
}Local Installation
Using Docker:
docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=your_token ghcr.io/github/github-mcp-serverOr install from source after cloning the repository.
FAQ
- What authentication methods are supported?
- The GitHub MCP Server supports both OAuth authentication and GitHub Personal Access Tokens (PAT). OAuth is recommended for better security and user experience, while PAT can be used as an alternative.
- Does it work with GitHub Enterprise Server?
- Yes, both remote and local versions support GitHub Enterprise. For remote, you need GitHub Enterprise Cloud. For local, you can use the --gh-host flag or GITHUB_HOST environment variable to specify your Enterprise Server endpoint.
On Hacker News
Recent discussion from the developer community.
- Story by tosh · 2025-04-07
- GitHub MCP Server▲ 5💬 2Story by jonbaer · 2025-04-04
Compare github-mcp-server with
Last updated · Auto-generated from public README + GitHub signals.