get_project_files
Retrieves the recursive file tree of a Godot project to discover its structure when paths are unknown. Filter by extensions and set recursion depth.
Instructions
Return a recursive file tree of a Godot project. Use to discover project structure when paths are unknown. Pass extensions to filter (e.g. ["gd","tscn"]); maxDepth caps recursion (-1 unlimited). Skips hidden (dot-prefixed) entries and the .mcp directory. Returns: { name, type, path, extension?, children? } (nested tree).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| maxDepth | No | Maximum recursion depth. -1 means unlimited (default: -1) | |
| extensions | No | Filter to only these file extensions (e.g. ["gd", "tscn"]). Omit to include all. |