github-mcp-server vs gh-mcp
Side-by-side comparison to help you pick between these two MCP servers.
github-mcp-server by github | gh-mcp by shuymn | |
|---|---|---|
| Stars | ★ 29,881 | ★ 29 |
| 30d uses | — | — |
| Score | 64 | 44 |
| Official | — | — |
| Categories | GitHubDeveloper ToolsProductivity | Developer ToolsGitHubAI / LLM Tools |
| Language | Go | Go |
| Last commit | this month | this month |
github-mcp-server · Summary
GitHub's official MCP Server connects AI tools to GitHub's platform for repository management, issue automation, and code analysis.
gh-mcp · Summary
GitHub CLI extension that runs github-mcp-server using existing gh authentication without manual PAT setup.
github-mcp-server · Use cases
- Browse and analyze code repositories from within AI assistants
- Automate creation and management of GitHub issues and pull requests
- Monitor and analyze CI/CD pipelines and GitHub Actions workflows
gh-mcp · Use cases
- Integrating GitHub access with AI coding assistants that support MCP
- Accessing GitHub repositories and issues without managing separate PATs
- Enabling Claude Code or other MCP clients to interact with GitHub resources
github-mcp-server · Install
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.
gh-mcp · Install
Installation
gh extension install shuymn/gh-mcpConfiguration for Claude Desktop
Add this to your Claude Desktop configuration:
{
"github": {
"command": "gh",
"args": ["mcp"]
}
}With environment variables:
{
"github": {
"command": "gh",
"args": ["mcp"],
"env": {
"GITHUB_TOOLSETS": "repos,issues,pull_requests",
"GITHUB_READ_ONLY": "1"
}
}
}