Skip to main content
Glama

github-repo-mcp_getRepoFile

Retrieve specific files from GitHub repositories to support academic research and development workflows by providing direct access to code and documentation.

Input Schema

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

Implementation Reference

  • Configuration/registration of the external 'github-repo-mcp' MCP server in the FastMCP proxy. This server provides GitHub repository tools, including 'getRepoFile', exposed as 'github-repo-mcp_getRepoFile' in the proxy.
    if _str_to_bool(os.getenv("GITHUB_REPO_MCP", "false")): config["mcpServers"]["github-repo-mcp"] = { "type": "stdio", "command": "npx", "args": ["github-repo-mcp"], }

Latest Blog Posts

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/jiahaoxiang2000/all-in-mcp'

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