MCP Catalogs
首页

gh-mcp vs github-brain

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

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

gh-mcp · 概述

GitHub CLI 扩展,使用现有的 gh 身份验证运行 github-mcp-server,无需手动设置 PAT。

github-brain · 概述

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

gh-mcp · 使用场景

  • 将 GitHub 访问与支持 MCP 的 AI 编码助手集成
  • 无需管理单独的 PAT 即可访问 GitHub 仓库和问题
  • 使 Claude Code 或其他 MCP 客户端能够与 GitHub 资源交互

github-brain · 使用场景

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

gh-mcp · 安装

安装

gh extension install shuymn/gh-mcp

Claude Desktop 配置

将以下内容添加到您的 Claude Desktop 配置中:

{
  "github": {
    "command": "gh",
    "args": ["mcp"]
  }
}

使用环境变量:

{
  "github": {
    "command": "gh",
    "args": ["mcp"],
    "env": {
      "GITHUB_TOOLSETS": "repos,issues,pull_requests",
      "GITHUB_READ_ONLY": "1"
    }
  }
}

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 公开数据自动生成,定期更新。