OlympHill
G

github-repo-mcpGitHub 仓库的模型上下文协议(MCP)服务器 // 读取 GitHub 仓库

(0)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

GitHub Repo MCP 是一个开源的模型上下文协议(MCP)服务器,允许 AI 助手浏览 GitHub 仓库,探索目录,并查看文件内容。它兼容多个 MCP 客户端,包括 Cursor、Windsurf 和 Claude Desktop。服务器可以通过包管理器轻松安装,并配置为使用 GitHub token 以获得更高的速率限制。它提供了仓库浏览、目录探索和文件内容检索的工具。

主要功能

  • 浏览公共 GitHub 仓库内容
  • 导航仓库目录和子目录
  • 查看代码和文本文件内容
  • 通过包管理器轻松安装
  • 支持 stdio 协议

价格

模型
Free
评分
暂无评价

使用场景

仓库浏览

使用 AI 助手显示 GitHub 仓库的内容,例如 https://github.com/Ryan0204/github-repo-mcp。

目录探索

要求 AI 助手列出 GitHub 仓库中特定目录的文件,例如 'src' 目录。

优点 & 缺点

优点

  • 兼容多个 MCP 客户端
  • 安装和配置简单
  • 支持 GitHub token 以获得更高的速率限制
  • 允许 AI 助手浏览和与 GitHub 仓库交互

缺点

  • 需要 Node.js 18+ 和 npm 或 yarn 进行安装
  • 如果没有身份验证,则适用 GitHub API 速率限制

评测

登录以留下评测。

暂无评测。来当第一个吧!

问答

What are the system requirements and installation steps?

You need Node.js 18+ and npm or yarn. Installation is a single command via npx (e.g., `npx github-repo-mcp`) or through Smithery, after which you configure any needed GITHUB_TOKEN in the mcp.json file.

Asked by Idris Suleiman · Oct 8, 2025

Do I need a GitHub token, and how does it affect usage?

A token is optional; without it the server can browse public repos but is limited by GitHub’s low unauthenticated API rate limits. Supplying a personal access token raises those limits.

Asked by Jasper Vermeer · Aug 25, 2025

Which AI assistants or tools can connect to the MCP server?

The server works with any MCP client that supports the stdio protocol, including Cursor, Windsurf, Claude Desktop and other compatible tools.

Asked by Celia Ramirez · Jun 26, 2025

Is GitHub Repo MCP free to use or are there any licensing fees?

GitHub Repo MCP is an open‑source project, so there are no licensing fees; you can install and run it at no cost.

Asked by Cristina Moreno · Jun 20, 2025

提问

服务配缩器 的替代品