github-repo-mcp_getRepoFile
Fetch a specific file from a GitHub repository by providing the repository URL and file path. Enables direct access to source code, documentation, or configuration files for research and development tasks.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repoUrl": "<repoUrl>",
"path": "<path>"
},
"name": "github-repo-mcp_getRepoFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoUrl | Yes | The URL of the Github repo | |
| path | Yes | The file path to fetch |