github-repo-mcpServer

Ryan0204
GitHub
GitHubDeveloper ToolsOpen Source

Loading subscription status...

💡 Description

GitHub Repo MCP is an open-source MCP server that allows AI assistants to browse GitHub repositories, explore directories, and display the contents of files.

📝 JSON Entries

{
  "mcpServers": [
    {
      "github-repo-mcp": {
        "env": {
          "GITHUB_TOKEN": "Your_Github_Token"
        },
        "args": [
          "bash",
          "-c",
          "cmd /c npx -y github-repo-mcp"
        ],
        "command": "wsl"
      }
    }
  ]
}

🛠️ Tools

getRepoAllDirectoriesgetRepoDirectoriesgetRepoFile

Features

  • Browse public GitHub repository contents
  • Navigate directories and subdirectories in a repository
  • Display content of code and text files
  • Easy installation via package manager

💬 Example Queries

  • Show me the content of the repository at https://github.com/Ryan0204/github-repo-mcp
  • What files are in the src directory of https://github.com/Ryan0204/github-repo-mcp?
  • Display the README.md file from https://github.com/Ryan0204/github-repo-mcp