github-mcp-server vs github-to-mcp
并排对比,帮你在这两个 MCP server 之间做选择。
github-mcp-server by github | github-to-mcp by nirholas | |
|---|---|---|
| Stars | ★ 29,881 | ★ 28 |
| 30天用量 | — | — |
| 综合分 | 64 | 45 |
| 官方 | — | — |
| 分类 | GitHub 集成开发者工具效率工具 | 开发者工具AI / LLM 工具GitHub 集成 |
| 实现语言 | Go | TypeScript |
| 最近提交 | 本月 | 本月 |
github-mcp-server · 概述
GitHub 官方 MCP 服务器将 AI 工具连接到 GitHub 平台,实现仓库管理、问题自动化和代码分析。
github-to-mcp · 概述
将 GitHub 仓库转换为 MCP 服务器,从 OpenAPI、GraphQL 和 REST API 中提取工具。
github-mcp-server · 使用场景
- 在 AI 助手中浏览和分析代码仓库
- 自动化创建和管理 GitHub 问题与拉取请求
- 监控和分析 CI/CD 管道和 GitHub Actions 工作流
github-to-mcp · 使用场景
- 使 AI 助手能够以编程方式探索和交互代码库
- 从现有 API 文档自动生成 MCP 服务器
- 将 AI 助手与专有或内部代码仓库集成
github-mcp-server · 安装
安装选项
远程安装(推荐)
添加到您的 MCP 主机配置(例如 VS Code 1.101+)中:
{
"servers": {
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/"
}
}
}对于 Claude Desktop,添加到您的 claude_desktop_config.json 中:
{
"mcpServers": {
"github": {
"command": "http",
"args": ["https://api.githubcopilot.com/mcp/"]
}
}
}本地安装
使用 Docker:
docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=your_token ghcr.io/github/github-mcp-server或者克隆仓库后从源码安装。
github-to-mcp · 安装
Web 界面(最简单)
访问 [github-to-mcp.vercel.app](https://github-to-mcp.vercel.app) — 粘贴任何 GitHub URL,点击生成,下载您的 MCP 服务器。
CLI(一键命令)
npx @nirholas/github-to-mcp https://github.com/stripe/stripe-nodeClaude Desktop 配置
添加到 claude_desktop_config.json:
{
"mcpServers": {
"github-repo": {
"command": "npx",
"args": ["@nirholas/github-to-mcp", "https://github.com/your/repo"],
"env": {}
}
}
}