Version Control · Developer Tools

GitHub Repository logo

GitHub Repository

ryan0204/github-repo-mcp

GitHub Repo MCP is an open-source MCP server that allows AI assistants to browse GitHub repositories, explore directory structures and view file contents, supporting MCP clients such as Cursor.

Install

npx github-repo-mcp

Client configuration

{
  "mcpServers": {
    "github-repo-mcp": {
      "command": "wsl",
      "args": [
        "bash",
        "-c",
        "cmd /c npx -y github-repo-mcp"
      ]
    }
  }
}
GitHub stars
2
Author
@ryan0204
Category
Version Control, Developer Tools
Updated
Oct 6, 2026

About GitHub Repository

GitHub Repo MCP is an open-source MCP server that lets your AI assistants browse GitHub repositories, explore directories, and view file contents.

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

Tools (3)

  • getRepoAllDirectories

    Lists all files and directories at the root of a GitHub repository.

  • getRepoDirectories

    Lists contents of a specific directory in a GitHub repository.

  • getRepoFile

    Retrieves and displays the content of a specific file from a GitHub repository.

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux
Windsurf logo

Windsurf

Desktop · Freemium · Proprietary

The first agentic IDE. The Windsurf editor truly merges how developers and AI work together.

WindowsMacOSLinux

Related MCP servers

More servers
core logo

core

opensumi/core

3.3k

A framework helps you quickly build AI Native IDE products.

Version Control
test1 logo

test1

trpc-group/trpc-go

942

tRPC-Go, is the Go language implementation of tRPC, which is a pluggable, high-performance RPC framework.

Version Control
AI-Gateway logo

AI-Gateway

Azure-Samples/AI-Gateway

565

New! The AI Gateway Dev Portal is now live — A starting point for building your own developer portal on top of Azure API Management AI Gateway's. Fork it, open it in VS Code with GitHub Copilot (or any coding agent), and shape it to fit your needs!

Version Control
e2b logo

e2b

e2b-dev/mcp-server

233

Deprecated: This project is no longer actively maintained. It may not receive further updates or bug fixes.

Version Control
MCP Git Ingest logo

MCP Git Ingest

adhikasp/mcp-git-ingest

180

A Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.

Version Control
gitlab mcp logo

gitlab mcp

zereight/gitlab-mcp

70

Documentation → Setup guides, environment variables, and the full tool reference live on the hosted docs site.

Version Control