directory_tree
Get a hierarchical view of directories and files
How to use it
directory_tree is exposed by the UnityMCPIntegration MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the directory_tree tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install UnityMCPIntegration
npx -y @smithery/cli install @quazaai/unitymcpintegration --client claudeOther tools in UnityMCPIntegration (15)
Make targeted edits to existing files with diff preview
Execute C# code directly in the Unity Editor
Find all assets of a specific type (e.g. Material, Prefab)
Get detailed information about the current scene
Get comprehensive information about the Unity project and editor state
Get metadata about a specific file or directory
Get information about specific GameObjects in the scene
Retrieve and filter Unity console logs
Get a listing of files and folders in a directory
Get a listing of all C# scripts in the project
Read contents of a file in your Unity project
Read multiple files at once
Find files matching a search pattern
Check if there's an active connection to Unity Editor
Create or overwrite a file with new content