MCP Servers / version-control / GitHub Repo MCP

GitHub Repo MCP

JSON →
stdionone27version-control

Browse GitHub repositories, explore directories, and view file contents.

Install
How to run this server
[ { "cmd": "npx -y github-repo-mcp", "imports": [] } ]
server path: github-repo-mcp
Tools
What this server exposes
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.
Configuration
Environment & auth
authnone
envGITHUB_TOKEN
Resources
GitHub Repo MCP — MCP Server · libregistry