Skip to main content
Glama

MPO MCP Server

by bsangars

github_get_file_contents

Retrieve file contents from any GitHub repository by specifying the repository name and file path. Access code, documentation, or configuration files directly from GitHub repositories for analysis or integration purposes.

Instructions

Get the contents of a file from a GitHub repository.

Args: repo_name: Full repository name (e.g., "owner/repo") file_path: Path to the file in the repository ref: Optional branch, tag, or commit SHA

Input Schema

NameRequiredDescriptionDefault
file_pathYes
refNo
repo_nameYes

Input Schema (JSON Schema)

{ "properties": { "file_path": { "type": "string" }, "ref": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "repo_name": { "type": "string" } }, "required": [ "repo_name", "file_path" ], "type": "object" }

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/bsangars/mcp'

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