You're viewing a demo portfolio

Join the waitlist
PRSM

gh_get_file

Active

Tool 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"
    }
  }
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

Github_private

https://github.com/pipeworx-io/mcp-github_private

1/7 registries
View full server →