Skip to main content
Glama

Gitingest-MCP

by puravparab

git_files

Extract specific file contents from a GitHub repository by specifying owner, repo, file paths, and optional branch for targeted access.

Instructions

Get the content of specific files from a GitHub repository Args: owner: The GitHub organization or username repo: The repository name file_paths: List of paths to files within the repository branch: Optional branch name (default: None)

Input Schema

NameRequiredDescriptionDefault
branchNo
file_pathsYes
ownerYes
repoYes

Input Schema (JSON Schema)

{ "properties": { "branch": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Branch" }, "file_paths": { "items": { "type": "string" }, "title": "File Paths", "type": "array" }, "owner": { "title": "Owner", "type": "string" }, "repo": { "title": "Repo", "type": "string" } }, "required": [ "owner", "repo", "file_paths" ], "title": "git_filesArguments", "type": "object" }

You must be authenticated.

Other Tools from Gitingest-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/puravparab/Gitingest-MCP'

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