MCP Catalogs
首页

github-mcp-server vs github-brain

并排对比,帮你在这两个 MCP server 之间做选择。

github-mcp-server
by github
github-brain
by wham
Stars★ 29,881★ 75
30天用量
综合分6446
官方
分类
GitHub 集成开发者工具效率工具
GitHub 集成开发者工具AI / LLM 工具
实现语言GoGo
最近提交本月3 个月前

github-mcp-server · 概述

GitHub 官方 MCP 服务器将 AI 工具连接到 GitHub 平台,实现仓库管理、问题自动化和代码分析。

github-brain · 概述

GitHub Brain MCP 服务器使用本地数据库快速总结 GitHub 讨论、问题和 PR。

github-mcp-server · 使用场景

  • 在 AI 助手中浏览和分析代码仓库
  • 自动化创建和管理 GitHub 问题与拉取请求
  • 监控和分析 CI/CD 管道和 GitHub Actions 工作流

github-brain · 使用场景

  • 总结 GitHub 讨论和 PR 以用于团队会议
  • 分析特定时间段内用户的贡献
  • 创建高效的 GitHub 活动报告而不受 API 限制

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-brain · 安装

npm i -g github-brain

或使用 npx

npx github-brain@latest

MCP 配置

Claude Desktop

添加到 Claude MCP 配置文件:

{
  "mcpServers": {
    "github-brain": {
      "type": "stdio",
      "command": "github-brain",
      "args": ["mcp"],
      "env": {
        "ORGANIZATION": "你的组织"
      }
    }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。