Skip to main content
Glama

MCP Source Tree Server

get_src_tree

Generate a JSON file tree from a specified directory, filtering files based on .gitignore rules, to review project structure while preserving hierarchy.

Instructions

Generate a file tree for the specified directory, filtering files based on .gitignore. Traverses the filesystem and generates a JSON-formatted tree structure that preserves hierarchy.

Input Schema

NameRequiredDescriptionDefault
directoryYes

Input Schema (JSON Schema)

{ "properties": { "directory": { "title": "Directory", "type": "string" } }, "required": [ "directory" ], "title": "get_src_treeArguments", "type": "object" }
Install Server

Other Tools from MCP Source Tree Server

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/owayo/mcp-src-tree'

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