gh_get_file
ActiveTool of Github_private
declared in 0.1.0
Get file contents from a repository. Specify owner, repo name, and file path (e.g., 'README.md'). Returns raw content and metadata.
Parameters schema
{
"type": "object",
"examples": [
{
"path": "README.md",
"repo": "Hello-World",
"owner": "octocat"
},
{
"ref": "main",
"path": "src/index.ts",
"repo": "Hello-World",
"owner": "octocat"
}
],
"required": [
"owner",
"repo",
"path"
],
"properties": {
"ref": {
"type": "string",
"description": "Branch or commit SHA (default: default branch)"
},
"path": {
"type": "string",
"description": "File path (e.g., \"src/index.ts\")"
},
"repo": {
"type": "string",
"description": "Repository name"
},
"owner": {
"type": "string",
"description": "Repository owner"
}
}
}Parent server
Github_private
https://github.com/pipeworx-io/mcp-github_private
1/7 registries