Skip to main content
Glama
jgravelle
by jgravelle

get_file_tree

Retrieve the file structure of a GitHub repository to navigate code organization, with optional path filtering for focused exploration.

Instructions

Get the file tree of an indexed repository, optionally filtered by path prefix.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesRepository identifier (owner/repo or just repo name)
path_prefixNoOptional path prefix to filter (e.g., 'src/utils')

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/jgravelle/github-codemunch-mcp'

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