About Anklebreaker Unity
Anklebreaker Unity is an MCP server published by AnkleBreaker-Studio in the Agents category: unity MCP Server — 268 tools for AI-assisted game development. Connect Claude, Cursor, or any MCP client to Unity Editor & Unity Hub. Scene management, GameObjects, components, builds, profiling, Shader Graph, Amplify, terrain, physics, NavMesh, animation, MPPM multiplayer & more. Free & open source by AnkleBreaker Studio. Conduid read 349 tools from its source: unity_advanced_tool, unity_agent_log, unity_agents_list, unity_amplify_add_node, unity_amplify_close, unity_amplify_connect and 343 more. It is published to npm as anklebreaker-unity-mcp and starts with npx.
The repository has 549 stars and 65 forks, and its last commit was on 23 Oct 2026. The latest release is v2.36.0 (6 Oct 2026): Companion to plugin v2.41.0. It follows v2.35.6 (27 Jul 2026), and the 5 most recent releases go back to v2.30.0 (4 Jun 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include ai-assisted-development, ai-game-development, amplify-shader-editor, anklebreaker, game-development and gamedev.
Install
claude mcp add anklebreaker-unity -- npx -y anklebreaker-unity-mcpnpx -y anklebreaker-unity-mcpgit clone https://github.com/AnkleBreaker-Studio/unity-mcp-serverTools (349)
unity_advanced_toolExecute an advanced Unity tool by name (${advanced.length} cached + plugin lazy-loaded;discover names via unity_list_advanced_tools search=/category=, parameters via tool=).| Parameter | Type | Description |
|---|---|---|
| params | object | Parameters to pass to the tool. Use unity_list_advanced_tools to see required parameters. |
| tool * | string | The tool name to execute (e.g. "unity_animation_create_controller", "unity_shadergraph_create") |
unity_agent_logGet the action log for a specific agent, showing the last 100 actions with timestamps.| Parameter | Type | Description |
|---|---|---|
| agentId * | string | The agent ID to get logs for |
unity_agents_listList all active agent sessions connected to the AB Unity MCP bridge. Shows each agent's ID, connection time, last activity, current action, total actions count, queued/completed request counts, and average response time.unity_amplify_add_nodeAdd a node to the currently open Amplify Shader Editor graph. The ASE window must be open with a shader loaded. Use unity_amplify_get_node_types to discover available node types first.| Parameter | Type | Description |
|---|---|---|
| nodeType * | string | Full type name of the node (e.g., 'AmplifyShaderEditor.ColorNode', 'AmplifyShaderEditor.SimpleMultiplyOpNode', 'AmplifyShaderEditor.SamplerNode') |
| x | number | X position in graph (default: 0) |
| y | number | Y position in graph (default: 0) |
unity_amplify_closeClose the Amplify Shader Editor window. By default saves the graph before closing to prevent save dialogs.| Parameter | Type | Description |
|---|---|---|
| save | boolean | Save the graph before closing (default: true) |
unity_amplify_connectConnect two nodes in the Amplify Shader Editor graph. Connects an output port of one node to an input port of another node.| Parameter | Type | Description |
|---|---|---|
| inputNodeId * | number | ID of the destination node (input side) |
| inputPortId * | number | Port index on the input node (0-based) |
| outputNodeId * | number | ID of the source node (output side) |
| outputPortId * | number | Port index on the output node (0-based) |
unity_amplify_create_from_templateCreate a new Amplify shader from a predefined template (surface, unlit, urp_lit, transparent, post_process). The shader file is created and can then be opened in ASE.| Parameter | Type | Description |
|---|---|---|
| path * | string | Asset path for the new shader (e.g., 'Assets/Shaders/MyShader.shader') |
| shaderName * | string | Shader name in the dropdown (e.g., 'Custom/MyShader') |
| template * | string | Template type: 'surface' (Standard PBR), 'unlit', 'urp' or 'urp_lit' (URP Lit), 'transparent', 'post_process' or 'postprocess' |
unity_amplify_create_shaderCreate a new Amplify Shader Editor shader file with proper ASE serialization markers. The shader can then be opened in ASE for visual editing.| Parameter | Type | Description |
|---|---|---|
| path * | string | Asset path for the new shader (e.g., 'Assets/Shaders/MyShader.shader') |
| shaderName * | string | Shader name in the shader dropdown (e.g., 'Custom/MyShader') |
unity_amplify_disconnectDisconnect a specific port on a node in the Amplify Shader Editor graph.| Parameter | Type | Description |
|---|---|---|
| isInput | boolean | True to disconnect an input port, false for output port (default: true) |
| nodeId * | number | ID of the node |
| portId * | number | Port index (0-based) |
unity_amplify_disconnect_allRemove all connections from a specific node in the Amplify Shader Editor graph (both input and output connections).| Parameter | Type | Description |
|---|---|---|
| nodeId * | number | Unique ID of the node to disconnect |
unity_amplify_duplicate_nodeDuplicate a node in the Amplify Shader Editor graph. Creates a new node of the same type at a slight offset from the original.| Parameter | Type | Description |
|---|---|---|
| nodeId * | number | Unique ID of the node to duplicate |
| offsetX | number | X offset from original (default: 50) |
| offsetY | number | Y offset from original (default: 50) |
unity_amplify_focus_nodeFocus the Amplify Shader Editor view on a specific node, centering and optionally zooming to it.| Parameter | Type | Description |
|---|---|---|
| nodeId * | number | Unique ID of the node to focus on |
| select | boolean | Also select the node (default: true) |
| zoom | number | Zoom level (default: 1.0) |
unity_amplify_get_connectionsGet all connections between nodes in the currently open Amplify Shader Editor graph. Shows which output ports connect to which input ports.unity_amplify_get_node_typesList all available Amplify Shader Editor node types by reflecting over the ASE assembly. Returns type names, categories, and descriptions. Requires Amplify to be installed.unity_amplify_get_nodesGet all nodes in the currently open Amplify Shader Editor graph. Returns node IDs, types, positions, and port counts. The ASE window must be open with a shader loaded.unity_amplify_infoGet detailed info about an Amplify shader: properties, render queue, pass count, and Amplify metadata (node count, version, features like custom expressions, functions, texture samples).| Parameter | Type | Description |
|---|---|---|
| path * | string | Asset path of the .shader file |
unity_amplify_listList all shaders created with Amplify Shader Editor. Detects Amplify shaders by scanning for ASE serialization markers in .shader files. Only available when Amplify is installed.| Parameter | Type | Description |
|---|---|---|
| filter | string | Filter by shader name or path |
| maxResults | number | Maximum results (default: 100) |
unity_amplify_list_functionsList all Amplify Shader Functions in the project. Functions are reusable node groups (similar to Shader Graph Sub Graphs). Only available when Amplify is installed.unity_amplify_master_node_infoGet detailed information about the master/output node of the currently open Amplify shader graph, including all its input ports and properties.unity_amplify_move_nodeMove a node to a new position in the Amplify Shader Editor graph.| Parameter | Type | Description |
|---|---|---|
| nodeId * | number | Unique ID of the node |
| x * | number | New X position |
| y * | number | New Y position |
unity_amplify_node_infoGet detailed information about a specific node in the Amplify Shader Editor graph, including all input/output ports with names, data types, and connection status.| Parameter | Type | Description |
|---|---|---|
| nodeId * | number | Unique ID of the node |
unity_amplify_openOpen a shader in the Amplify Shader Editor window for visual editing. Only available when Amplify is installed.| Parameter | Type | Description |
|---|---|---|
| path * | string | Asset path of the .shader file |
unity_amplify_remove_nodeRemove a node from the currently open Amplify Shader Editor graph by its unique ID. Cannot remove the master/output node.| Parameter | Type | Description |
|---|---|---|
| nodeId * | number | Unique ID of the node to remove (from unity_amplify_get_nodes) |
unity_amplify_saveSave the currently open Amplify Shader Editor graph to disk. If the shader has never been saved, auto-determines a save path from the shader name or uses the provided path.| Parameter | Type | Description |
|---|---|---|
| path | string | Optional asset path to save to (e.g. 'Assets/Shaders/MyShader.shader'). Only needed if the shader has never been saved before. |
unity_amplify_set_node_propertySet a property or field value on a node in the Amplify Shader Editor graph via reflection. If the property name is wrong, returns a list of available properties.| Parameter | Type | Description |
|---|---|---|
| nodeId * | number | Unique ID of the node |
| propertyName * | string | Name of the property or field to set (e.g., 'm_defaultValue', 'PropertyName') |
| value * | string | Value to set (will be parsed based on property type) |
unity_amplify_statusCheck if Amplify Shader Editor is installed in the project. Returns available commands, shader count, and function count. Only works when Amplify Shader Editor is imported.unity_animation_add_eventAdd an animation event that calls a function at a specific time during playback. Can pass string, int, or float parameters.| Parameter | Type | Description |
|---|---|---|
| clipPath * | string | Asset path of the AnimationClip |
| floatParameter | number | Float parameter to pass (optional) |
| functionName * | string | Name of the function to call on the animated GameObject |
| intParameter | number | Integer parameter to pass (optional) |
| stringParameter | string | String parameter to pass (optional) |
| time * | number | Time in seconds when the event fires |
unity_animation_add_keyframeAdd a keyframe to an animation curve with full tangent and weight control. Creates the curve if it doesn't exist yet. Supports all weighted tangent modes.| Parameter | Type | Description |
|---|---|---|
| clipPath * | string | Asset path of the AnimationClip |
| inTangent | number | Incoming tangent slope (optional, default 0) |
| inWeight | number | Incoming tangent weight 0-1 (optional) |
| outTangent | number | Outgoing tangent slope (optional, default 0) |
| outWeight | number | Outgoing tangent weight 0-1 (optional) |
| propertyName * | string | Property name (e.g., 'localPosition.x') |
| relativePath | string | Relative path of the animated object (empty for root) |
| time * | number | Time in seconds for the keyframe |
| typeName * | string | Component type name (e.g., 'Transform') |
| value * | number | Value at this keyframe |
| weightedMode | string | Weighted mode: None, In, Out, Both (optional) |
unity_animation_add_layerAdd a new layer to an Animator Controller.| Parameter | Type | Description |
|---|---|---|
| controllerPath * | string | Asset path of the Animator Controller |
| layerName * | string | Name for the new layer |
| weight | number | Layer weight (0-1, default: 1) |
unity_animation_add_parameterAdd a parameter to an Animator Controller (Float, Int, Bool, or Trigger).| Parameter | Type | Description |
|---|---|---|
| controllerPath * | string | Asset path of the Animator Controller |
| defaultValue | any | Default value for the parameter (not applicable to Trigger) |
| parameterName * | string | Name of the parameter to add |
| parameterType * | string | Type of the parameter |
unity_animation_add_stateAdd a state to an Animator Controller layer. Can optionally assign an animation clip and set as default state.| Parameter | Type | Description |
|---|---|---|
| clipPath | string | Optional asset path of an AnimationClip to assign |
| controllerPath * | string | Asset path of the Animator Controller |
| isDefault | boolean | Set as the default state for this layer |
| layerIndex | number | Layer index (default: 0) |
| speed | number | Playback speed (default: 1) |
| stateName * | string | Name for the new state |
unity_animation_add_transitionAdd a transition between states in an Animator Controller. Supports conditions, exit time, and AnyState transitions.| Parameter | Type | Description |
|---|---|---|
| conditions | array | Array of transition conditions |
| controllerPath * | string | Asset path of the Animator Controller |
| destinationState * | string | Name of the destination state |
| duration | number | Transition duration in seconds |
| exitTime | number | Normalized exit time (0-1) |
| fromAnyState | boolean | Create transition from Any State (default: false) |
| hasExitTime | boolean | Whether the transition uses exit time |
| hasFixedDuration | boolean | Whether duration is in fixed time |
| layerIndex | number | Layer index (default: 0) |
| offset | number | Transition offset |
| sourceState | string | Name of the source state (not needed if fromAnyState is true) |
unity_animation_assign_controllerAssign an Animator Controller to a GameObject (adds Animator component if needed).| Parameter | Type | Description |
|---|---|---|
| controllerPath * | string | Asset path of the Animator Controller to assign |
| instanceId | string | Instance ID (alternative to path) |
| path | string | Hierarchy path or name of the target GameObject |
unity_animation_clip_infoGet detailed information about an Animation Clip: curves, length, events, loop settings.| Parameter | Type | Description |
|---|---|---|
| path * | string | Asset path of the Animation Clip |
unity_animation_controller_infoGet detailed information about an Animator Controller: layers, states, transitions, parameters.| Parameter | Type | Description |
|---|---|---|
| path * | string | Asset path of the Animator Controller |
unity_animation_create_blend_treeCreate a blend tree in an Animator Controller for smooth blending between animations. Supports 1D, 2D (FreeformDirectional, FreeformCartesian, SimpleDirectional), and Direct blend types.| Parameter | Type | Description |
|---|---|---|
| blendParameter * | string | Name of the blend parameter |
| blendParameterY | string | Y-axis blend parameter for 2D types |
| blendTreeName * | string | Name for the blend tree state |
| blendType | string | Blend type: Simple1D, FreeformDirectional2D, FreeformCartesian2D, SimpleDirectional2D, Direct (default Simple1D) |
| controllerPath * | string | Asset path of the Animator Controller |
| layerIndex | number | Layer index (default 0) |
| motions | array | Array of motion entries with clipPath, threshold (1D), position (2D {x,y}), timeScale |
unity_animation_create_clipCreate a new empty Animation Clip asset.| Parameter | Type | Description |
|---|---|---|
| frameRate | number | Frame rate (default: 60) |
| loop | boolean | Whether the clip should loop (default: false) |
| overwrite | boolean | Replace an existing clip at this path (default false: refuse, to avoid wiping its curves). |
| path * | string | Asset path for the clip (e.g. 'Assets/Animations/Walk.anim') |
unity_animation_create_controllerCreate a new Animator Controller asset at the specified path.| Parameter | Type | Description |
|---|---|---|
| overwrite | boolean | Replace an existing controller at this path (default false: refuse, to avoid losing its states/transitions). |
| path * | string | Asset path for the controller (e.g. 'Assets/Animations/PlayerController.controller') |
unity_animation_get_blend_treeGet the structure and configuration of a blend tree including all child motions, thresholds, positions, and time scales.| Parameter | Type | Description |
|---|---|---|
| controllerPath * | string | Asset path of the Animator Controller |
| layerIndex | number | Layer index (default 0) |
| stateName * | string | Name of the blend tree state |
unity_animation_get_curve_keyframesGet all keyframes from an animation curve binding with full tangent data (inTangent, outTangent, inWeight, outWeight, weightedMode). Essential for precise animation editing.| Parameter | Type | Description |
|---|---|---|
| clipPath * | string | Asset path of the AnimationClip |
| propertyName * | string | Property name (e.g., 'localPosition.x', 'm_LocalRotation.x') |
| relativePath | string | Relative path of the animated object (empty for root) |
| typeName * | string | Component type name (e.g., 'Transform', 'SpriteRenderer') |
unity_animation_get_eventsList all animation events on a clip with their function names, times, and parameters.| Parameter | Type | Description |
|---|---|---|
| clipPath * | string | Asset path of the AnimationClip |
unity_animation_remove_curveRemove an entire animation curve binding from a clip. Useful for cleaning up or restructuring animations.| Parameter | Type | Description |
|---|---|---|
| clipPath * | string | Asset path of the AnimationClip |
| propertyName * | string | Property name to remove |
| relativePath | string | Relative path of the animated object (empty for root) |
| typeName * | string | Component type name |
unity_animation_remove_eventRemove an animation event by its index. Use get_animation_events first to find the index.| Parameter | Type | Description |
|---|---|---|
| clipPath * | string | Asset path of the AnimationClip |
| eventIndex * | number | Zero-based index of the event to remove |
unity_animation_remove_keyframeRemove a keyframe from an animation curve by its index. Use get_curve_keyframes first to find the index.| Parameter | Type | Description |
|---|---|---|
| clipPath * | string | Asset path of the AnimationClip |
| keyframeIndex * | number | Zero-based index of the keyframe to remove |
| propertyName * | string | Property name |
| relativePath | string | Relative path of the animated object |
| typeName * | string | Component type name |
unity_animation_remove_layerRemove a layer from an Animator Controller by index. Cannot remove the base layer (index 0).| Parameter | Type | Description |
|---|---|---|
| controllerPath * | string | Asset path of the Animator Controller |
| layerIndex * | number | Index of the layer to remove (must be > 0) |
unity_animation_remove_parameterRemove a parameter from an Animator Controller by name.| Parameter | Type | Description |
|---|---|---|
| controllerPath * | string | Asset path of the Animator Controller |
| parameterName * | string | Name of the parameter to remove |
unity_animation_remove_stateRemove a state from an Animator Controller layer.| Parameter | Type | Description |
|---|---|---|
| controllerPath * | string | Asset path of the Animator Controller |
| layerIndex | number | Layer index (default: 0) |
| stateName * | string | Name of the state to remove |
unity_animation_remove_transitionRemove a transition from an Animator Controller state. Can target by source/destination names or by index.| Parameter | Type | Description |
|---|---|---|
| controllerPath * | string | Asset path of the Animator Controller |
| destinationState | string | Name of the destination state (helps identify which transition) |
| layerIndex | number | Layer index (default 0) |
| sourceState * | string | Name of the source state (use 'AnyState' for any-state transitions) |
| transitionIndex | number | Index of the transition on the source state (alternative to destinationState) |
unity_animation_set_clip_curveSet an animation curve on a clip. Define keyframes to animate any property (position, rotation, scale, custom).| Parameter | Type | Description |
|---|---|---|
| clipPath * | string | Asset path of the Animation Clip |
| keyframes * | array | Array of keyframes with time and value |
| propertyName * | string | Property to animate (e.g. 'localPosition.x', 'm_LocalScale.y') |
| relativePath | string | Relative path to the animated object (empty for root) |
| type | string | Component type (default: 'Transform') |
unity_animation_set_clip_settingsSet animation clip settings: looping, root motion, mirroring, speed, frame rate, and more.| Parameter | Type | Description |
|---|---|---|
| clipPath * | string | Asset path of the AnimationClip |
| frameRate | number | Frame rate (e.g., 30, 60) |
| keepOriginalOrientation | boolean | Keep original orientation |
| keepOriginalPositionXZ | boolean | Keep original XZ position |
| keepOriginalPositionY | boolean | Keep original Y position |
| level | number | Height offset level |
| loopBlend | boolean | Loop blend for seamless looping |
| loopBlendOrientation | boolean | Loop blend orientation |
| loopTime | boolean | Whether the animation loops |
| mirror | boolean | Mirror the animation |
| startTime | number | Clip start time |
| stopTime | number | Clip stop time |
unity_animation_set_object_reference_curveSet an OBJECT-REFERENCE (PPtr) animation curve — the curve type Unity uses for 2D sprite-frame animation (SpriteRenderer.m_Sprite). unity_animation_set_clip_curve only handles float curves. Each keyframe names an asset path; for a sliced sprite sheet add `name` to pick a specific sprite sub-asset. Fails closed if any keyframe can't be resolved, so a clip is never half-wired.| Parameter | Type | Description |
|---|---|---|
| clipPath * | string | Asset path of the Animation Clip |
| keyframes * | array | Ordered keyframes; each { time, assetPath, name? } |
| propertyName | string | Property to animate (default 'm_Sprite') |
| relativePath | string | Path to the animated child object (empty for the root) |
| type | string | Component type (default 'SpriteRenderer') |
unity_asmdef_add_referencesAdd assembly references to an existing .asmdef file. Supports assembly names (e.g. 'Unity.TextMeshPro') which are auto-resolved to GUID format, or direct GUID refs.| Parameter | Type | Description |
|---|---|---|
| path * | string | Asset path of the .asmdef file to modify |
| references * | array | Assembly names or GUID references to add (e.g. ['Unity.TextMeshPro', 'MyGame.Core']) |
unity_asmdef_createCreate a new Assembly Definition (.asmdef) file for code containerisation and compilation optimisation. Assembly definitions split your project code into separate assemblies, reducing recompilation time and enforcing clean dependency boundaries.| Parameter | Type | Description |
|---|---|---|
| allowUnsafeCode | boolean | Allow unsafe C# code blocks (default: false) |
| autoReferenced | boolean | Automatically referenced by predefined assemblies (default: true) |
| defineConstraints | array | Define constraints — assembly only compiles when ALL symbols are defined (e.g. 'UNITY_EDITOR', 'ENABLE_INPUT_SYSTEM') |
| excludePlatforms | array | Compile for all platforms EXCEPT these |
| includePlatforms | array | Only compile for these platforms. Common: 'Editor', 'Android', 'iOS', 'StandaloneWindows64', 'StandaloneOSX', 'StandaloneLinux64', 'WebGL' |
| name | string | Assembly name (defaults to filename). Convention: 'Company.Product.Layer' (e.g. 'MyGame.Runtime', 'MyGame.Editor') |
| noEngineReferences | boolean | Don't reference UnityEngine (for pure C# libraries, default: false) |
| overrideReferences | boolean | Override precompiled references (default: false) |
| path * | string | Asset path for the .asmdef file (e.g. 'Assets/Scripts/Runtime/MyGame.Runtime.asmdef') |
| precompiledReferences | array | Precompiled DLL references (when overrideReferences is true) |
| references | array | Assembly references — names (e.g. 'Unity.TextMeshPro') or GUID refs (e.g. 'GUID:xxx') |
| rootNamespace | string | Root namespace for scripts in this assembly (e.g. 'MyGame.Runtime') |
unity_asmdef_create_refCreate an Assembly Definition Reference (.asmref) file. This lets you include scripts from a different folder into an existing assembly, useful for extending packages or splitting code across directories while keeping them in the same compilation unit.| Parameter | Type | Description |
|---|---|---|
| path * | string | Asset path for the .asmref file (e.g. 'Assets/Plugins/Extension/MyGame.Runtime.asmref') |
| reference * | string | Name of the target assembly definition to reference (e.g. 'MyGame.Runtime') |
unity_asmdef_infoGet detailed info about an Assembly Definition file: name, references, platforms, settings.| Parameter | Type | Description |
|---|---|---|
| path * | string | Asset path of the .asmdef file |
unity_asmdef_listList all Assembly Definition files in the project. Returns name, path, reference count, and platform info for each.| Parameter | Type | Description |
|---|---|---|
| folder | string | Folder to search in (default: 'Assets') |
| includePackages | boolean | Also list assembly definitions from Packages/ (default: false) |
unity_asmdef_remove_referencesRemove assembly references from an existing .asmdef file.| Parameter | Type | Description |
|---|---|---|
| path * | string | Asset path of the .asmdef file to modify |
| references * | array | Assembly names or GUID references to remove |
unity_asmdef_set_platformsSet the include/exclude platform lists for an assembly definition. Use includePlatforms to restrict to specific platforms (e.g. ['Editor'] for editor-only code) or excludePlatforms to exclude certain platforms.| Parameter | Type | Description |
|---|---|---|
| excludePlatforms | array | Compile for all platforms except these |
| includePlatforms | array | Only compile for these platforms (e.g. ['Editor']). Clears excludePlatforms if set. |
| path * | string | Asset path of the .asmdef file |
unity_asmdef_update_settingsUpdate settings on an assembly definition: rootNamespace, allowUnsafeCode, autoReferenced, noEngineReferences, defineConstraints, etc. Only supply the properties you want to change.| Parameter | Type | Description |
|---|---|---|
| allowUnsafeCode | boolean | Allow unsafe code |
| autoReferenced | boolean | Auto-referenced by predefined assemblies |
| defineConstraints | array | Define constraints (symbols required for compilation) |
| name | string | New assembly name |
| noEngineReferences | boolean | No UnityEngine references |
| overrideReferences | boolean | Override precompiled references |
| path * | string | Asset path of the .asmdef file |
| precompiledReferences | array | Precompiled DLL references |
| rootNamespace | string | New root namespace |
unity_asset_create_prefabCreate a prefab from an existing GameObject in the scene.| Parameter | Type | Description |
|---|---|---|
| gameObjectPath * | string | Path of the source GameObject in the hierarchy |
| savePath * | string | Where to save the prefab (e.g. 'Assets/Prefabs/MyPrefab.prefab') |
unity_asset_deleteDelete an asset — to the OS trash by default (NOT undoable via unity_undo_last). Deleting a FOLDER is recursive and refuses without recursive:true.| Parameter | Type | Description |
|---|---|---|
| path * | string | Asset path relative to project root (e.g. 'Assets/Scripts/MyScript.cs') |
| permanent | boolean | Hard-delete instead of OS trash. Default false. |
| recursive | boolean | Required to delete a FOLDER and its contents. Default false refuses, reporting the asset count. |
unity_asset_importImport an external file into the Unity project as an asset.| Parameter | Type | Description |
|---|---|---|
| destinationPath * | string | Destination path inside Assets/ folder |
| overwrite | boolean | Replace an existing asset at the destination (default false). |
| sourcePath * | string | Absolute path to the source file on disk |
unity_asset_instantiate_prefabInstantiate a prefab into the current scene.| Parameter | Type | Description |
|---|---|---|
| name | string | Name for the instantiated object |
| parent | string | Parent GameObject path (optional) |
| position | object | |
| prefabPath * | string | Path to the prefab asset (e.g. 'Assets/Prefabs/Enemy.prefab') |
| rotation | object |
unity_asset_listList assets in the project. Can filter by path, type, and search term.| Parameter | Type | Description |
|---|---|---|
| folder | string | Folder path relative to Assets/ (default: 'Assets') |
| maxResults | number | Limit 1-10000 (default 500). Returns totalCount and truncated. |
| recursive | boolean | Search recursively in subfolders (default: true) |
| search | string | Search query string |
| type | string | Asset type filter: Script, Scene, Prefab, Material, Texture, AudioClip, AnimationClip, Shader, Font, Mesh, Model |
unity_audio_create_sourceCreate or configure an AudioSource on a GameObject. Can attach to existing object or create new one.| Parameter | Type | Description |
|---|---|---|
| clipPath | string | Asset path to AudioClip (e.g. 'Assets/Audio/music.wav') |
| instanceId | string | Instance ID of existing GameObject |
| loop | boolean | Loop playback |
| maxDistance | number | Max distance for 3D sound |
| minDistance | number | Min distance for 3D sound |
| name | string | Name for new GameObject (if not attaching to existing) |
| path | string | Path of existing GameObject to attach AudioSource to |
| pitch | number | Pitch multiplier |
| playOnAwake | boolean | Play when scene starts |
| position | object | |
| spatialBlend | number | 0=2D, 1=3D |
| volume | number | Volume (0-1) |
unity_audio_infoGet info about all AudioSources and AudioListeners in the scene.unity_audio_set_globalSet global audio settings (master volume, pause).| Parameter | Type | Description |
|---|---|---|
| pause | boolean | Pause/unpause all audio |
| volume | number | Global volume (0-1) |
unity_buildBuild the project for a target platform.| Parameter | Type | Description |
|---|---|---|
| developmentBuild | boolean | Development build (default: false) |
| managedCodeVariant | string | Unity 6.6+, protocol 3. Default: Checked for Development, Release otherwise. This build only. |
| outputPath * | string | Build output path |
| scenes | array | Scene paths; default: enabled Build Settings scenes |
| target * | string | Platform |
unity_component_addAdd a component to a GameObject. Supports built-in types (Rigidbody, BoxCollider, AudioSource, Light, Camera, etc.) and custom scripts.| Parameter | Type | Description |
|---|---|---|
| componentType * | string | Full type name, e.g. 'Rigidbody', 'BoxCollider', 'MyNamespace.MyScript' |
| gameObjectPath * | string | Path or name of the target GameObject |
unity_component_batch_wireWire multiple object references in one call (e.g. a manager to all its panels). Each entry: target GameObject, property, reference to assign.| Parameter | Type | Description |
|---|---|---|
| references * | array | Array of reference assignments to perform |
unity_component_get_propertiesGet all serialized properties of a component on a GameObject.| Parameter | Type | Description |
|---|---|---|
| componentType * | string | Component type name |
| gameObjectPath * | string | Path or name of the target GameObject |
unity_component_get_referenceableDiscover what objects can be assigned to an ObjectReference property. Returns matching scene objects and project assets filtered by the expected type. Useful before wiring references to know what's available.| Parameter | Type | Description |
|---|---|---|
| componentType | string | Component type containing the property |
| instanceId | string | Target GameObject instance ID |
| maxResults | number | Maximum results to return (default: 50) |
| path | string | Target GameObject path or name |
| propertyName * | string | ObjectReference property name to inspect |
unity_component_removeRemove a component from a GameObject.| Parameter | Type | Description |
|---|---|---|
| componentType * | string | Type name of the component to remove |
| gameObjectPath * | string | Path or name of the target GameObject |
| index | number | Index if multiple components of same type (default: 0) |
unity_component_set_propertySet a serialized component property: numbers, strings, bools, vectors, colors, enums or object references.| Parameter | Type | Description |
|---|---|---|
| componentType * | string | Component type name |
| gameObjectPath * | string | Path or name of target GameObject |
| propertyName * | string | Name of the property to set |
| value * | any | ObjectReference: asset path, scene name, null, or {assetPath?,instanceId?,gameObject?,componentType?}. Enum: name, index (0-based), or {enumValue:int} for flags/raw values. |
unity_component_set_referenceWire an object reference on a component property. Resolves by asset path, scene GameObject name, component type, or instance ID (richer than set_property for ObjectReference fields).| Parameter | Type | Description |
|---|---|---|
| assetPath | string | Asset path to assign (e.g. 'Assets/Materials/MyMat.mat', 'Assets/Prefabs/Enemy.prefab') |
| clear | boolean | Set to true to clear/null the reference |
| componentType | string | Component type containing the property (optional — will auto-search all components) |
| instanceId | string | Instance ID of the target GameObject (alternative to path) |
| path | string | Hierarchy path or name of the target GameObject |
| propertyName * | string | Name of the ObjectReference property to set |
| referenceComponentType | string | When referencing a scene object, get a specific component instead of the GameObject itself (e.g. 'Camera', 'AudioSource') |
| referenceGameObject | string | Name or hierarchy path of a scene GameObject to assign |
| referenceInstanceId | string | Instance ID of the object to assign (64-bit-safe string) |
unity_console_clearClear the Unity console log.unity_console_logGet recent Unity console log messages (errors, warnings, info).| Parameter | Type | Description |
|---|---|---|
| count | number | Number of recent messages to retrieve (default: 50) |
| includeStackTrace | string | Traces to keep: 'errors' (default, error-like entries only, trimmed), 'all', 'none'. |
| maxStackFrames | number | Frames kept per retained trace (default: 6) |
| type | string | Filter: 'error', 'warning', 'info', or 'all' (default: 'all') |
unity_constraint_addAdd an animation constraint (position, rotation, scale, aim, parent, lookat) to a GameObject with optional source.| Parameter | Type | Description |
|---|---|---|
| activate | boolean | Activate the constraint immediately |
| path * | string | Target GameObject path |
| source | string | Source GameObject path |
| type * | string | Constraint type: position, rotation, scale, aim, parent, lookat |
unity_constraint_infoGet all constraints on a GameObject with their type, active state, weight, and source count.| Parameter | Type | Description |
|---|---|---|
| path * | string | GameObject path |
unity_debugger_enableEnable or disable the Frame Debugger. When enabled, Unity pauses rendering after a specific draw call so you can inspect the GPU state. Uses reflection to access internal Unity APIs (Unity 6+).| Parameter | Type | Description |
|---|---|---|
| enabled * | boolean | true to enable, false to disable the Frame Debugger |
unity_debugger_event_detailsGet detailed information about a specific Frame Debugger event: shader name, pass, keywords, vertex/index/instance counts, render target, batch break cause, and mesh info. The Frame Debugger must be enabled first.| Parameter | Type | Description |
|---|---|---|
| eventIndex * | number | The event index to inspect (from unity_debugger_events list) |
unity_debugger_eventsList all rendering events (draw calls) captured by the Frame Debugger. The Frame Debugger must be enabled first. Returns event index, type, and name for each draw call.unity_editor_pingCheck if the Unity Editor bridge is running and responsive. Returns editor version, project name, and connection status.unity_editor_stateGet the current Unity Editor state: play mode, compilation status, active scene, project path.unity_editorprefs_deleteDelete an EditorPrefs key.| Parameter | Type | Description |
|---|---|---|
| key * | string | Preference key to delete |
unity_editorprefs_getGet an EditorPrefs value by key. Specify type: string (default), int, float, bool.| Parameter | Type | Description |
|---|---|---|
| key * | string | Preference key |
| type | string | Value type: string, int, float, bool |
unity_editorprefs_setSet an EditorPrefs value. Specify type: string (default), int, float, bool.| Parameter | Type | Description |
|---|---|---|
| key * | string | Preference key |
| type | string | Value type: string, int, float, bool |
| value * | any | Value to set |
unity_execute_codeRun C# in the Unity Editor with Unity API access. Return a small JSON result. If an error has executionCompleted=true, the code already ran; inspect its effects before retrying.| Parameter | Type | Description |
|---|---|---|
| code * | string | C# code to execute. Must be a valid method body. Access UnityEngine and UnityEditor namespaces. Use 'return' to send data back. |
unity_execute_menu_itemExecute a Unity Editor menu command by its path (e.g. 'File/Save', 'GameObject/3D Object/Cube', 'Window/General/Console').| Parameter | Type | Description |
|---|---|---|
| menuPath * | string | Full menu path (e.g. 'Edit/Project Settings...') |
unity_gameobject_createCreate a new GameObject in the scene. Can specify primitive type (Cube, Sphere, Capsule, Cylinder, Plane, Quad), parent, and initial transform.| Parameter | Type | Description |
|---|---|---|
| name * | string | Name for the new GameObject |
| parent | string | Path or name of parent GameObject (optional) |
| position | object | |
| primitiveType | string | Optional primitive: Cube, Sphere, Capsule, Cylinder, Plane, Quad, Empty |
| rotation | object | |
| scale | object |
unity_gameobject_deleteDelete a GameObject by path or name. Refuses if its runtime mesh is shared by other objects (ProBuilder clones) — reports sharedWith; pass force:true to override.| Parameter | Type | Description |
|---|---|---|
| force | boolean | Delete even when the runtime mesh is shared by other objects (ProBuilder clones). Default false. |
| instanceId | string | Instance ID (alternative to path) |
| path | string | Hierarchy path or name of the GameObject to delete |
unity_gameobject_duplicateDuplicate a GameObject with all its children and components.| Parameter | Type | Description |
|---|---|---|
| instanceId | string | Instance ID (alternative to path) |
| newName | string | Name for the duplicate (default: original name + ' (Copy)') |
| path | string | Hierarchy path or name of the GameObject to duplicate |
unity_gameobject_infoGet detailed info about a specific GameObject: transform, components, children, active state, tags, layer.| Parameter | Type | Description |
|---|---|---|
| instanceId | string | Instance ID (alternative to path) |
| path | string | Hierarchy path or name |
unity_gameobject_reparentMove a GameObject under a new parent in the hierarchy.| Parameter | Type | Description |
|---|---|---|
| instanceId | string | Instance ID (alternative to path) |
| newParent | string | Path of the new parent (empty string for scene root) |
| path | string | Hierarchy path or name of the GameObject to move |
| worldPositionStays | boolean | Maintain world position after reparenting (default: true) |
unity_gameobject_set_activeSet a GameObject active or inactive.| Parameter | Type | Description |
|---|---|---|
| active * | boolean | Whether the GameObject should be active |
| instanceId | string | Instance ID (alternative to path) |
| path | string | Hierarchy path or name of the GameObject |
unity_gameobject_set_transformSet the transform (position, rotation, scale) of a GameObject.| Parameter | Type | Description |
|---|---|---|
| instanceId | string | Instance ID (alternative) |
| local | boolean | If true, set local transform instead of world (default: false) |
| path | string | Hierarchy path or name |
| position | object | |
| rotation | object | |
| scale | object |
unity_get_compilation_errorsGet C# compilation errors/warnings via CompilationPipeline — independent of the console buffer (survives console clear and log flooding). Prefer this over unity_console_log for compile issues.| Parameter | Type | Description |
|---|---|---|
| count | number | Max number of entries to retrieve (default: 50) |
| severity | string | Filter: 'error', 'warning', or 'all' (default: 'all') |
unity_get_project_contextGet the project docs/guidelines the team prepared for AI agents (from Assets/MCP/Context/). No args = all context; pass a category for one document. Call early in a session.| Parameter | Type | Description |
|---|---|---|
| category | string | Optional: specific context category to fetch (e.g. 'ProjectGuidelines', 'Architecture', 'GameDesign', 'NetworkingGuidelines', 'NetworkingCSP', or any custom category). Omit to get all available context. |
unity_graphics_asset_previewInline PNG from Unity's asynchronous asset preview, with thumbnail fallback. Maximum 33554432 pixels.| Parameter | Type | Description |
|---|---|---|
| assetPath * | string | Asset path (e.g. 'Assets/Models/Character.fbx', 'Assets/Materials/Wood.mat') |
| height | number | Pixel height (default: native preview height) |
| width | number | Pixel width (default: native preview width) |
unity_graphics_game_captureRender one camera to inline PNG, without Game View composition or overlay UI. Whole-pixel sizes within device limits, at most 33554432 pixels.| Parameter | Type | Description |
|---|---|---|
| cameraName | string | Active object's name/path; omitted: Camera.main. Missing explicit camera is an error. |
| height | number | Image height in pixels (default: 512) |
| width | number | Image width in pixels (default: 512) |
unity_graphics_lighting_summaryGet a summary of all lights in the scene, or details about a specific light. Returns type, color, intensity, range, spot angle, shadow settings, and render mode.| Parameter | Type | Description |
|---|---|---|
| lightName | string | Optional: name of a specific light to get details for. If omitted, returns all lights. |
unity_graphics_material_infoGet detailed material information: shader name, render queue, all properties (colors, floats, vectors, textures), keywords, and a visual preview thumbnail. Works on material assets or scene GameObjects.| Parameter | Type | Description |
|---|---|---|
| assetPath | string | Material asset path (e.g. 'Assets/Materials/Wood.mat'). Use this OR objectPath. |
| includePreview | boolean | Include a base64 PNG preview thumbnail (default: true) |
| materialIndex | number | Material index on the Renderer (default: 0). Only used with objectPath. |
| objectPath | string | Scene GameObject path to get material from its Renderer. Use this OR assetPath. |
unity_graphics_mesh_infoGet mesh metadata: vertex count, triangle count (including triangulated quads), submeshes, populated UV channels 0-7, blend shapes, bone count and bounds. Works on mesh assets or scene GameObjects with MeshFilter/SkinnedMeshRenderer.| Parameter | Type | Description |
|---|---|---|
| assetPath | string | Mesh asset path (e.g. 'Assets/Models/Character.fbx'). Use this OR objectPath. |
| objectPath | string | Scene GameObject path to get mesh from its MeshFilter or SkinnedMeshRenderer. Use this OR assetPath. |
unity_graphics_prefab_renderReturn Unity's prefab preview as inline PNG, with thumbnail fallback. Native preview controls framing; at most 33554432 pixels.| Parameter | Type | Description |
|---|---|---|
| assetPath * | string | Prefab asset path (e.g. 'Assets/Prefabs/Enemy.prefab') |
| height | number | Pixel height (default: native preview height) |
| padding | number | Compatibility parameter; native previews currently control padding. |
| rotationX | number | Compatibility parameter; native previews currently ignore this angle. |
| rotationY | number | Compatibility parameter; native previews currently ignore this angle. |
| width | number | Pixel width (default: native preview width) |
unity_graphics_renderer_infoGet detailed Renderer component information: renderer type, materials list, mesh reference, bounds, shadow settings, sorting layer, lightmap index. Use for rendering analysis.| Parameter | Type | Description |
|---|---|---|
| objectPath * | string | Scene GameObject path with a Renderer component |
unity_graphics_scene_captureRender the Scene View camera to inline PNG. Whole-pixel sizes within device limits, at most 33554432 pixels.| Parameter | Type | Description |
|---|---|---|
| height | number | Image height in pixels (default: 512) |
| width | number | Image width in pixels (default: 512) |
unity_graphics_texture_infoGet detailed texture information: dimensions, format, compression, mipmaps, memory estimate, import settings, and a visual preview thumbnail. Use for texture analysis and optimization.| Parameter | Type | Description |
|---|---|---|
| assetPath * | string | Texture asset path (e.g. 'Assets/Textures/Wood_Diffuse.png') |
| previewSize | number | Whole-pixel maximum edge; preserves aspect without upscaling. Omit for native size; 0 skips preview. |
unity_hub_available_releasesList Unity Editor versions available for download from Unity Hub.unity_hub_get_install_pathGet the current default installation path for Unity Editors.unity_hub_install_editorInstall a specific Unity Editor version. Optionally include platform modules (android, ios, webgl, linux, macos, windows-il2cpp).| Parameter | Type | Description |
|---|---|---|
| modules | array | Optional modules to install: android, android-sdk-ndk-tools, android-open-jdk, ios, webgl, linux-il2cpp, mac-il2cpp, windows-il2cpp, etc. |
| version * | string | Unity version to install (e.g. '2022.3.20f1', '6000.3.7f1') |
unity_hub_install_modulesInstall additional platform modules to an already-installed Unity Editor version.| Parameter | Type | Description |
|---|---|---|
| modules * | array | Modules to add: android, ios, webgl, etc. |
| version * | string | Target Unity version |
unity_hub_list_editorsList all Unity Editor versions currently installed via Unity Hub, including their installation paths.unity_hub_set_install_pathSet the default installation directory for Unity Editors.| Parameter | Type | Description |
|---|---|---|
| path * | string | New installation directory path |
unity_input_add_actionAdd an action to an action map in an Input Action Asset.| Parameter | Type | Description |
|---|---|---|
| actionName * | string | Name of the action (e.g. 'Move', 'Jump', 'Fire') |
| actionType | string | Action type (default: Value) |
| expectedControlType | string | Expected control type (e.g. 'Vector2', 'Axis', 'Button') |
| mapName * | string | Name of the action map |
| path * | string | Asset path of the .inputactions file |
unity_input_add_bindingAdd a simple (non-composite) binding to an action. Use for single-key bindings like '<Keyboard>/space' or '<Gamepad>/buttonSouth'.| Parameter | Type | Description |
|---|---|---|
| actionName * | string | Name of the action to bind to |
| bindingPath * | string | Input binding path (e.g. '<Keyboard>/space', '<Gamepad>/leftStick') |
| mapName * | string | Name of the action map |
| path * | string | Asset path of the .inputactions file |
unity_input_add_composite_bindingAdd a composite binding (e.g. WASD, arrows) to an action. Composites combine multiple keys into a single value (1DAxis for up/down, 2DVector for WASD).| Parameter | Type | Description |
|---|---|---|
| actionName * | string | Name of the action to bind to |
| compositeName * | string | Display name for the composite (e.g. 'WASD', 'Arrows') |
| compositeType | string | Composite type path: '1DAxis' for pos/neg axis, '2DVector' for 4-directional (default: '1DAxis') |
| mapName * | string | Name of the action map |
| parts * | array | Composite parts — each has a 'name' (e.g. 'positive','negative','up','down','left','right') and 'path' (e.g. '<Keyboard>/w') |
| path * | string | Asset path of the .inputactions file |
unity_input_add_mapAdd a new action map to an Input Action Asset.| Parameter | Type | Description |
|---|---|---|
| mapName * | string | Name of the action map to add (e.g. 'Gameplay', 'UI') |
| path * | string | Asset path of the .inputactions file |
unity_input_createCreate a new Input Action Asset (.inputactions file) for Unity's Input System. Supports optional initial action maps.| Parameter | Type | Description |
|---|---|---|
| maps | array | Optional initial action maps to create |
| name | string | Asset name (defaults to filename) |
| path * | string | Asset path (e.g. 'Assets/Settings/Controls.inputactions') |
unity_input_infoGet detailed info about an Input Action Asset: maps, actions, bindings, and control schemes.| Parameter | Type | Description |
|---|---|---|
| path * | string | Asset path of the .inputactions file |
unity_input_remove_actionRemove an action (and its bindings) from an action map.| Parameter | Type | Description |
|---|---|---|
| actionName * | string | Name of the action to remove |
| mapName * | string | Name of the action map |
| path * | string | Asset path of the .inputactions file |
unity_input_remove_mapRemove an action map from an Input Action Asset.| Parameter | Type | Description |
|---|---|---|
| mapName * | string | Name of the action map to remove |
| path * | string | Asset path of the .inputactions file |
unity_lighting_createCreate a new light in the scene (Point, Directional, Spot, or Area).| Parameter | Type | Description |
|---|---|---|
| color | object | Light color (0-1) |
| intensity | number | Light intensity |
| lightType | string | Light type |
| name | string | Light name |
| position | object | |
| range | number | Light range (Point/Spot) |
| rotation | object | |
| shadows | string | Shadow type |
| spotAngle | number | Spot angle in degrees (Spot only) |
unity_lighting_create_light_probe_groupCreate a light probe group in the scene.| Parameter | Type | Description |
|---|---|---|
| name | string | Probe group name |
| position | object |
unity_lighting_create_reflection_probeCreate a reflection probe in the scene.| Parameter | Type | Description |
|---|---|---|
| mode | string | Probe mode |
| name | string | Probe name |
| position | object | |
| resolution | integer | Cubemap resolution (128, 256, 512, 1024) |
| size | object | Probe bounds size |
unity_lighting_infoGet info about all lights in the scene plus environment/fog settings.unity_lighting_set_environmentSet environment lighting: ambient mode/color, fog, skybox material.| Parameter | Type | Description |
|---|---|---|
| ambientColor | object | Ambient light color |
| ambientIntensity | number | Ambient intensity multiplier |
| ambientMode | string | Ambient lighting mode |
| fogColor | object | Fog color |
| fogDensity | number | Fog density (Exponential mode) |
| fogEnabled | boolean | Enable/disable fog |
| fogMode | string | Fog mode |
| skyboxMaterialPath | string | Asset path to skybox material |
unity_list_advanced_toolsDiscover advanced Unity tools (execute them via unity_advanced_tool) without loading full schemas: search=keywords → matching tools; category=name → its tools with parameter names; tool=name → that tool's full parameter schema; no args → all category names with counts (e.g. animation, terrain, shadergraph, probuilder, uma, physics, lighting, ui, …).| Parameter | Type | Description |
|---|---|---|
| category | string | Category name → its tools with brief + parameter names. |
| includeSchemas | boolean | With category: full schemas for every tool (large — prefer tool= for one). |
| search | string | Keywords, e.g. "terrain raise". Every word must match a tool's name, category, or description. |
| tool | string | Exact tool name → its full parameter schema. |
unity_list_instancesList running Unity Editor instances (name, port, version, clone flag, pluginVersion). With multiple instances, select one with unity_select_instance next.| Parameter | Type | Description |
|---|---|---|
| refresh | boolean | Accepted for compatibility. Discovery always performs a fresh registry read + port scan. |
unity_lod_createCreate or configure a LODGroup on a GameObject with specified number of LOD levels.| Parameter | Type | Description |
|---|---|---|
| levels | number | Number of LOD levels (1-8, default: 3) |
| path * | string | GameObject path |
unity_lod_infoGet LODGroup info: LOD levels, screen transition heights, renderer counts.| Parameter | Type | Description |
|---|---|---|
| path * | string | GameObject path with LODGroup |
unity_material_createCreate a new material asset with a specified shader and properties.| Parameter | Type | Description |
|---|---|---|
| color | object | |
| overwrite | boolean | Replace an existing material (default false). |
| path * | string | Save path (e.g. 'Assets/Materials/MyMat.mat') |
| properties | object | Additional shader properties as key-value pairs |
| shader | string | Shader name (e.g. 'Standard', 'Universal Render Pipeline/Lit') |
unity_memory_breakdownGet detailed memory breakdown by asset type: textures, meshes, materials, shaders, audio clips, animation clips, fonts, render textures, and scriptable objects. Shows count, total size, and optionally top assets per category. Works without the Memory Profiler package (uses built-in Profiler APIs).| Parameter | Type | Description |
|---|---|---|
| includeDetails | boolean | If true, include top assets per category with names, sizes, and asset paths (default: false) |
| maxPerCategory | number | Max assets to list per category when includeDetails=true (default: 5) |
unity_memory_snapshotTake a detailed memory snapshot using the Memory Profiler package (com.unity.memoryprofiler). Requires the package to be installed. The snapshot can be inspected in the Memory Profiler window. Returns an error with alternatives if the package is not installed.| Parameter | Type | Description |
|---|---|---|
| path | string | Directory to save snapshot in (default: temp cache) |
unity_memory_statusCheck Memory Profiler status: whether the com.unity.memoryprofiler package is installed, available commands, and a quick memory summary. Always call this first before other memory profiler commands.unity_memory_top_assetsGet the top N memory-consuming assets across all types. Shows asset name, type, size, and asset path. Optionally filter by type (texture, mesh, audio, material, shader, animation, font, rendertexture). Works without the Memory Profiler package.| Parameter | Type | Description |
|---|---|---|
| count | number | Number of top assets to return (default: 20) |
| type | string | Filter by asset type: texture, rendertexture, mesh, audio, material, shader, animation, font (default: all) |
unity_mppm_activate_playerActivate a Virtual Player (clone Unity Editor process). index must be 2, 3, or 4 (Player 1 is the main editor). Returns immediately while the player is in 'Launching' state — poll unity_mppm_list_players or unity_list_instances to detect when ready (typically 30-60s on a cold project). Refuses to activate if there are pending compile errors (returns ActivationError=CompileErrors).| Parameter | Type | Description |
|---|---|---|
| index * | integer | Player slot to activate: 2, 3, or 4. |
unity_mppm_activate_scenarioLoad/activate a specific scenario by its asset path.| Parameter | Type | Description |
|---|---|---|
| path * | string | Asset path to the scenario (e.g., 'Assets/MPPM/Scenarios/MyScenario.asset') |
unity_mppm_create_scenarioCreate an MPPM ScenarioConfig asset programmatically. Unity 6+ (MPPM 2.0). Produces 1 MainEditor instance + N VirtualEditor instances, saved as a .asset file you can then activate with unity_mppm_activate_scenario and run with unity_mppm_start.| Parameter | Type | Description |
|---|---|---|
| description | string | Optional human-readable description. |
| mainRole | string | Role for the Main Editor instance. 'Host' = ClientAndServer (default). |
| name * | string | Scenario name (also used as the default asset file name). |
| path | string | Optional asset path. Defaults to 'Assets/MPPM/{name}.asset'. |
| virtualEditors | integer | Number of Virtual Editor instances (clones) to add. Default 1. |
| virtualRole | string | Role for each Virtual Editor instance. Default 'Client'. |
unity_mppm_deactivate_playerDeactivate a Virtual Player previously activated via unity_mppm_activate_player. index must be 2, 3, or 4.| Parameter | Type | Description |
|---|---|---|
| index * | integer | Player slot to deactivate: 2, 3, or 4. |
unity_mppm_infoGet multiplayer play mode information including CurrentPlayer state, tags, and MPPM package version.unity_mppm_list_playersList the 4 MPPM virtual-player slots and their current state (NotLaunched / Launching / Launched / Communicative). Use this before activating a player to verify slot availability.unity_mppm_list_scenariosList all MPPM (Multiplayer PlayMode) scenarios in the project with details about instances and configurations.unity_mppm_startStart the currently active scenario. By default also enters Play mode on the main editor so MPPM's Play-mode hooks fire (virtual players launch, scene tick starts). Set enterPlayMode=false to only mark the scenario running without entering Play.| Parameter | Type | Description |
|---|---|---|
| enterPlayMode | boolean | Enter Play mode after starting the scenario. Default true. |
unity_mppm_statusGet the current scenario status including running state, active scenario name, and progress.unity_mppm_stopStop the running scenario. By default also exits Play mode on the main editor so virtual-player processes shut down. Set exitPlayMode=false to leave Play mode running.| Parameter | Type | Description |
|---|---|---|
| exitPlayMode | boolean | Exit Play mode after stopping the scenario. Default true. |
unity_navmesh_add_agentAdd a NavMeshAgent component to a GameObject with optional settings (speed, angular speed, acceleration, stopping distance, radius, height).| Parameter | Type | Description |
|---|---|---|
| acceleration | number | Acceleration |
| angularSpeed | number | Turning speed in deg/s |
| height | number | Agent height |
| path * | string | GameObject path or name |
| radius | number | Agent radius |
| speed | number | Movement speed |
| stoppingDistance | number | Distance to stop before target |
unity_navmesh_add_obstacleAdd a NavMeshObstacle component to a GameObject.| Parameter | Type | Description |
|---|---|---|
| carve | boolean | Whether the obstacle carves the NavMesh |
| path * | string | GameObject path or name |
| shape | string | Shape: 'box' or 'capsule' |
unity_navmesh_bakeBake the NavMesh for AI navigation. Optionally configure agent radius, height, slope, and climb.| Parameter | Type | Description |
|---|---|---|
| agentClimb | number | Step height the agent can climb |
| agentHeight | number | Agent height |
| agentRadius | number | Agent radius (default: from NavMesh settings) |
| agentSlope | number | Max slope angle in degrees |
unity_navmesh_clearClear all baked NavMeshes from the scene.unity_navmesh_infoGet NavMesh information: vertex/triangle count, agents, obstacles, agent types.unity_navmesh_set_destinationSet the destination for a NavMeshAgent (requires Play mode).| Parameter | Type | Description |
|---|---|---|
| destination * | object | Target position {x, y, z} |
| path * | string | GameObject path with NavMeshAgent |
unity_packages_addAdd/install a Unity package by identifier (e.g. 'com.unity.cinemachine' or 'com.unity.cinemachine@3.0.0').| Parameter | Type | Description |
|---|---|---|
| identifier * | string | Package identifier, e.g. 'com.unity.cinemachine@3.0.0' |
unity_packages_infoGet detailed info about an installed package including versions and dependencies.| Parameter | Type | Description |
|---|---|---|
| name * | string | Package name, e.g. 'com.unity.cinemachine' |
unity_packages_listList all installed Unity packages with their name, version, source, and status.unity_packages_removeRemove/uninstall a Unity package by name.| Parameter | Type | Description |
|---|---|---|
| name * | string | Package name, e.g. 'com.unity.cinemachine' |
unity_packages_searchSearch for Unity packages in the registry.| Parameter | Type | Description |
|---|---|---|
| query * | string | Search query |
unity_particle_createCreate a new Particle System with optional initial settings.| Parameter | Type | Description |
|---|---|---|
| duration | number | Effect duration in seconds |
| gravityModifier | number | Gravity multiplier |
| loop | boolean | Whether the system loops |
| maxParticles | number | Maximum number of particles |
| name | string | GameObject name (default: 'Particle System') |
| parent | string | Parent GameObject path |
| position | object | World position { x, y, z } |
| startLifetime | number | Particle lifetime in seconds |
| startSize | number | Initial particle size |
| startSpeed | number | Initial particle speed |
unity_particle_infoGet detailed Particle System info: main module, emission, shape, and all module enable states.| Parameter | Type | Description |
|---|---|---|
| instanceId | string | Instance ID (alternative) |
| path | string | GameObject path |
unity_particle_playbackControl particle system playback: play, stop, pause, restart, or clear.| Parameter | Type | Description |
|---|---|---|
| action * | string | play, stop, pause, restart, or clear |
| instanceId | string | Instance ID (alternative) |
| path | string | GameObject path |
unity_particle_set_emissionConfigure particle emission: rate over time, rate over distance.| Parameter | Type | Description |
|---|---|---|
| enabled | boolean | |
| instanceId | string | Instance ID (alternative) |
| path | string | GameObject path |
| rateOverDistance | number | Particles emitted per unit distance |
| rateOverTime | number | Particles emitted per second |
unity_particle_set_mainConfigure the main module of a Particle System: duration, lifetime, speed, size, gravity, simulation space.| Parameter | Type | Description |
|---|---|---|
| duration | number | |
| gravityModifier | number | |
| instanceId | string | Instance ID (alternative) |
| loop | boolean | |
| maxParticles | number | |
| path | string | GameObject path |
| playOnAwake | boolean | |
| simulationSpace | string | Local, World, or Custom |
| startLifetime | number | |
| startRotation | number | |
| startSize | number | |
| startSpeed | number |
unity_particle_set_shapeConfigure the emission shape: Sphere, Hemisphere, Cone, Box, Circle, Edge, etc.| Parameter | Type | Description |
|---|---|---|
| angle | number | |
| arc | number | |
| enabled | boolean | |
| instanceId | string | Instance ID (alternative) |
| path | string | GameObject path |
| radius | number | |
| radiusThickness | number | 0 = emit from surface only, 1 = emit from entire volume |
| shapeType | string | Shape type: Sphere, Hemisphere, Cone, Box, Circle, Edge, Rectangle, etc. |
unity_physics_collision_matrixGet the physics collision matrix showing which layers collide with each other.unity_physics_overlap_boxFind all colliders within a box volume.| Parameter | Type | Description |
|---|---|---|
| center * | object | Box center |
| halfExtents * | object | Box half extents |
| layerMask | number | Layer mask for filtering |
unity_physics_overlap_sphereFind all colliders within a sphere. Useful for area-of-effect queries.| Parameter | Type | Description |
|---|---|---|
| center * | object | Sphere center |
| layerMask | number | Layer mask for filtering |
| radius * | number | Sphere radius (default: 1) |
unity_physics_raycastCast a ray in the physics world and return hit information. Supports single or all-hits mode.| Parameter | Type | Description |
|---|---|---|
| all | boolean | If true, return all hits instead of just the first |
| direction * | object | Ray direction |
| layerMask | number | Layer mask for filtering (default: all layers) |
| maxDistance | number | Maximum ray distance (default: Infinity) |
| origin * | object | Ray origin point |
unity_physics_set_collision_layerSet whether two physics layers should collide or ignore each other.| Parameter | Type | Description |
|---|---|---|
| ignore | boolean | If true, layers will ignore each other (default: true) |
| layer1 | number | First layer index |
| layer1Name | string | First layer name (alternative to index) |
| layer2 | number | Second layer index |
| layer2Name | string | Second layer name (alternative to index) |
unity_physics_set_gravityGet or set the global physics gravity vector.| Parameter | Type | Description |
|---|---|---|
| gravity | object | New gravity vector (omit to just read current) |
unity_play_modeControl Unity Editor play mode: enter play, pause, or stop.| Parameter | Type | Description |
|---|---|---|
| action * | string | Play mode action |
unity_playerprefs_deleteDelete a PlayerPrefs key.| Parameter | Type | Description |
|---|---|---|
| key * | string | Preference key to delete |
unity_playerprefs_delete_allDelete ALL PlayerPrefs. Use with caution.unity_playerprefs_getGet a PlayerPrefs value by key. Specify type: string (default), int, float.| Parameter | Type | Description |
|---|---|---|
| key * | string | Preference key |
| type | string | Value type: string, int, float |
unity_playerprefs_setSet a PlayerPrefs value. Specify type: string (default), int, float.| Parameter | Type | Description |
|---|---|---|
| key * | string | Preference key |
| type | string | Value type: string, int, float |
| value * | any | Value to set |
unity_prefab_add_componentAdd a component to a GameObject inside a prefab asset — no scene instance needed. Supports built-in types (Rigidbody, BoxCollider, etc.) and custom scripts.| Parameter | Type | Description |
|---|---|---|
| assetPath * | string | Asset path of the prefab |
| componentType * | string | Full type name (e.g. 'Rigidbody', 'BoxCollider', 'MyNamespace.MyScript') |
| prefabPath | string | Path within the prefab hierarchy. Empty = root. |
unity_prefab_add_gameobjectCreate a new child GameObject inside a prefab asset — no scene instance needed. Optionally create as a primitive (Cube, Sphere, etc.) with position/rotation/scale.| Parameter | Type | Description |
|---|---|---|
| assetPath * | string | Asset path of the prefab |
| name * | string | Name for the new GameObject |
| position | object | Local position |
| prefabPath | string | Parent path within the prefab hierarchy. Empty = add under root. |
| primitiveType | string | Optional primitive mesh type |
| rotation | object | Local rotation (Euler angles) |
| scale | object | Local scale |
unity_prefab_apply_overridesApply all overrides from a prefab instance in the scene back to the source prefab asset.| Parameter | Type | Description |
|---|---|---|
| instanceId | string | Instance ID (alternative to path) |
| path | string | Hierarchy path of the prefab instance |
unity_prefab_apply_variant_overrideApply overrides from a prefab variant back to its base prefab. Can apply all overrides or filter by componentType and/or gameObject path. This pushes the variant's changes into the base so all variants see them.| Parameter | Type | Description |
|---|---|---|
| applyAll | boolean | If true, apply ALL overrides to the base. Default false. |
| assetPath * | string | Asset path of the prefab variant whose overrides to apply |
| componentType | string | Optional: only apply overrides for this component type (e.g. 'MeshRenderer') |
| gameObject | string | Optional: only apply overrides on this GameObject path within the prefab (e.g. 'Body/Head') |
unity_prefab_compare_variantCompare a prefab variant to its base prefab. Returns all overrides: modified properties, added/removed components, and added/removed GameObjects. The variant must be a Prefab Variant asset.| Parameter | Type | Description |
|---|---|---|
| assetPath * | string | Asset path of the prefab variant to compare, e.g. 'Assets/Prefabs/PlayerVariant.prefab' |
unity_prefab_create_variantCreate a prefab variant from an existing base prefab. Variants inherit from the base and can override specific properties.| Parameter | Type | Description |
|---|---|---|
| basePrefabPath * | string | Asset path of the base prefab |
| overwrite | boolean | Replace an existing prefab at variantPath (default false: refuse, because every reference to it would re-bind to the new variant). |
| variantPath * | string | Asset path for the new variant |
unity_prefab_get_hierarchyGet the full hierarchy tree of a prefab asset directly from disk — no scene instance needed. Shows all GameObjects, components, and nested children inside the prefab.| Parameter | Type | Description |
|---|---|---|
| assetPath * | string | Asset path of the prefab (e.g. 'Assets/Prefabs/Player.prefab') |
| maxDepth | number | Maximum hierarchy depth to traverse (default: 10) |
unity_prefab_get_propertiesRead all serialized properties of a component on a GameObject inside a prefab asset — no scene instance needed. Use prefabPath to target nested children (e.g. 'Body/Head').| Parameter | Type | Description |
|---|---|---|
| assetPath * | string | Asset path of the prefab (e.g. 'Assets/Prefabs/Player.prefab') |
| componentType * | string | Component type name (e.g. 'MeshRenderer', 'PlayerController') |
| prefabPath | string | Path within the prefab hierarchy to the target GameObject (e.g. 'Body/Head'). Empty or omitted = prefab root. |
unity_prefab_infoGet detailed prefab information: overrides, variant status, added/removed components. Works on both prefab assets and scene instances.| Parameter | Type | Description |
|---|---|---|
| assetPath | string | Asset path of the prefab (e.g. 'Assets/Prefabs/Player.prefab') |
| instanceId | string | Instance ID of a prefab instance |
| path | string | Hierarchy path of a prefab instance in the scene |
unity_prefab_remove_componentRemove a component from a GameObject inside a prefab asset — no scene instance needed.| Parameter | Type | Description |
|---|---|---|
| assetPath * | string | Asset path of the prefab |
| componentType * | string | Component type name to remove |
| index | number | Index if multiple components of same type (default: 0) |
| prefabPath | string | Path within the prefab hierarchy. Empty = root. |
unity_prefab_remove_gameobjectDelete a child GameObject from inside a prefab asset — no scene instance needed. Cannot remove the prefab root.| Parameter | Type | Description |
|---|---|---|
| assetPath * | string | Asset path of the prefab |
| prefabPath * | string | Path to the child GameObject to remove (e.g. 'Body/OldPart'). Cannot be empty (can't delete root). |
unity_prefab_revert_overridesRevert all overrides on a prefab instance, restoring it to match the source prefab.| Parameter | Type | Description |
|---|---|---|
| instanceId | string | Instance ID (alternative to path) |
| path | string | Hierarchy path of the prefab instance |
unity_prefab_revert_variant_overrideRevert overrides on a prefab variant so it matches its base prefab again. Can revert all overrides or filter by componentType and/or gameObject path.| Parameter | Type | Description |
|---|---|---|
| assetPath * | string | Asset path of the prefab variant to revert |
| componentType | string | Optional: only revert overrides for this component type |
| gameObject | string | Optional: only revert overrides on this GameObject path within the prefab |
| revertAll | boolean | If true, revert ALL overrides. Default false. |
unity_prefab_set_propertySet a serialized property value on a component inside a prefab asset — no scene instance needed. Supports floats, ints, strings, bools, vectors, colors, enums.| Parameter | Type | Description |
|---|---|---|
| assetPath * | string | Asset path of the prefab (e.g. 'Assets/Prefabs/Player.prefab') |
| componentType * | string | Component type name |
| prefabPath | string | Path within the prefab hierarchy (e.g. 'Body/Head'). Empty = root. |
| propertyName * | string | Name of the property to set |
| value | any | Value to set (type depends on property) |
unity_prefab_set_referenceWire an ObjectReference property on a component inside a prefab asset — no scene instance needed. Can reference project assets (materials, textures, prefabs, ScriptableObjects) or other GameObjects within the same prefab.| Parameter | Type | Description |
|---|---|---|
| assetPath * | string | Asset path of the prefab |
| clear | boolean | Set to true to null out the reference |
| componentType | string | Component type (optional — searches all if omitted) |
| prefabPath | string | Path within the prefab hierarchy. Empty = root. |
| propertyName * | string | Name of the ObjectReference property to set |
| referenceAssetPath | string | Asset path of the reference target (e.g. 'Assets/Materials/Red.mat') |
| referenceComponentType | string | Get a specific component on the referenced prefab GameObject |
| referencePrefabPath | string | Path to another GameObject within the same prefab (e.g. 'Body/Head') |
unity_prefab_transfer_variant_overridesTransfer (copy) overrides from one prefab variant to another variant of the same base. Reads the property modifications from the source variant and applies them to the target variant.| Parameter | Type | Description |
|---|---|---|
| sourceAssetPath * | string | Asset path of the source prefab variant to copy overrides from |
| targetAssetPath * | string | Asset path of the target prefab variant to apply overrides to |
unity_prefab_unpackUnpack a prefab instance, converting it to regular GameObjects.| Parameter | Type | Description |
|---|---|---|
| completely | boolean | If true, unpack completely including nested prefabs (default: false) |
| instanceId | string | Instance ID (alternative to path) |
| path | string | Hierarchy path of the prefab instance |
unity_prefab_variant_infoGet variant information for a prefab asset: whether it's a variant, its base prefab path, and list all variants derived from a base prefab. Works on both base prefabs and variants.| Parameter | Type | Description |
|---|---|---|
| assetPath * | string | Asset path of the prefab (base or variant), e.g. 'Assets/Prefabs/Player.prefab' |
unity_probuilder_bevel_edgesBevel (chamfer) the edges of the selected faces by `amount`. A face-driven bevel: every edge belonging to the given faces is beveled.| Parameter | Type | Description |
|---|---|---|
| amount | number | Bevel amount (default 0.1). |
| faceIndices * | any |
unity_probuilder_booleanBoolean CSG operation between two solid meshes, producing a new editable ProBuilder object. Both objects need a MeshFilter (ProBuilder or plain mesh). The result is placed at the target's position.
EXAMPLE: { "operation": "subtract", "targetInstanceId": "-1234", "otherInstanceId": "-5678" }| Parameter | Type | Description |
|---|---|---|
| deleteSources | boolean | Delete the two source objects after the op (default true — the result replaces their combined volume). Pass false to keep them. |
| name | string | Name for the result object (default 'PB_Boolean_<operation>'). |
| operation * | string | union (merge), subtract (target minus other), or intersect (overlap only). |
| otherInstanceId | string | Instance id of the second object. Provide this OR otherPath. |
| otherPath | string | Hierarchy path of the second object. Provide this OR otherInstanceId. |
| targetInstanceId | string | Instance id of the first (target) object. Provide this OR targetPath. |
| targetPath | string | Hierarchy path of the first (target) object. Provide this OR targetInstanceId. |
unity_probuilder_center_pivotRecenter the object's pivot to the center of its geometry.unity_probuilder_combineMerge two or more ProBuilder objects into a single ProBuilder mesh (the first object). The other objects are consumed. All must already be ProBuilder objects (probuilderize plain meshes first).| Parameter | Type | Description |
|---|---|---|
| paths * | array | Hierarchy paths of >= 2 ProBuilder objects to merge. The first is kept; the rest are merged into it and removed. |
unity_probuilder_create_shapeCreate a parametric ProBuilder shape as a new, fully-editable mesh GameObject. Shapes: cube, plane, cylinder, prism, stair, cone, door, pipe, arch, sphere, torus. The result is a real ProBuilder object you can further edit (extrude, bevel, boolean, ...).
Common params: width/height/depth (size), name, position {x,y,z}, material (name or asset path), layer, addCollider, parent. Shape-specific: sides (cylinder/cone/pipe/arch), heightSegments (cylinder/pipe), steps (stair), ledge/legWidth (door), thickness (pipe/arch), angle (arch), subdivisions (sphere), rows/columns/tubeRadius (torus), widthSegments/lengthSegments (plane).
EXAMPLE: { "shape": "stair", "width": 2, "height": 3, "depth": 4, "steps": 8, "name": "Staircase" }| Parameter | Type | Description |
|---|---|---|
| addCollider | boolean | Add a MeshCollider matching the generated mesh (default false). |
| angle | number | Arch sweep angle in degrees (default 180). |
| columns | number | Torus columns (default 16). |
| depth | number | Depth / Z size (default 1). |
| height | number | Height / Y size (default 1). |
| heightSegments | number | Vertical segments for cylinder/pipe. |
| layer | string | Optional layer for the new object — a layer NAME or a numeric index. An unknown layer is reported as layerWarning. |
| ledge | number | Door ledge thickness (default 0.15). |
| legWidth | number | Door leg width (default 0.25). |
| lengthSegments | number | Plane length segments (default 1). |
| material | string | Optional material for all faces — full asset path ('Assets/Materials/Brick.mat') OR a bare material name ('Brick'). A name that can't be resolved is reported as materialWarning (no more silent fallback to the default). |
| name | string | GameObject name (default 'PB_<shape>'). |
| parent | string | Optional hierarchy path to parent the new object under (world position kept). An unknown path is reported as parentWarning. |
| position | any | |
| rows | number | Torus rows (default 12). |
| shape | string | Shape type (default: cube). |
| sides | number | Side count for cylinder/cone/pipe/arch. |
| steps | number | Step count for stair (default 6). |
| subdivisions | number | Sphere (icosphere) subdivision level (default 2). |
| thickness | number | Wall thickness for pipe/arch. |
| tubeRadius | number | Torus tube radius (default 0.2). |
| width | number | Width / X size (default 1). |
| widthSegments | number | Plane width segments (default 1). |
unity_probuilder_delete_facesDelete the selected faces from the mesh (creates holes / open geometry). Refuses to delete every face (that would empty the mesh — delete the GameObject instead).| Parameter | Type | Description |
|---|---|---|
| faceIndices * | any |
unity_probuilder_export_meshExport the object's current mesh to a Unity .asset file (a standard Mesh you can reuse elsewhere). The source object is resolved by path/instanceId; the export target is `outputPath`.| Parameter | Type | Description |
|---|---|---|
| outputPath * | string | Asset path for the exported mesh (e.g. 'Assets/Meshes/MyMesh.asset'). '.asset' is appended if missing. Must be under Assets/. |
| overwrite | boolean | Allow overwriting an existing asset at outputPath (default false — refuses to clobber). |
unity_probuilder_extrude_facesExtrude selected faces outward along their normals (or as individual faces). Adds side faces and moves the selected faces by `distance`.| Parameter | Type | Description |
|---|---|---|
| distance | number | Extrude distance (default 0.5, may be negative to inset). |
| faceIndices * | any | |
| method | string | Extrude method (default faceNormal). |
unity_probuilder_flip_normalsFlip (reverse) the winding of every face so the mesh renders inside-out. Useful for skyboxes / interior shells.The first 200 of 349 tools, in name order.
Security checks
Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.8K words.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 22 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
What the source scan found
- Transport
- stdiosrc/index.js:24
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 2 callssrc/request-cancellation.js:64, src/tools/context-tools.js:20
- Writes or deletes files
- No file writes or deletes
- Lockfile
- package-lock.json
Pattern matches on the source text of 22 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.8K words, fetched 6 days ago. The original in the repository is authoritative.
Read full README