github-repo-mcp

github-repo-mcp

3.4

If you are the rightful owner of github-repo-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

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

GitHub Repo MCP is a versatile and open-source Model Context Protocol (MCP) server designed to facilitate AI assistants in navigating GitHub repositories. It supports various MCP clients through the `stdio` protocol, enabling users to browse public repositories, explore directories, and view file contents seamlessly. The server is easy to install via package managers and can be configured to use a GitHub token for higher API rate limits. It is compatible with platforms like Cursor, Windsurf, and Claude Desktop, making it a flexible tool for developers and AI enthusiasts. The server also provides tools for listing directories and retrieving file contents, enhancing the interaction with GitHub repositories.

Features

  • Compatible with various MCP clients supporting `stdio` protocol
  • Browse contents of any public GitHub repository
  • Navigate through repository directories and subdirectories
  • View content of code and text files
  • Easy installation via package manager

Tools

  1. getRepoAllDirectories

    List all files and directories in the GitHub repository root directory

  2. getRepoDirectories

    List contents of specific directories in GitHub repository

  3. getRepoFile

    Retrieve and display the contents of specific files in the GitHub repository