Loading...
npx github-repo-mcp{
"mcpServers": {
"github-repo-mcp": {
"command": "wsl",
"args": [
"bash",
"-c",
"cmd /c npx -y github-repo-mcp"
],
"enabled": true
}
}
}getRepoAllDirectoriesLists all files and directories at the root of a specified GitHub repository.
Read-only operation, no modification of data.
getRepoDirectoriesLists the contents of a specific directory within a GitHub repository.
Read-only operation, no modification of data.
getRepoFileRetrieves and displays the content of a specific file from a GitHub repository.
Read-only operation, no modification of data.
This MCP server is relatively safe due to its read-only nature and reliance on GitHub's infrastructure. Risks are primarily related to the exposure of information within public repositories and potential rate limiting issues. Using a GitHub token mitigates rate limiting.