MCP Catalogs
首页

mcp-git-ingest vs gh-mcp

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

mcp-git-ingest
by adhikasp
gh-mcp
by shuymn
Stars★ 306★ 29
30天用量
综合分4444
官方
分类
GitHub 集成开发者工具本地文件系统
开发者工具GitHub 集成AI / LLM 工具
实现语言PythonGo
最近提交16 个月前本月

mcp-git-ingest · 概述

一个MCP服务器,用于读取GitHub仓库结构和重要文件。

gh-mcp · 概述

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

mcp-git-ingest · 使用场景

  • 无需本地克隆即可分析GitHub仓库
  • 在深入研究实现细节前理解代码库结构
  • 从仓库中提取特定文件用于文档或分析目的

gh-mcp · 使用场景

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

mcp-git-ingest · 安装

安装

  1. 使用uvx安装:
uvx --from git+https://github.com/adhikasp/mcp-git-ingest mcp-git-ingest
  1. 在Claude Desktop中配置:
{
  "mcpServers": {
    "mcp-git-ingest": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/adhikasp/mcp-git-ingest", "mcp-git-ingest"]
    }
  }
}

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"
    }
  }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。