技能潮 SkillTide 提交收录
官方说明10 个来源MCP 服务8 天前
ryan0204/github-repo-mcp

ryan0204/github-repo-mcp

📇 ☁️ 🪟 🐧 🍎 - Browse GitHub repositories, explore directories and view file contents
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add github-repo-mcp -- npx -y github-repo-mcp
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
33 ★ · Ryan0204/github-repo-mcp · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 33 ★ · 10 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 Ryan0204/github-repo-mcp;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

GitHub Repo MCP

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

GitHub Repo MCP is an open-source MCP server that lets your AI assistants browse GitHub repositories, explore directories, and view file contents.
Table of contents
Getting started •
Feature overview
✨ Key features
- 💻 Compatible with Cursor, Windsurf, Claude Desktop, and other MCP clients supporting stdio protocol
- 🔎 Browse the contents of any public GitHub repository
- 📂 Navigate through repository directories and subdirectories
- 📝 View the content of code and text files
- 📦 Easy installation via package manager
Getting Started
Prerequisites
Installing the server requires the following on your system:
- Node.js 18+
- npm or yarn
Step 1. Installation
You can install and run GitHub Repo MCP using Smithery, NPX, or setting in mcp.json of your IDE:
MacOS
Windows NPX
Windows NPX via .cursor/mcp.json
Windows NPX via .cursor/mcp.json (if path not set)
Installing via Smithery
To install GitHub Repo MCP for Claude Desktop automatically via Smithery:
Wait a few seconds or click on the refresh button a few times if it does not register. If it still won't register, make sure you entered the right command.
Step 2. Configuration
The GitHub Repo MCP server can use a GitHub token for higher rate limits when accessing the GitHub API.
Environment Variables
| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| GITHUB_TOKEN | No | None | Your GitHub personal access token for higher rate limits |
Setting Up a GitHub Token (Optional)
While the server works without authentication, GitHub API has rate limits that are much lower for unauthenticated requests. To increase your rate limit:
1. Create a personal access token at https://github.com/settings/tokens
2. Set the token as an environment variable in mcp.json:
Feature Overview
Repository Browsing Tools
The server provides three main tools for interacting with GitHub repositories:
1. getRepoAllDirectories
Lists all files and directories at the root of a GitHub repository.
- **Parameters**:
- repoUrl: The URL of the GitHub repository (e.g., "https://github.com/owner/repo")
2. getRepoDirectories
Lists contents of a specific directory in a GitHub repository.
- **Parameters**:
- repoUrl: The URL of the GitHub repository
- path: The directory path to fetch (e.g., "src")
3. getRepoFile
Retrieves and displays the content of a specific file from a GitHub repository.
- **Parameters**:
- repoUrl: The URL of the GitHub repository
- path: The file path to fetch (e.g., "src/index.js")
Usage Examples
Here are some examples of how to use these tools with an AI assistant:
1. **Browsing a repository root**:
Ask your AI assistant to "Show me the contents of the repository at https://github.com/Ryan0204/github-repo-mcp"
2. **Exploring a specific directory**:
Ask "What files are in the src directory of https://github.com/Ryan0204/github-repo-mcp?"
来源
awesome · https://github.com/Ryan0204/github-repo-mcp
按领域浏览
MCP 服务
Traction
33 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引