Skip to main content
Glama

github-repo-mcp

getRepoFile

Fetch specific files from GitHub repositories by providing the repo URL and file path. Simplify accessing and retrieving repository content directly.

Input Schema

NameRequiredDescriptionDefault
pathYesThe file path to fetch
repoUrlYesThe URL of the Github repo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "path": { "description": "The file path to fetch", "type": "string" }, "repoUrl": { "description": "The URL of the Github repo", "format": "uri", "type": "string" } }, "required": [ "repoUrl", "path" ], "type": "object" }

You must be authenticated.

Other Tools from github-repo-mcp

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ryan0204/github-repo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server