Skip to main content
Glama

Git Repo Browser MCP

git_read_files

Retrieve and display file contents from a Git repository by providing the repository URL and specific file paths, enabling easy access to code or data within the repo.

Instructions

Read the contents of specified files in a given git repository.

Input Schema

NameRequiredDescriptionDefault
file_pathsYesList of file paths to read (relative to repository root)
repo_urlYesThe URL of the Git repository

Input Schema (JSON Schema)

{ "properties": { "file_paths": { "description": "List of file paths to read (relative to repository root)", "items": { "type": "string" }, "type": "array" }, "repo_url": { "description": "The URL of the Git repository", "type": "string" } }, "required": [ "repo_url", "file_paths" ], "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/bsreeram08/git-commands-mcp'

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