Topic: cli
1,462 skills in this topic.
-
package-add
Install a package from the Unity Package Manager registry, Git URL, or local path. This operation modifies the project's manifest.json and triggers package resolution. Note: Package installation may trigger a domain reload. The result will be sent after the reload completes. Use 'package-search' tool to search for packages and 'package-list' to list installed packages.
IvanMurzak/Unity-MCP 2,087
-
assets-prefab-create
Create a prefab from a GameObject in the current active scene. The prefab will be saved in the project assets at the specified path. Creates folders recursively if they do not exist. If the source GameObject is already a prefab instance and 'connectGameObjectToPrefab' is true, a Prefab Variant is created automatically. To create a Prefab Variant from an existing prefab asset, provide 'sourcePrefabAssetPath' instead of 'gameObjectRef'. Use 'gameobject-find' tool to find the target GameObject first.
IvanMurzak/Unity-MCP 2,087
-
gameobject-component-get
Get detailed information about a specific Component on a GameObject. Returns component type, enabled state, and optionally serialized fields and properties. Use this to inspect component data before modifying it. Use 'gameobject-find' tool to get the list of all components on the GameObject.
IvanMurzak/Unity-MCP 2,087
-
gameobject-find
Finds specific GameObject by provided information in opened Prefab or in a Scene. First it looks for the opened Prefab, if any Prefab is opened it looks only there ignoring a scene. If no opened Prefab it looks into current active scene. Returns GameObject information and its children. Also, it returns Components preview just for the target GameObject.
IvanMurzak/Unity-MCP 2,087
-
scene-list-opened
Returns the list of currently opened scenes in Unity Editor. Use 'scene-get-data' tool to get detailed information about a specific scene.
IvanMurzak/Unity-MCP 2,087
-
gameobject-set-parent
Set parent GameObject to list of GameObjects in opened Prefab or in a Scene. Use 'gameobject-find' tool to find the target GameObjects first.
IvanMurzak/Unity-MCP 2,087
-
tests-run
Execute Unity tests and return detailed results. Supports filtering by test mode, assembly, namespace, class, and method. Recommended to use 'EditMode' for faster iteration during development.
IvanMurzak/Unity-MCP 2,087
-
scene-save
Save Opened scene to the asset file. Use 'scene-list-opened' tool to get the list of all opened scenes.
IvanMurzak/Unity-MCP 2,087
-
scene-get-data
This tool retrieves the list of root GameObjects in the specified scene. Use 'scene-list-opened' tool to get the list of all opened scenes.
IvanMurzak/Unity-MCP 2,087
-
console-clear-logs
Clears the MCP log cache (used by console-get-logs) and the Unity Editor Console window. Useful for isolating errors related to a specific action by clearing logs before performing the action.
IvanMurzak/Unity-MCP 2,087
-
assets-find
Search the asset database using the search filter string. Allows you to search for Assets. The string argument can provide names, labels or types (classnames).
IvanMurzak/Unity-MCP 2,087
-
script-read
Reads the content of a script file and returns it as a string. Use 'script-update-or-create' tool to update or create script files.
IvanMurzak/Unity-MCP 2,087
-
assets-prefab-instantiate
Instantiates prefab in the current active scene. Use 'assets-find' tool to find prefab assets in the project.
IvanMurzak/Unity-MCP 2,087
-
assets-prefab-save
Save a prefab. Use it when you are in prefab editing mode in Unity Editor. Use 'assets-prefab-open' tool to open a prefab first.
IvanMurzak/Unity-MCP 2,087
-
unity-initial-setup
Provides an initial setup for AI Skills, `unity-mcp-cli` command line tool installation
and everything else that is helpful to set up at the start of the project. Essential packages,
and basic configurations.
IvanMurzak/Unity-MCP 2,087
-
package-search
Search for packages in both Unity Package Manager registry and installed packages. Use this to find packages by name before installing them. Returns available versions and installation status. Searches both the Unity registry and locally installed packages (including Git, local, and embedded sources). Results are prioritized: exact name match, exact display name match, name substring, display name substring, description substring. Note: Online mode fetches exact matches from live registry, then supplements with cached substring matches.
IvanMurzak/Unity-MCP 2,087
-
gameobject-component-destroy
Destroy one or many components from target GameObject. Can't destroy missed components. Use 'gameobject-find' tool to find the target GameObject and 'gameobject-component-get' to get component details first.
IvanMurzak/Unity-MCP 2,087
-
gameobject-component-list-all
List C# class names extended from UnityEngine.Component. Use this to find component type names for 'gameobject-component-add' tool. Results are paginated to avoid overwhelming responses.
IvanMurzak/Unity-MCP 2,087
-
package-list
List all packages installed in the Unity project (UPM packages). Returns information about each installed package including name, version, source, and description. Use this to check which packages are currently installed before adding or removing packages.
IvanMurzak/Unity-MCP 2,087
-
script-update-or-create
Updates or creates script file with the provided C# code. Does AssetDatabase.Refresh() at the end. Provides compilation error details if the code has syntax errors. Use 'script-read' tool to read existing script files first.
IvanMurzak/Unity-MCP 2,087
-
scene-open
Open scene from the project asset file. Use 'assets-find' tool to find the scene asset first.
IvanMurzak/Unity-MCP 2,087
-
type-get-json-schema
Generates a JSON Schema for a given C# type name using reflection. Supports primitives, enums, arrays, generic collections, dictionaries, and complex objects. The type must be present in any loaded assembly. Use the full type name (e.g. 'UnityEngine.Vector3') for best results.
IvanMurzak/Unity-MCP 2,087
-
ping
Lightweight readiness probe. Returns the input message or 'pong' if omitted.
IvanMurzak/Unity-MCP 2,087
-
assets-shader-get-data
Get detailed data about a shader asset in the Unity project. Returns shader properties, subshaders, passes, compilation errors, and supported status. Use 'assets-find' tool with filter 't:Shader' to find shaders, or 'assets-shader-list-all' tool to list all shader names.
IvanMurzak/Unity-MCP 2,087