unity_hub
Manages Unity Hub operations: creates projects, opens existing ones, installs editors, adds modules, and lists templates and installations.
Instructions
Controls Unity Hub to create projects, manage installations, and open projects. This tool works INDEPENDENTLY of the Unity Editor connection. Editor installs use the Unity Hub CLI; project creation and template listing use the installed Editor and its bundled templates directly (the Hub CLI has no create/templates subcommands).
Actions:
create_project: Create a new Unity project
open_project: Open an existing project in Unity Editor
list_projects: List recent projects from Unity Hub
list_installations: List installed Unity Editor versions
install_editor: Install a Unity Editor version
add_module: Add a module to an installed editor (Android, iOS, WebGL, etc.)
list_templates: List available project templates
get_hub_path: Get the Unity Hub installation path
Note: Unity Hub must be installed. Default paths:
Windows: C:\Program Files\Unity Hub\Unity Hub.exe
macOS: /Applications/Unity Hub.app/Contents/MacOS/Unity Hub
Linux: ~/Unity Hub/UnityHub.AppImage
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Unity Hub action to perform | |
| hubPath | No | Custom path to Unity Hub executable (auto-detected if not provided) | |
| modules | No | Modules to install with editor or add to existing | |
| template | No | Project template (e.g., "com.unity.template.3d", "com.unity.template.urp-blank") | |
| projectName | No | Name for the new project (used with projectPath parent directory) | |
| projectPath | No | Full path for the new/existing project | |
| waitForExit | No | Wait for Unity Editor to exit after opening project (default: false) | |
| editorVersion | No | Unity Editor version (e.g., "2022.3.20f1", "6000.0.0f1") |