Back to MCP Directory
Connections & Capabilities
Connects To
GitHub
Capabilities
read
Quickstart
Install
npx github-repo-mcpConfig
{
"mcpServers": {
"github-repo-mcp": {
"command": "wsl",
"args": [
"bash",
"-c",
"cmd /c npx -y github-repo-mcp"
],
"enabled": true
}
}
}Exposed MCP Tools (3)
safe
getRepoAllDirectoriesLists all files and directories at the root of a specified GitHub repository.
Read-only operation, no modification of data.
safe
getRepoDirectoriesLists the contents of a specific directory within a GitHub repository.
Read-only operation, no modification of data.
safe
getRepoFileRetrieves and displays the content of a specific file from a GitHub repository.
Read-only operation, no modification of data.
Safety Assessment
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.
- Read-only access to public GitHub repositories.
- No write or delete operations are supported.
- Relies on GitHub's API for data retrieval, leveraging their security measures.
- No local filesystem access or execution capabilities.
- Potential for information leakage if sensitive data is exposed in public repositories.
- Rate limiting by GitHub API can impact usability without authentication.
- Dependence on external GitHub API availability and security.
- No built-in input validation beyond what GitHub's API provides.
