GitHub Repo MCP
About
Browse GitHub repositories, explore directories, and view file contents.
Details
- Author
- Ryan0204
- GitHub stars
- 28
- Downloads
- 453
- Categories
- Developer Tools, Other
Jump to
- Compatible with Cursor, Windsurf,
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
GitHub Repo MCPCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install the server via npx (requires Node.js 18+) or through Smithery for Claude Desktop. Optionally configure a GITHUB_TOKEN environment variable for higher API rate limits. The server provides three tools—getRepoAllDirectories, getRepoDirectories, and getRepoFile—each accepting a repoUrl and, where needed, a path parameter.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"github repo mcp": {
"github-repo-mcp": {
"command": "npx",
"args": [
"github-repo-mcp"
]
}
}
}
}
McpServers
{
"github-repo-mcp": {
"command": "npx",
"args": [
"github-repo-mcp"
]
}
}
GitHub Repo MCP
<p class="center-text">
<strong>GitHub Repo MCP is an open-source MCP server that lets your AI assistants browse GitHub repositories, explore directories, and view file contents.</strong>
</p>
<a href="https://glama.ai/mcp/servers/@Ryan0204/github-repo-mcp">
</a>
Table of contents
<p class="center-text">
<a href="#getting-started">Getting started</a> •
<a href="#feature-overview">Feature overview</a>
</p>
✨ 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
npx github-repo-mcp
Windows NPX
cmd /c npx -y github-repo-mcp
Windows NPX via .cursor/mcp.json
{
"mcpServers": {
"github-repo-mcp": {
"command": "wsl",
"args": [
"bash",
"-c",
"cmd /c npx -y github-repo-mcp"
],
"enabled": true
}
}
}
Windows NPX via .cursor/mcp.json (if path not set)
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





