Skip to main content
Glama

CodeCompass MCP

MIT License
1
  • Linux
  • Apple

get_file_tree

Extract and filter GitHub repository directory structures and file listings with customizable depth, hidden files, exclusions, and metadata options.

Instructions

🌳 Get complete directory structure and file listing with filtering options. Focused on file system structure without content analysis.

Input Schema

NameRequiredDescriptionDefault
optionsNo
urlYesGitHub repository URL

Input Schema (JSON Schema)

{ "properties": { "options": { "properties": { "exclude_paths": { "default": [ "node_modules", "dist", "build", ".git" ], "description": "Paths to exclude from listing", "items": { "type": "string" }, "type": "array" }, "file_extensions": { "description": "Filter by file extensions (e.g., [\".js\", \".ts\"])", "items": { "type": "string" }, "type": "array" }, "include_file_info": { "default": true, "description": "Include file metadata (size, modified date)", "type": "boolean" }, "include_hidden": { "default": false, "description": "Include hidden files and directories", "type": "boolean" }, "max_depth": { "default": 10, "description": "Maximum directory depth to traverse", "type": "number" } }, "type": "object" }, "url": { "description": "GitHub repository URL", "type": "string" } }, "required": [ "url" ], "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/TheAlchemist6/codecompass-mcp'

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