Skip to main content
Glama

github-repo-mcp

getRepoFile

Fetch and retrieve specific files directly from GitHub repositories using a URL and file path, enabling quick access to repository content for analysis or integration.

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

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