get_project_files
Discover Godot project structure by returning a recursive file tree. Filter by file extensions and max depth to locate assets, scenes, and scripts.
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 |
|---|---|---|---|
| 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. | |
| projectPath | Yes | Path to the Godot project directory |