Skip to main content

CLI Commands

Auto-generated from the actual Click tree by tools/generate_docs_reference.py.

See CLI setup and operational guidance. Global options precede subcommands.

Examples are checked for Click syntax and inert scalar types only. File/Path values are lexical only; filesystem checks, callbacks, custom conversion and command behavior are not executed.

unity-mcp​

Unity MCP (ykh09242) Command Line Interface. Control Unity Editor directly from the command line using the Model Context Protocol. Examples: unity-mcp status unity-mcp gameobject find "Player" unity-mcp --format json scene hierarchy unity-mcp editor play Environment Variables: UNITY_MCP_HOST Server host (default: 127.0.0.1) UNITY_MCP_HTTP_PORT Server port (default: 8080) UNITY_MCP_TIMEOUT Timeout in seconds (default: 300) UNITY_MCP_FORMAT Output format (default: text) UNITY_MCP_INSTANCE Target Unity instance

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--versionbooleanoptionalnargs=1, flag——Show the version and exit.
--host / -htextoptionalnargs=1"127.0.0.1"UNITY_MCP_HOSTMCP server host address.
--port / -pinteger range: [1..65535]optionalnargs=18080UNITY_MCP_HTTP_PORTMCP server port.
--timeout / -tinteger range: [1..None]optionalnargs=1300UNITY_MCP_TIMEOUTCommand timeout in seconds.
--format / -fchoice: text, json, tableoptionalnargs=1"text"UNITY_MCP_FORMATOutput format.
--instance / -itextoptionalnargs=1—UNITY_MCP_INSTANCETarget Unity instance (hash or Name@hash).
--verbose / -vbooleanoptionalnargs=1, flag——Print each command sent to Unity and its raw response to stderr.
--project-contexttextoptionalnargs=1——Select a project-local CLI context file.
--no-project-contextbooleanoptionalnargs=1, flag——Disable automatic project context discovery.
--expect-projecttextoptionalnargs=1——Verify this local Unity root for every command dispatch.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation​

Animation operations - control Animator, manage AnimationClips.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation animator​

Animator component operations.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation animator crossfade​

Crossfade to an animation state. Examples: unity-mcp animation animator crossfade "Player" "Run" --duration 0.5

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
state_nametextrequirednargs=1——
--duration / -dfloatoptionalnargs=10.25—Crossfade duration in seconds.
--layer / -lintegeroptionalnargs=1-1—Animator layer index (-1 for default).
--search-methodchoice: by_id, by_name, by_pathoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation animator get-parameter​

Get the current value of an Animator parameter. Examples: unity-mcp animation animator get-parameter "Player" "Speed"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
param_nametextrequirednargs=1——
--search-methodchoice: by_id, by_name, by_pathoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation animator info​

Get Animator state, parameters, clips, and layers. Examples: unity-mcp animation animator info "Player" unity-mcp animation animator info --search-method by_id -- -12345

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-methodchoice: by_id, by_name, by_pathoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation animator play​

Play an animation state on a target's Animator. Examples: unity-mcp animation animator play "Player" "Walk" unity-mcp animation animator play "Enemy" "Attack" --layer 1

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
state_nametextrequirednargs=1——
--layer / -lintegeroptionalnargs=1-1—Animator layer index (-1 for default).
--search-methodchoice: by_id, by_name, by_pathoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation animator set-enabled​

Enable or disable an Animator component. Examples: unity-mcp animation animator set-enabled "Player" true unity-mcp animation animator set-enabled "Player" false

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
enabledbooleanrequirednargs=1——
--search-methodchoice: by_id, by_name, by_pathoptionalnargs=1——
--runtime-onlybooleanoptionalnargs=1, flag——Require Play mode (run-only authority).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation animator set-parameter​

Set an Animator parameter. Examples: unity-mcp animation animator set-parameter "Player" "Speed" 5.0 unity-mcp animation animator set-parameter "Player" "IsRunning" true --type bool unity-mcp animation animator set-parameter "Player" "Jump" "" --type trigger

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
param_nametextrequirednargs=1——
valuetextrequirednargs=1——
--type / -tchoice: float, int, bool, triggeroptionalnargs=1——Parameter type (auto-detected if omitted).
--search-methodchoice: by_id, by_name, by_pathoptionalnargs=1——
--runtime-onlybooleanoptionalnargs=1, flag——Require Play mode; refuse persistent controller defaults (run-only authority).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation animator set-speed​

Set Animator playback speed. Examples: unity-mcp animation animator set-speed "Player" 2.0 unity-mcp animation animator set-speed "Player" 0 # pause

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
speedfloatrequirednargs=1——
--search-methodchoice: by_id, by_name, by_pathoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation clip​

AnimationClip operations.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation clip add-curve​

Add a keyframe curve to an AnimationClip. Examples: unity-mcp animation clip add-curve "Assets/Anim/Bounce.anim" \ --property "localPosition.y" --type Transform \ --keys "[[0,0],[0.5,2],[1,0]]"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
clip_pathtextrequirednargs=1——
--property / -ptextrequirednargs=1——Property path (e.g. 'localPosition.x').
--type / -ttextoptionalnargs=1"Transform"—Component type name.
--keys / -ktextrequirednargs=1——Keyframes as JSON: [[0,0],[0.5,1],[1,0]] or [{"time":0,"value":0},...] Accepts @file or -/@- stdin.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation clip add-event​

Add an animation event to a clip. Examples: unity-mcp animation clip add-event "Assets/Anim/Attack.anim" \ --function "OnAttackHit" --time 0.5 unity-mcp animation clip add-event "Assets/Anim/Footstep.anim" \ --function "PlaySound" --time 0.3 --string-param "footstep"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
clip_pathtextrequirednargs=1——
--functiontextrequirednargs=1——Function name to call.
--timefloatrequirednargs=1——Time in seconds.
--string-paramtextoptionalnargs=1""—String parameter to pass.
--float-paramfloatoptionalnargs=10.0—Float parameter to pass.
--int-paramintegeroptionalnargs=10—Int parameter to pass.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation clip assign​

Assign an AnimationClip to a GameObject. Adds an Animation component if the GameObject has no Animator or Animation. Examples: unity-mcp animation clip assign "Cube" "Assets/Animations/Bounce.anim"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
clip_pathtextrequirednargs=1——
--search-methodchoice: by_id, by_name, by_pathoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation clip create​

Create a new AnimationClip asset. Examples: unity-mcp animation clip create "Assets/Animations/Bounce.anim" --length 2.0 --loop unity-mcp animation clip create "Assets/Anim/Walk.anim" --frame-rate 30

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
clip_pathtextrequirednargs=1——
--nametextoptionalnargs=1——Clip name (defaults to filename).
--length / -lfloatoptionalnargs=11.0—Clip length in seconds.
--loop / --no-loopbooleanoptionalnargs=1, flagfalse—Whether clip loops.
--frame-ratefloatoptionalnargs=160.0—Frame rate.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation clip create-preset​

Create an AnimationClip from a named preset. Presets: bounce, rotate, pulse, fade, shake, hover, spin, sway, bob, wiggle, blink, slide_in, elastic Examples: unity-mcp animation clip create-preset "Assets/Anim/Bounce.anim" bounce --duration 2.0 unity-mcp animation clip create-preset "Assets/Anim/Spin.anim" spin --amplitude 2 --no-loop

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
clip_pathtextrequirednargs=1——
presetchoice: bounce, rotate, pulse, fade, shake, hover, spin, sway, bob, wiggle, blink, slide_in, elasticrequirednargs=1——
--duration / -dfloatoptionalnargs=11.0—Duration in seconds.
--amplitude / -afloatoptionalnargs=11.0—Amplitude/intensity multiplier.
--loop / --no-loopbooleanoptionalnargs=1, flagtrue—Whether clip loops.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation clip info​

Get AnimationClip info (curves, length, events). Examples: unity-mcp animation clip info "Assets/Animations/Walk.anim"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
clip_pathtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation clip remove-event​

Remove animation event(s) from a clip. Examples: unity-mcp animation clip remove-event "Assets/Anim/Attack.anim" --event-index 0 unity-mcp animation clip remove-event "Assets/Anim/Attack.anim" --function "OnAttackHit" unity-mcp animation clip remove-event "Assets/Anim/Attack.anim" --function "OnAttackHit" --time 0.5

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
clip_pathtextrequirednargs=1——
--event-indexintegeroptionalnargs=1——Index of event to remove.
--functiontextoptionalnargs=1——Remove events by function name.
--timefloatoptionalnargs=1——Filter by time when removing by function name.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation clip set-curve​

Replace all keyframes on a curve in an AnimationClip. Examples: unity-mcp animation clip set-curve "Assets/Anim/Bounce.anim" \ --property "localPosition.y" --type Transform \ --keys "[[0,0],[1,3]]"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
clip_pathtextrequirednargs=1——
--property / -ptextrequirednargs=1——Property path (e.g. 'localPosition.x').
--type / -ttextoptionalnargs=1"Transform"—Component type name.
--keys / -ktextrequirednargs=1——Keyframes as JSON: [[0,0],[0.5,1],[1,0]] Accepts @file or -/@- stdin.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation clip set-vector-curve​

Set 3 curves (x/y/z) from Vector3 keyframes in one call. Examples: unity-mcp animation clip set-vector-curve "Assets/Anim/Move.anim" \ --property "localPosition" \ --keys '[{"time":0,"value":[0,1,-10]},{"time":1,"value":[2,1,-10]}]'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
clip_pathtextrequirednargs=1——
--property / -ptextrequirednargs=1——Property group (e.g. 'localPosition', 'localEulerAngles', 'localScale').
--type / -ttextoptionalnargs=1"Transform"—Component type name.
--keys / -ktextrequirednargs=1——Vector3 keyframes as JSON: [{"time":0,"value":[0,1,0]},...] Accepts @file or -/@- stdin.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation controller​

AnimatorController operations.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation controller add-blend-tree-child​

Add a child motion to a blend tree. Examples: unity-mcp animation controller add-blend-tree-child "Assets/Anim/Player.controller" "Locomotion" \ --clip-path "Assets/Anim/Walk.anim" --threshold 1.0 unity-mcp animation controller add-blend-tree-child "Assets/Anim/Player.controller" "Movement" \ --clip-path "Assets/Anim/WalkForward.anim" --position 0 1

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
controller_pathtextrequirednargs=1——
state_nametextrequirednargs=1——
--clip-pathtextrequirednargs=1——AnimationClip path.
--thresholdfloatoptionalnargs=1——Threshold for 1D blend tree.
--positiontuple: float, floatoptionalnargs=2——Position (x, y) for 2D blend tree.
--layer-indexintegeroptionalnargs=10—Layer index.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation controller add-layer​

Add a layer to an AnimatorController. Examples: unity-mcp animation controller add-layer "Assets/Anim/Player.controller" "UpperBody" --weight 0.8 unity-mcp animation controller add-layer "Assets/Anim/Player.controller" "Effects" --blending-mode additive

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
controller_pathtextrequirednargs=1——
layer_nametextrequirednargs=1——
--weightfloatoptionalnargs=11.0—Layer weight (default: 1.0).
--blending-modechoice: override, additiveoptionalnargs=1"override"—Blending mode.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation controller add-parameter​

Add a parameter to an AnimatorController. Examples: unity-mcp animation controller add-parameter "Assets/Anim/Player.controller" "Speed" --type float --default-value 0.0 unity-mcp animation controller add-parameter "Assets/Anim/Player.controller" "Jump" --type trigger

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
controller_pathtextrequirednargs=1——
param_nametextrequirednargs=1——
--type / -tchoice: float, int, bool, triggeroptionalnargs=1"float"—Parameter type.
--default-valuetextoptionalnargs=1——Default value for the parameter.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation controller add-state​

Add a state to an AnimatorController. Examples: unity-mcp animation controller add-state "Assets/Anim/Player.controller" "Walk" \ --clip-path "Assets/Anim/Walk.anim" unity-mcp animation controller add-state "Assets/Anim/Player.controller" "Idle" --is-default

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
controller_pathtextrequirednargs=1——
state_nametextrequirednargs=1——
--clip-pathtextoptionalnargs=1——AnimationClip to assign as motion.
--speedfloatoptionalnargs=11.0—State playback speed.
--is-default / --no-defaultbooleanoptionalnargs=1, flagfalse—Set as default state.
--layer-indexintegeroptionalnargs=10—Layer index.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation controller add-transition​

Add a transition between states in an AnimatorController. Examples: unity-mcp animation controller add-transition "Assets/Anim/Player.controller" "Idle" "Walk" \ --no-exit-time --duration 0.25 \ --conditions '[{"parameter":"Speed","mode":"greater","threshold":0.1}]'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
controller_pathtextrequirednargs=1——
from_statetextrequirednargs=1——
to_statetextrequirednargs=1——
--has-exit-time / --no-exit-timebooleanoptionalnargs=1, flagtrue—Whether transition uses exit time.
--duration / -dfloatoptionalnargs=10.25—Transition duration.
--conditions / -ctextoptionalnargs=1——Conditions as JSON: [{"parameter":"Speed","mode":"greater","threshold":0.1}] Accepts @file or -/@- stdin.
--layer-indexintegeroptionalnargs=10—Layer index.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation controller assign​

Assign an AnimatorController to a GameObject. Adds an Animator component if needed. Examples: unity-mcp animation controller assign "Assets/Animations/Player.controller" "Player"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
controller_pathtextrequirednargs=1——
targettextrequirednargs=1——
--search-methodchoice: by_id, by_name, by_pathoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation controller create​

Create a new AnimatorController asset. Examples: unity-mcp animation controller create "Assets/Animations/Player.controller"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
controller_pathtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation controller create-blend-tree-1d​

Create a 1D blend tree state in an AnimatorController. Examples: unity-mcp animation controller create-blend-tree-1d "Assets/Anim/Player.controller" "Locomotion" --blend-param "Speed"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
controller_pathtextrequirednargs=1——
state_nametextrequirednargs=1——
--blend-paramtextrequirednargs=1——Blend parameter name.
--layer-indexintegeroptionalnargs=10—Layer index.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation controller create-blend-tree-2d​

Create a 2D blend tree state in an AnimatorController. Examples: unity-mcp animation controller create-blend-tree-2d "Assets/Anim/Player.controller" "Movement" \ --blend-param-x "VelocityX" --blend-param-y "VelocityZ"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
controller_pathtextrequirednargs=1——
state_nametextrequirednargs=1——
--blend-param-xtextrequirednargs=1——X-axis blend parameter name.
--blend-param-ytextrequirednargs=1——Y-axis blend parameter name.
--blend-typechoice: simpledirectional2d, freeformdirectional2d, freeformcartesian2doptionalnargs=1"simpledirectional2d"—Blend tree type.
--layer-indexintegeroptionalnargs=10—Layer index.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation controller info​

Get AnimatorController info (states, transitions, parameters). Examples: unity-mcp animation controller info "Assets/Animations/Player.controller"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
controller_pathtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation controller remove-layer​

Remove a layer from an AnimatorController. Examples: unity-mcp animation controller remove-layer "Assets/Anim/Player.controller" --layer-index 1 unity-mcp animation controller remove-layer "Assets/Anim/Player.controller" --layer-name "UpperBody"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
controller_pathtextrequirednargs=1——
--layer-indexintegeroptionalnargs=1——Layer index to remove.
--layer-nametextoptionalnargs=1——Layer name to remove.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation controller set-layer-weight​

Set the weight of a layer in an AnimatorController. Examples: unity-mcp animation controller set-layer-weight "Assets/Anim/Player.controller" 0.5 --layer-index 1 unity-mcp animation controller set-layer-weight "Assets/Anim/Player.controller" 0.8 --layer-name "UpperBody"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
controller_pathtextrequirednargs=1——
weightfloatrequirednargs=1——
--layer-indexintegeroptionalnargs=1——Layer index.
--layer-nametextoptionalnargs=1——Layer name.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp animation raw​

Execute any animation action directly. Actions include: animator_: animator_get_info, animator_play, animator_crossfade, ... controller_: controller_create, controller_add_state, controller_add_transition, ... clip_*: clip_create, clip_get_info, clip_add_curve, clip_set_curve, clip_set_vector_curve, clip_create_preset, clip_assign Examples: unity-mcp animation raw animator_play "Player" --params '{"stateName": "Walk"}' unity-mcp animation raw clip_create --clip-path "Assets/Anim/Test.anim" --params '{"length": 2.0, "loop": true}'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
actiontextrequirednargs=1——
targettextoptionalnargs=1——
--clip-pathtextoptionalnargs=1——AnimationClip asset path.
--params / -ptextoptionalnargs=1"{}"—Additional parameters as JSON. Accepts @file or -/@- stdin.
--search-methodchoice: by_id, by_name, by_pathoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset​

Asset operations - search, import, create, delete assets.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset create​

Create a new asset. Examples: unity-mcp asset create "Assets/Materials/Blue.mat" Material unity-mcp asset create "Assets/NewFolder" Folder unity-mcp asset create "Assets/Materials/Custom.mat" Material --properties '{"color": [0,0,1,1]}'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
asset_typetextrequirednargs=1——
--properties / -ptextoptionalnargs=1——Initial properties as JSON. Accepts @file or -/@- stdin.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset delete​

Delete an asset. Examples: unity-mcp asset delete "Assets/OldMaterial.mat" unity-mcp asset delete "Assets/Unused" --force

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--force / -fbooleanoptionalnargs=1, flag——Skip confirmation prompt.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset duplicate​

Duplicate an asset. Examples: unity-mcp asset duplicate "Assets/Materials/Red.mat" "Assets/Materials/RedCopy.mat"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
sourcetextrequirednargs=1——
destinationtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset import​

Import/reimport an asset. Examples: unity-mcp asset import "Assets/Textures/NewTexture.png"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset info​

Get detailed information about an asset. Examples: unity-mcp asset info "Assets/Materials/Red.mat" unity-mcp asset info "Assets/Prefabs/Player.prefab" --preview

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--previewbooleanoptionalnargs=1, flag——Generate preview thumbnail (may be large).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset labels​

Read or change asset labels using observed revisions; batches are sequential.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset labels add​

Add exact labels while preserving unrelated labels.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextoptionalnargs=1——
--targets-jsontextoptionalnargs=1——1-32 rows with path and observed revision.
--labels-jsontextrequirednargs=1——Exact label array; [] clears with set.
--revisiontextoptionalnargs=1——Observed single-target label revision.
--force / -fbooleanoptionalnargs=1, flag——Skip confirmation, not revision validation.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset labels get​

Read labels and revisions; package targets are read-only.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextoptionalnargs=1——
--targets-jsontextoptionalnargs=1——1-32 rows: [{"path":"Assets/a.txt"}].
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset labels remove​

Remove exact labels while preserving unrelated labels.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextoptionalnargs=1——
--targets-jsontextoptionalnargs=1——1-32 rows with path and observed revision.
--labels-jsontextrequirednargs=1——Exact label array; [] clears with set.
--revisiontextoptionalnargs=1——Observed single-target label revision.
--force / -fbooleanoptionalnargs=1, flag——Skip confirmation, not revision validation.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset labels set​

Replace the complete label set; an empty array clears labels.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextoptionalnargs=1——
--targets-jsontextoptionalnargs=1——1-32 rows with path and observed revision.
--labels-jsontextrequirednargs=1——Exact label array; [] clears with set.
--revisiontextoptionalnargs=1——Observed single-target label revision.
--force / -fbooleanoptionalnargs=1, flag——Skip confirmation, not revision validation.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset mkdir​

Create a folder. Examples: unity-mcp asset mkdir "Assets/NewFolder" unity-mcp asset mkdir "Assets/Levels/Chapter1"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset move​

Move an asset to a new location. Examples: unity-mcp asset move "Assets/Old/Material.mat" "Assets/New/Material.mat"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
sourcetextrequirednargs=1——
destinationtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset rename​

Rename an asset. Examples: unity-mcp asset rename "Assets/Materials/Old.mat" "New.mat"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
new_nametextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

Search for assets. Examples: unity-mcp asset search ".prefab" unity-mcp asset search "Player" --path "Assets/Characters" unity-mcp asset search "*" --type Material unity-mcp asset search "t:MonoScript" --path "Assets/Scripts"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
patterntextoptionalnargs=1"*"—
--path / -ptextoptionalnargs=1"Assets"—Folder path to search in.
--type / -ttextoptionalnargs=1——Filter by asset type (e.g., Material, Prefab, MonoScript).
--limit / -lintegeroptionalnargs=125—Maximum results per page.
--pageintegeroptionalnargs=11—Page number (1-based).
--metadata-onlybooleanoptionalnargs=1, flag——Search metadata without explicit object/preview loads; return a short-lived reusable snapshot.
--search-snapshottextoptionalnargs=1——Continue metadata pages with the same query, scope, type and limit.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset-gen​

AI asset generation - generate 3D models, import marketplace models, generate images.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset-gen generate-audio​

Generate audio (SFX / music) with a fal.ai model. Examples: unity-mcp asset-gen generate-audio --provider fal --prompt "8-bit coin pickup" unity-mcp asset-gen generate-audio --prompt "calm ambient loop" --duration 30

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--providertextoptionalnargs=1——Provider id (fal).
--prompttextoptionalnargs=1——Text prompt describing the sound or music.
--modeltextoptionalnargs=1——fal model id (omit for the GUI-selected default).
--durationfloatoptionalnargs=1——Requested length in seconds (soft-clamped per model).
--nametextoptionalnargs=1——Base name for the imported asset.
--output-foldertextoptionalnargs=1——Destination folder under Assets/.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset-gen generate-image​

Generate a 2D image with an AI provider. Examples: unity-mcp asset-gen generate-image --provider fal --prompt "a stone texture" unity-mcp asset-gen generate-image --provider openrouter --prompt "logo" --transparent

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--providertextoptionalnargs=1——Provider id (fal, openrouter).
--modetextoptionalnargs=1——Generation mode: text or image.
--prompttextoptionalnargs=1——Text prompt for text->image.
--image-pathtextoptionalnargs=1——Source image path for image->image.
--image-urltextoptionalnargs=1——Source image URL for image->image.
--allow-image-uploadbooleanoptionalnargs=1, flagfalse—Consent to send the local image's original bytes, including metadata, to the selected provider for potentially billable generation.
--modeltextoptionalnargs=1——Provider model id/slug.
--transparent / --no-transparentbooleanoptionalnargs=1, flag——Request transparency.
--widthintegeroptionalnargs=1——Output width in pixels.
--heightintegeroptionalnargs=1——Output height in pixels.
--nametextoptionalnargs=1——Base name for the imported asset.
--output-foldertextoptionalnargs=1——Destination folder under Assets/.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset-gen generate-model​

Generate a 3D model with an AI provider. Examples: unity-mcp asset-gen generate-model --provider tripo --mode text --prompt "a red chair" unity-mcp asset-gen generate-model --provider meshy --mode image --image-path Assets/ref.png --allow-image-upload

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--providertextoptionalnargs=1——Provider id (tripo, meshy, fal).
--modetextoptionalnargs=1——Generation mode: text or image.
--prompttextoptionalnargs=1——Text prompt for text->3D.
--image-pathtextoptionalnargs=1——Source image path for image->3D.
--image-urltextoptionalnargs=1——Source image URL for image->3D.
--allow-image-uploadbooleanoptionalnargs=1, flagfalse—Consent to send the local image's original bytes, including metadata, to the selected provider for potentially billable generation.
--formattextoptionalnargs=1——Output format: glb, fbx, obj, usdz.
--target-sizefloatoptionalnargs=1——Normalize largest dimension (meters).
--texture / --no-texturebooleanoptionalnargs=1, flag——Generate textures.
--tiertextoptionalnargs=1——Provider quality/cost tier.
--modeltextoptionalnargs=1——Provider model id/version (omit for the GUI-selected default).
--nametextoptionalnargs=1——Base name for the imported asset.
--output-foldertextoptionalnargs=1——Destination folder under Assets/.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset-gen import-model​

Import a 3D model from the Sketchfab marketplace by uid. Examples: unity-mcp asset-gen import-model --uid abc123 unity-mcp asset-gen import-model --uid abc123 --name MyProp --output-folder Assets/Props

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--uidtextrequirednargs=1——Sketchfab model uid to import.
--target-sizefloatoptionalnargs=1——Normalize largest dimension (meters).
--nametextoptionalnargs=1——Base name for the imported asset.
--output-foldertextoptionalnargs=1——Destination folder under Assets/.
--archive-model-pathtextoptionalnargs=1——Exact case-sensitive ZIP model entry; omit for deterministic FBX/OBJ-first selection.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset-gen import-model-file​

Import a 3D model file already within this Unity project's Assets folder.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--source-pathtextrequirednargs=1——Assets-relative or absolute-within-Assets model file path (.fbx/.obj/.glb/.gltf/.zip); traversal and links are rejected.
--nametextoptionalnargs=1——Base name for the imported asset.
--output-foldertextoptionalnargs=1——Destination folder under Assets/.
--target-sizefloatoptionalnargs=1——Normalize largest dimension (meters).
--animation-typechoice: none, generic, humanoid, legacyoptionalnargs=1——FBX/OBJ rig mode: generic/humanoid surface animation clips; legacy selects Unity's legacy Animation system (glTF ignores this).
--archive-model-pathtextoptionalnargs=1——Exact case-sensitive ZIP model entry; omit for deterministic FBX/OBJ-first selection.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset-gen list-models​

List compatible models, capabilities, and catalog freshness. If catalogs[].refreshing is true, repeat this command without --refresh later. Discovered entries are checked for compatibility before generation.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--kindchoice: audio, image, modelrequirednargs=1——Asset kind to discover.
--providertextoptionalnargs=1——Restrict results to one provider.
--refreshbooleanoptionalnargs=1, flag——Force live catalog discovery.
--searchtextoptionalnargs=1——Filter models by name, id or use case.
--modechoice: text, imageoptionalnargs=1——Filter models by input mode.
--limitinteger range: [1..200]optionalnargs=1——Page size (default 50).
--offsetinteger range: [0..None]optionalnargs=1——Page offset (default 0).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp asset-gen status​

Check the status of an asset generation/import job. Examples: unity-mcp asset-gen status --kind image --job-id abc123

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--job-idtextrequirednargs=1——Job id returned by a generate/import command.
--kindchoice: model, image, audiooptionalnargs=1"model"—Originating generation capability; model also handles model imports.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp audio​

AudioSource playback in Play mode and volume settings.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp audio play​

Request playback on an existing AudioSource in Play mode. Examples: unity-mcp audio play "MusicPlayer" unity-mcp audio play "SFXSource" --clip "Assets/Audio/explosion.wav"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--clip / -ctextoptionalnargs=1——Audio clip path to play.
--search-methodchoice: by_id, by_name, by_pathoptionalnargs=1——How to find the target.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp audio stop​

Request stopping an existing AudioSource in Play mode. Examples: unity-mcp audio stop "MusicPlayer"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-methodchoice: by_id, by_name, by_pathoptionalnargs=1——How to find the target.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp audio volume​

Set audio volume on a target's AudioSource. Examples: unity-mcp audio volume "MusicPlayer" 0.5

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
levelfloatrequirednargs=1——
--search-methodchoice: by_id, by_name, by_pathoptionalnargs=1——How to find the target.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp batch​

Batch operations - execute multiple commands efficiently.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp batch inline​

Execute commands from inline JSON. Examples: unity-mcp batch inline '[{"tool": "manage_scene", "params": {"action": "get_active"}}]' unity-mcp batch inline '[ {"tool": "manage_gameobject", "params": {"action": "create", "name": "A", "primitiveType": "Cube"}}, {"tool": "manage_gameobject", "params": {"action": "create", "name": "B", "primitiveType": "Sphere"}} ]' JSON input also accepts @file or -/@- stdin.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
commands_jsontextrequirednargs=1——
--parallelbooleanoptionalnargs=1, flag——Request parallel execution; the Editor currently runs sequentially.
--fail-fastbooleanoptionalnargs=1, flag——Stop on first failure.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp batch run​

Execute commands from a JSON file. The JSON file should contain an array of command objects with 'tool' and 'params' keys. File format: [ {"tool": "manage_gameobject", "params": {"action": "create", "name": "Cube1"}}, {"tool": "manage_gameobject", "params": {"action": "create", "name": "Cube2"}}, {"tool": "manage_components", "params": {"action": "add", "target": "Cube1", "componentType": "Rigidbody"}} ] Examples: unity-mcp batch run commands.json unity-mcp batch run setup.json --parallel unity-mcp batch run critical.json --fail-fast

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
filetextrequirednargs=1——
--parallelbooleanoptionalnargs=1, flag——Request parallel execution; the Editor currently runs sequentially.
--fail-fastbooleanoptionalnargs=1, flag——Stop on first failure.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp batch template​

Generate a sample batch commands file. Examples: unity-mcp batch template > commands.json unity-mcp batch template -o my_batch.json

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--output / -otextoptionalnargs=1——Output file (default: stdout)
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp blender​

Blender Bridge - talk to a running Blender (BlenderMCP addon) from Unity.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp blender check-updates​

git fetch the blender-mcp checkout and report how far behind its remotes it is.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp blender compare-screenshot​

Composite Blender's viewport and a Unity capture of the placed object side by side.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--game-objecttextrequirednargs=1——Placed GameObject to frame in Unity.
--max-sizeintegeroptionalnargs=1——Max pixels on the longest side of each half.
--output-foldertextoptionalnargs=1——Copy the PNG under this Assets/ folder.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp blender import-model​

Export from Blender, import into the project, and place the model in the open scene. Examples: unity-mcp blender import-model --selection-only --target-size 2 unity-mcp blender import-model --object House --format glb --position 0 0 0

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--objecttextoptionalnargs=1, repeatable——Blender object to export (repeatable). Children included.
--selection-onlybooleanoptionalnargs=1, flagfalse—Export only what is selected in Blender.
--formatchoice: glb, fbxoptionalnargs=1——Export format (default glb).
--nametextoptionalnargs=1——Asset and GameObject name.
--target-sizefloatoptionalnargs=1——Final size in meters of the largest dimension (0 keeps the imported scale).
--positionfloatoptionalnargs=3——World position of the placed instance.
--no-placebooleanoptionalnargs=1, flagfalse—Import only; do not place in the scene.
--keep-modifiersbooleanoptionalnargs=1, flagfalse—Do not bake modifiers (use for rigs / shape keys).
--output-foldertextoptionalnargs=1——Destination folder under Assets/.
--animation-typechoice: none, generic, humanoid, legacyoptionalnargs=1——FBX only: rig/animation import mode.
--no-animatebooleanoptionalnargs=1, flagfalse—Do not create a looping AnimatorController for imported clips.
--save-prefabbooleanoptionalnargs=1, flagfalse—Save the placed instance as a prefab.
--ensure-bloombooleanoptionalnargs=1, flagfalse—Add a Bloom volume when the model has emissive materials.
--timeoutintegeroptionalnargs=1——Seconds to wait for Blender.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp blender object-info​

Print details about one Blender object.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--object-nametextrequirednargs=1——Blender object name.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp blender run-python​

Execute Python inside Blender and print its stdout.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--codetextoptionalnargs=1——Python source to run inside Blender.
--filetextoptionalnargs=1——Read the Python source from this file instead of --code.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp blender scene-info​

Print Blender's current scene summary.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp blender screenshot​

Capture Blender's viewport to a PNG.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--max-sizeintegeroptionalnargs=1——Max pixels on the longest side.
--output-foldertextoptionalnargs=1——Copy the PNG under this Assets/ folder.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp blender setup-bloom​

Enable camera post-processing and add a Bloom override to the global volume.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp blender status​

Report whether Blender is reachable and whether the installed addon matches the checkout.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp blender sync-addon​

Copy the checkout's addon.py into Blender's addons folder.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--forcebooleanoptionalnargs=1, flagfalse—Overwrite even when the installed addon already matches.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp build​

Build management - player builds, platforms, settings, batch.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp build batch​

Run batch builds across multiple platforms or profiles. Examples: unity-mcp build batch --targets windows64,linux64,webgl unity-mcp build batch --profiles "Assets/Profiles/A.asset,Assets/Profiles/B.asset" unity-mcp build batch --targets windows64,android --development

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--targets / -ttextoptionalnargs=1——Comma-separated targets: windows64,linux64,webgl
--profiles / -ptextoptionalnargs=1——Comma-separated Build Profile asset paths
--output-dir / -otextoptionalnargs=1——Base output directory
--development / -dbooleanoptionalnargs=1, flag——Development build for all
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp build cancel​

Cancel a build or batch job (best-effort). Examples: unity-mcp build cancel batch-xyz789

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
job_idtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp build clean-output​

Preview or delete an explicit build output under Builds/.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
output_pathtextrequirednargs=1——
--deletebooleanoptionalnargs=1, flag——Delete the selected Builds/ descendant; omission previews only.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp build plan​

Observe one ordinary build without applying settings, saving or building. Use the same flags with build run --expected-plan HASH to reject declared drift. Module availability is not proof of SDK/toolchain readiness or build success.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--target / -ttextoptionalnargs=1——Build target: windows64, osx, linux64, android, ios, webgl
--output / -otextoptionalnargs=1——Output path
--development / -dbooleanoptionalnargs=1, flag——Development build
--backendchoice: mono, il2cppoptionalnargs=1——Proposed persistent backend change at apply
--subtargetchoice: player, serveroptionalnargs=1——Build subtarget
--cleanbooleanoptionalnargs=1, flag——Plan a cache clean during build
--auto-runbooleanoptionalnargs=1, flag——Plan auto-run after build
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp build platform​

Read or switch the active build platform. Examples: unity-mcp build platform unity-mcp build platform android unity-mcp build platform windows64 --subtarget server

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextoptionalnargs=1——
--subtargetchoice: player, serveroptionalnargs=1——Build subtarget
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp build profiles​

List, inspect, or activate Build Profiles supported by the connected Editor. Examples: unity-mcp build profiles unity-mcp build profiles "Assets/Settings/Build Profiles/iOS.asset" unity-mcp build profiles "Assets/Settings/Build Profiles/iOS.asset" --activate

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
profiletextoptionalnargs=1——
--activatebooleanoptionalnargs=1, flag——Activate the specified profile
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp build run​

Trigger a player build. Examples: unity-mcp build run --target windows64 --development unity-mcp build run --target android --backend il2cpp unity-mcp build run --profile "Assets/Settings/Build Profiles/iOS.asset"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--target / -ttextoptionalnargs=1——Build target: windows64, osx, linux64, android, ios, webgl
--output / -otextoptionalnargs=1——Output path
--development / -dbooleanoptionalnargs=1, flag——Development build
--backendchoice: mono, il2cppoptionalnargs=1——Scripting backend
--subtargetchoice: player, serveroptionalnargs=1——Build subtarget
--profiletextoptionalnargs=1——Build Profile asset path, when the Editor supports building with a profile
--cleanbooleanoptionalnargs=1, flag——Clean build cache
--auto-runbooleanoptionalnargs=1, flag——Auto-run after build
--expected-plantextoptionalnargs=1——Require the 64-hex fingerprint from build plan; no fallback
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp build scenes​

Read or update the build scene list. Omit --set to read. An explicitly empty --set clears the list; blank path segments in a nonempty list are rejected. Examples: unity-mcp build scenes unity-mcp build scenes --set "" unity-mcp build scenes --set "Assets/Scenes/Main.unity,Assets/Scenes/Level1.unity"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--settextoptionalnargs=1——Comma-separated scene paths; use --set "" to clear.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp build settings​

Read or write player settings. Properties: product_name, company_name, version, bundle_id, scripting_backend, defines, architecture Examples: unity-mcp build settings product_name unity-mcp build settings product_name --value "My Game" unity-mcp build settings scripting_backend --value il2cpp --target android

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
property_nametextrequirednargs=1——
--value / -vtextoptionalnargs=1——Value to set. Omit to read.
--target / -ttextoptionalnargs=1——Build target for platform-specific settings
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp build status​

Check build status or get last build report. Examples: unity-mcp build status unity-mcp build status build-abc123

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
job_idtextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera​

Camera operations - create, configure, and control cameras.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera add-extension​

Add extension to CinemachineCamera. Examples: unity-mcp camera add-extension "CM Camera" CinemachineDeoccluder unity-mcp camera add-extension "CM Camera" CinemachineImpulseListener

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
extension_typetextrequirednargs=1——
--search-method / -schoice: by_id, by_name, by_pathoptionalnargs=1——
--propstextoptionalnargs=1——Extension properties as JSON. Accepts @file or -/@- stdin.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera brain-status​

Get CinemachineBrain status. Examples: unity-mcp camera brain-status

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera create​

Create a new camera. Examples: unity-mcp camera create --name "FollowCam" --preset third_person --follow Player unity-mcp camera create --name "MainCam" --fov 50

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--name / -ntextoptionalnargs=1——Name for the camera GameObject.
--preset / -pchoice: follow, third_person, freelook, dolly, static, top_down, side_scrolleroptionalnargs=1——Camera preset (Cinemachine only).
--followtextoptionalnargs=1——Follow target (name/path/ID).
--look-attextoptionalnargs=1——LookAt target (name/path/ID).
--priorityintegeroptionalnargs=1——Camera priority.
--fovfloatoptionalnargs=1——Field of view.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera ensure-brain​

Ensure CinemachineBrain exists on main camera. Examples: unity-mcp camera ensure-brain unity-mcp camera ensure-brain --blend-style EaseInOut --blend-duration 2.0

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--camera-reftextoptionalnargs=1——Camera to add Brain to (name/path/ID).
--blend-styletextoptionalnargs=1——Default blend style.
--blend-durationfloatoptionalnargs=1——Default blend duration.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera force​

Force Brain to use a specific camera. Examples: unity-mcp camera force "CM Cinematic"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-method / -schoice: by_id, by_name, by_pathoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera list​

List all cameras in the scene. Examples: unity-mcp camera list

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera ping​

Check if Cinemachine is available. Examples: unity-mcp camera ping

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera release​

Release camera override. Examples: unity-mcp camera release

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera remove-extension​

Remove extension from CinemachineCamera. Examples: unity-mcp camera remove-extension "CM Camera" CinemachineDeoccluder

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
extension_typetextrequirednargs=1——
--search-method / -schoice: by_id, by_name, by_pathoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera screenshot​

Capture a screenshot from a camera. Examples: unity-mcp camera screenshot unity-mcp camera screenshot --camera-ref "CM FollowCam" --include-image --max-resolution 512 unity-mcp camera screenshot --capture-source scene_view --view-target Canvas --include-image unity-mcp camera screenshot --batch surround --view-target Player unity-mcp camera screenshot --output-folder Captures

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--camera-reftextoptionalnargs=1——Camera to capture from (name/path/ID).
--file-nametextoptionalnargs=1——Output file name.
--super-sizeintegeroptionalnargs=1——Supersize multiplier.
--include-image / --no-include-imagebooleanoptionalnargs=1, flag——Return inline base64 PNG.
--max-resolutionintegeroptionalnargs=1——Max resolution for inline image.
--capture-sourcechoice: game_view, scene_viewoptionalnargs=1——Capture source: game_view (default) or scene_view.
--batchchoice: surround, orbitoptionalnargs=1——Batch capture mode.
--view-targettextoptionalnargs=1——Target to focus on (name/path/ID or [x,y,z]). Aims camera (game_view) or frames Scene View (scene_view).
--output-foldertextoptionalnargs=1——Output folder, project-relative (e.g. 'Assets/Screenshots' or 'Captures') or absolute inside the project. Overrides Editor preference; falls back to Assets/Screenshots when unset.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera screenshot-multiview​

Capture a 6-angle contact sheet around the scene. Examples: unity-mcp camera screenshot-multiview unity-mcp camera screenshot-multiview --view-target Player --max-resolution 480

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--max-resolutionintegeroptionalnargs=1——Max resolution per tile.
--view-targettextoptionalnargs=1——Center target: GameObject name/path/ID or [x,y,z].
--output-foldertextoptionalnargs=1——Output folder, project-relative or absolute inside the project. Overrides Editor preference; falls back to Assets/Screenshots when unset.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera set-aim​

Configure Aim component on CinemachineCamera. Examples: unity-mcp camera set-aim "CM Camera" --aim-type CinemachineHardLookAt

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-method / -schoice: by_id, by_name, by_pathoptionalnargs=1——
--aim-typetextoptionalnargs=1——Aim component type to swap to.
--propstextoptionalnargs=1——Aim properties as JSON. Accepts @file or -/@- stdin.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera set-blend​

Configure default blend on CinemachineBrain. Examples: unity-mcp camera set-blend --style EaseInOut --duration 2.0

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--styletextoptionalnargs=1——Blend style (Cut, EaseInOut, Linear, etc.).
--durationfloatoptionalnargs=1——Blend duration in seconds.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera set-body​

Configure Body component on CinemachineCamera. Examples: unity-mcp camera set-body "CM Camera" --body-type CinemachineFollow unity-mcp camera set-body "CM Camera" --props '{"cameraDistance": 5.0}'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-method / -schoice: by_id, by_name, by_pathoptionalnargs=1——
--body-typetextoptionalnargs=1——Body component type to swap to.
--propstextoptionalnargs=1——Body properties as JSON. Accepts @file or -/@- stdin.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera set-lens​

Set camera lens properties. Examples: unity-mcp camera set-lens "CM Camera" --fov 40 --near 0.1

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-method / -schoice: by_id, by_name, by_pathoptionalnargs=1——
--fovfloatoptionalnargs=1——Field of view.
--nearfloatoptionalnargs=1——Near clip plane.
--farfloatoptionalnargs=1——Far clip plane.
--ortho-sizefloatoptionalnargs=1——Orthographic size.
--dutchfloatoptionalnargs=1——Dutch angle (Cinemachine).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera set-noise​

Configure Noise on CinemachineCamera. Examples: unity-mcp camera set-noise "CM Camera" --amplitude 0.5 --frequency 1.0

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-method / -schoice: by_id, by_name, by_pathoptionalnargs=1——
--amplitudefloatoptionalnargs=1——Amplitude gain.
--frequencyfloatoptionalnargs=1——Frequency gain.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera set-priority​

Set camera priority. Examples: unity-mcp camera set-priority "CM Camera" --priority 20

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-method / -schoice: by_id, by_name, by_pathoptionalnargs=1——
--priority / -pintegerrequirednargs=1——Priority value.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp camera set-target​

Set camera Follow/LookAt targets. Examples: unity-mcp camera set-target "CM Camera" --follow Player --look-at Player

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-method / -schoice: by_id, by_name, by_pathoptionalnargs=1——
--followtextoptionalnargs=1——Follow target (name/path/ID).
--look-attextoptionalnargs=1——LookAt target (name/path/ID).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp code​

Code operations - read, search, and execute.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp code clear-history​

Clear execution history.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp code execute​

Execute C# code in Unity Editor. Code runs as a method body with access to UnityEngine and UnityEditor. Use 'return' to send data back. Examples: unity-mcp code execute "return Application.unityVersion;" unity-mcp code execute "Debug.Log(Camera.main.name);" unity-mcp code execute -f my_script.cs

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
sourcetextoptionalnargs=1——
--file / -ftextoptionalnargs=1——Read code from a file instead of argument.
--no-safety-checksbooleanoptionalnargs=1, flag——Disable blocked-pattern checks (allows File.Delete, Process.Start, etc).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp code history​

Show execution history. Examples: unity-mcp code history unity-mcp code history --limit 5

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--limit / -nintegeroptionalnargs=110—Number of entries to show (default: 10).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp code read​

Read a source file. Examples: unity-mcp code read "Assets/Scripts/Player.cs" unity-mcp code read "Assets/Scripts/Player.cs" --start-line 10 --line-count 20

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--start-line / -sinteger range: [1..None]optionalnargs=1——Starting line number (1-based).
--line-count / -ninteger range: [1..None]optionalnargs=1——Number of lines to read.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp code replay​

Replay a history entry by index. Examples: unity-mcp code replay 0 unity-mcp code replay 3

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
indexintegerrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

Search for patterns in Unity scripts using regex. PATTERN is a regex pattern to search for. PATH is the script path (e.g., Assets/Scripts/Player.cs). Results stop at --max-results (at most 1000). Excerpts are limited to 500 characters and match text to 200. JSON data.count is the number returned; data.truncated indicates further matches, without counting the entire file. Examples: unity-mcp code search "class.*Player" "Assets/Scripts/Player.cs" unity-mcp code search "private.*int" "Assets/Scripts/GameManager.cs" unity-mcp code search "TODO|FIXME" "Assets/Scripts/Utils.cs"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
patterntextrequirednargs=1——
pathtextrequirednargs=1——
--max-results / -ninteger range: [1..None]optionalnargs=150—Maximum results (default: 50; output capped at 1000 with bounded excerpts).
--case-sensitive / -cbooleanoptionalnargs=1, flag——Make search case-sensitive (default: case-insensitive).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp component​

Component operations - add, remove, modify components on GameObjects.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp component add​

Add a component to a GameObject. Examples: unity-mcp component add "Player" Rigidbody unity-mcp component add --search-method by_id -- -81840 BoxCollider unity-mcp component add "Enemy" Rigidbody --properties '{"mass": 5.0, "useGravity": true}'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
component_typetextrequirednargs=1——
--search-methodchoice: by_id, by_name, by_pathoptionalnargs=1——How to find the target GameObject.
--properties / -ptextoptionalnargs=1——Initial properties as JSON (e.g., '{"mass": 5.0}'). Accepts @file or -/@- stdin.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp component modify​

Set multiple properties on a component at once. Examples: unity-mcp component modify "Player" Rigidbody --properties '{"mass": 5.0, "useGravity": false}' unity-mcp component modify "Light" Light --properties '{"intensity": 2.0, "color": [1, 0, 0, 1]}' unity-mcp component modify "Player" BoxCollider --properties '{"size": [2,2,2]}' --component-index 1

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
component_typetextrequirednargs=1——
--properties / -ptextrequirednargs=1——Properties to set as JSON (e.g., '{"mass": 5.0, "useGravity": false}'). Accepts @file or -/@- stdin.
--search-methodchoice: by_id, by_name, by_pathoptionalnargs=1——How to find the target GameObject.
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple components of the same type exist.
--strict-selectionbooleanoptionalnargs=1, flag——Require a unique target and component unless an index or component ID selects it.
--component-instance-idinteger range: [-2147483648..2147483647]optionalnargs=1——Nonzero live component instance ID; cannot be combined with --component-index.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp component remove​

Remove a component from a GameObject. Examples: unity-mcp component remove "Player" Rigidbody unity-mcp component remove --search-method by_id --force -- -81840 BoxCollider unity-mcp component remove "Player" BoxCollider --component-index 1

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
component_typetextrequirednargs=1——
--search-methodchoice: by_id, by_name, by_pathoptionalnargs=1——How to find the target GameObject.
--force / -fbooleanoptionalnargs=1, flag——Skip confirmation prompt.
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple components of the same type exist.
--strict-selectionbooleanoptionalnargs=1, flag——Require a unique target and component unless an index or component ID selects it.
--component-instance-idinteger range: [-2147483648..2147483647]optionalnargs=1——Nonzero live component instance ID; cannot be combined with --component-index.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp component set​

Set a single property on a component. Examples: unity-mcp component set "Player" Rigidbody mass 5.0 unity-mcp component set "Enemy" Transform position "[0, 5, 0]" unity-mcp component set --search-method by_id -- -81840 Light intensity 2.5 unity-mcp component set "Player" BoxCollider size "[2,2,2]" --component-index 1

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
component_typetextrequirednargs=1——
property_nametextrequirednargs=1——
valuetextrequirednargs=1——
--search-methodchoice: by_id, by_name, by_pathoptionalnargs=1——How to find the target GameObject.
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple components of the same type exist.
--strict-selectionbooleanoptionalnargs=1, flag——Require a unique target and component unless an index or component ID selects it.
--component-instance-idinteger range: [-2147483648..2147483647]optionalnargs=1——Nonzero live component instance ID; cannot be combined with --component-index.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp custom_tool​

Alias for tool management (custom tools).

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp custom_tool list​

List custom tools registered for the active Unity project.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp custom_tool scaffold​

Create a new CLASS_NAME custom tool without contacting an Editor. Existing source or observed metadata refuses; compilation/availability remain unverified. Predefined Editor assemblies only; custom asmdef/asmref boundaries are unsupported.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
class_nametextrequirednargs=1——
--namespacetextrequirednargs=1——Explicit C# namespace; pass an empty value for global.
--tool-nametextrequirednargs=1——Explicit unchanged wire name; uniqueness is unverified.
--project-roottextoptionalnargs=1nonliteral (not evaluated)—
--outputtextoptionalnargs=1——New relative .cs path under an Assets/Editor folder.
--templatechoice: sync, async-pollingoptionalnargs=1"sync"—
--dry-runbooleanoptionalnargs=1, flag——Validate/render without creating files or reserving a path.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp docs​

Fetch Unity API documentation.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp docs get​

Fetch documentation for a Unity class or member. Examples: unity-mcp docs get Physics unity-mcp docs get Physics Raycast unity-mcp docs get NavMeshAgent SetDestination --version 6000.0

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
class_nametextrequirednargs=1——
member_nametextoptionalnargs=1——
--version / -vtextoptionalnargs=1——Unity version (e.g., 6000.0).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp doctor​

Verify this diagnostic SDK connection; does not attest another desktop client's session. Source recovery advice in data.source_recovery is observational; this command never restarts, focuses or repairs the Editor.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--protocolchoice: auto, legacyoptionalnargs=1"auto"—
--configbooleanoptionalnargs=1, flag——Read local CLI effective configuration offline; does not observe a running server.
--inspect-tooltextoptionalnargs=1——Check one exact name in tools/list on this SDK connection.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor​

Editor operations - play mode, console, tags, layers.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor add-layer​

Add a new layer. Examples: unity-mcp editor add-layer "Interactable"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
layer_nametextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor add-tag​

Add a new tag. Examples: unity-mcp editor add-tag "Enemy" unity-mcp editor add-tag "Collectible"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
tag_nametextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor cancel-play-wait​

Cancel readiness monitoring without stopping Play Mode.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
job_idtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor cancel-test​

Request native cancellation; accepted intent is not confirmed termination.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
job_idtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor console​

Read or clear the Unity console. Examples: unity-mcp editor console unity-mcp editor console --type error --count 20 unity-mcp editor console --filter "NullReference" --stacktrace unity-mcp editor console --clear

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--type / -tchoice: error, warning, log, alloptionalnargs=1, repeatable["error", "warning", "log"]—Message types to retrieve.
--count / -nintegeroptionalnargs=110—Number of messages to retrieve.
--filter / -ftextoptionalnargs=1——Filter messages containing this text.
--stacktrace / -sbooleanoptionalnargs=1, flag——Include stack traces.
--clearbooleanoptionalnargs=1, flag——Clear the console instead of reading.
--include-mcp-logsbooleanoptionalnargs=1, flag——Include MCP internal logger messages.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor custom-tool​

Execute a custom Unity tool. Custom tools are registered by Unity projects via the MCP plugin. Examples: unity-mcp editor custom-tool "MyCustomTool" unity-mcp editor custom-tool "BuildPipeline" --params '{"target": "Android"}'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
tool_nametextrequirednargs=1——
--params / -ptextoptionalnargs=1"{}"—Tool parameters as JSON. Accepts @file or -/@- stdin.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor deploy​

Deploy MCPForUnity package from configured source. Copies the configured MCPForUnity source folder into the project's installed package location. The source path must be set in the MCP for Unity Advanced Settings first. Triggers recompilation. Examples: unity-mcp editor deploy

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor export-test​

Export completed test evidence to a new local JSON or JUnit file.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
job_idtextrequirednargs=1——
--formatchoice: json, junitoptionalnargs=1"json"—
--outputtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor game-view-size​

Read or select the size of an open Game View.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--widthinteger range: [1..8192]optionalnargs=1——
--heightinteger range: [1..8192]optionalnargs=1——
--aspect-ratiotextoptionalnargs=1——Aspect ratio W:H, for example 16:9.
--presettextoptionalnargs=1——Unique label returned by this command without options.
--restore-tokentextoptionalnargs=1——Restore a previous selection using a returned token.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor menu​

Execute a menu item. Examples: unity-mcp editor menu "File/Save" unity-mcp editor menu "Edit/Undo" unity-mcp editor menu "GameObject/Create Empty"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
menu_pathtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor pause​

Toggle pause/resume in play mode.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor play​

Request play mode; default success may be pending. Observe mcpforunity://editor/state for completion, or use --wait-until for readiness.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--wait-untilchoice: scene_loaded, first_frameoptionalnargs=1——Wait for loaded active scene or subsequent simulation frame (not app async initialization).
--timeout-secondsinteger range: [1..86400]optionalnargs=1300—
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor play-status​

Read a persisted play readiness job.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
job_idtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor poll-test​

Poll an async test job for status/results. Examples: unity-mcp editor poll-test abc123 unity-mcp editor poll-test abc123 --wait 60 unity-mcp editor poll-test abc123 --failed-only

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
job_idtextrequirednargs=1——
--wait / -wintegeroptionalnargs=130—Wait up to N seconds for completion (default: 30).
--detailsbooleanoptionalnargs=1, flag——Include detailed results for all tests.
--failed-onlybooleanoptionalnargs=1, flag——Include details for failed/skipped tests only.
--page-sizeinteger range: [1..100]optionalnargs=1——Read one bounded terminal detail page; requires --details or --failed-only.
--cursortextoptionalnargs=1——Opaque next_cursor from the previous page.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor redo​

Redo the last undone action. Examples: unity-mcp editor redo

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor refresh​

Force Unity to refresh assets/scripts. Examples: unity-mcp editor refresh unity-mcp editor refresh --mode force unity-mcp editor refresh --compile unity-mcp editor refresh --scope scripts --compile

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--modechoice: if_dirty, forceoptionalnargs=1"if_dirty"—Refresh mode.
--scopechoice: assets, scripts, alloptionalnargs=1"all"—What to refresh.
--compilebooleanoptionalnargs=1, flag——Request script compilation.
--no-waitbooleanoptionalnargs=1, flag——Don't wait for refresh to complete.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor remove-layer​

Remove a layer. Examples: unity-mcp editor remove-layer "OldLayer"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
layer_nametextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor remove-tag​

Remove a tag. Examples: unity-mcp editor remove-tag "OldTag"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
tag_nametextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor restore​

Restore MCPForUnity package from last backup. Reverts the last deployment by restoring from backup. Examples: unity-mcp editor restore

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor stop​

Request stop; success may be pending. Observe mcpforunity://editor/state for completion.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor tests​

Run Unity tests. Examples: unity-mcp editor tests unity-mcp editor tests --mode PlayMode unity-mcp editor tests --async unity-mcp editor tests --wait 60 --failed-only unity-mcp editor tests --clear-stuck

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--mode / -mchoice: EditMode, PlayModeoptionalnargs=1"EditMode"—Test mode to run.
--asyncbooleanoptionalnargs=1, flag——Run asynchronously and return job ID for polling.
--wait / -wintegeroptionalnargs=1——Wait up to N seconds for completion (default: no wait).
--run-timeout-msinteger range: [1..86400000]optionalnargs=1——Opt-in native job deadline; requires supported native control.
--detailsbooleanoptionalnargs=1, flag——Include detailed results for all tests.
--failed-onlybooleanoptionalnargs=1, flag——Include details for failed/skipped tests only.
--clear-stuckbooleanoptionalnargs=1, flag——Clear an orphaned running job that is blocking new runs, instead of starting a run.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor tool​

Set the active editor tool. Examples: unity-mcp editor tool "Move" unity-mcp editor tool "Rotate" unity-mcp editor tool "Scale"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
tool_nametextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp editor undo​

Undo the last editor action. Examples: unity-mcp editor undo

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp gameobject​

GameObject operations - create, find, modify, delete GameObjects.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp gameobject create​

Create a new GameObject. Examples: unity-mcp gameobject create "MyCube" --primitive Cube unity-mcp gameobject create "Player" --position 0 1 0 unity-mcp gameobject create "Enemy" --primitive Sphere --tag Enemy unity-mcp gameobject create "Child" --parent "ParentObject" unity-mcp gameobject create "Item" --components "Rigidbody,BoxCollider"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--primitive / -pchoice: Cube, Sphere, Cylinder, Plane, Capsule, Quadoptionalnargs=1——Create a primitive type.
--position / -posfloatoptionalnargs=3——Position as X Y Z.
--rotation / -rotfloatoptionalnargs=3——Rotation as X Y Z (euler angles).
--scale / -sfloatoptionalnargs=3——Scale as X Y Z.
--parenttextoptionalnargs=1——Parent GameObject name or path.
--spacechoice: local, worldoptionalnargs=1——Position/rotation space (local default); scale is local only.
--world-position-stays / --no-world-position-staysbooleanoptionalnargs=1, flag——Preserve world transform while parenting (true default).
--sibling-indexinteger range: [0..None]optionalnargs=1——Final zero-based sibling index.
--tag / -ttextoptionalnargs=1——Tag to assign.
--layertextoptionalnargs=1——Layer to assign.
--componentstextoptionalnargs=1——Comma-separated list of components to add.
--save-prefabbooleanoptionalnargs=1, flag——Save as prefab after creation.
--prefab-pathtextoptionalnargs=1——Path for prefab (e.g., Assets/Prefabs/MyPrefab.prefab).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp gameobject delete​

Delete all matching GameObjects, including inactive matches. Names, paths, tags and layers select all matches in the current editing scope. Use --search-method by_id to delete only the exact instance ID. Examples: unity-mcp gameobject delete "OldObject" unity-mcp gameobject delete --search-method by_id -- -81840 unity-mcp gameobject delete "TempObjects" --search-method by_tag --force

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——How to find the target GameObject.
--force / -fbooleanoptionalnargs=1, flag——Skip confirmation prompt.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp gameobject duplicate​

Duplicate a GameObject. Examples: unity-mcp gameobject duplicate "Player" unity-mcp gameobject duplicate "Enemy" --name "Enemy2" --offset 5 0 0 unity-mcp gameobject duplicate --search-method by_id -- -81840

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--name / -ntextoptionalnargs=1——Name for the duplicate (default: OriginalName_Copy).
--offsetfloatoptionalnargs=3——Position offset from original as X Y Z.
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——How to find the target GameObject.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp gameobject find​

Find GameObjects by search criteria. Examples: unity-mcp gameobject find "Player" unity-mcp gameobject find "Enemy" --method by_tag unity-mcp gameobject find --method by_id -- "-81840" unity-mcp gameobject find "Rigidbody" --method by_component unity-mcp gameobject find "/Canvas/Panel" --method by_path unity-mcp gameobject find "Door" --scene-scope exact --scene-path Assets/Levels/East.unity --include-handle

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
search_termtextrequirednargs=1——
--method / -mchoice: by_name, by_path, by_id, by_tag, by_layer, by_componentoptionalnargs=1"by_name"—Search method.
--include-inactive / -ibooleanoptionalnargs=1, flag——Include inactive GameObjects.
--limit / -lintegeroptionalnargs=150—Maximum results to return.
--scene-scopechoice: legacy, active, all_loaded, exactoptionalnargs=1"legacy"—Scene selection; scoped modes use opaque continuation cursors.
--scene-pathtextoptionalnargs=1——Exact loaded Assets/ or Packages/ scene path with --scene-scope exact.
--include-handlebooleanoptionalnargs=1, flag——Project session handles for the returned IDs.
--cursor / -ctextoptionalnargs=1——Legacy numeric offset or scoped opaque 32-hex continuation token.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp gameobject modify​

Modify an existing GameObject. TARGET can be a name, path, instance ID, or tag depending on --search-method. Examples: unity-mcp gameobject modify "Player" --position 0 5 0 unity-mcp gameobject modify "Enemy" --name "Boss" --tag "Boss" unity-mcp gameobject modify --search-method by_id --active -- -81840 unity-mcp gameobject modify "/Canvas/Panel" --search-method by_path --inactive unity-mcp gameobject modify "Cube" --add-components "Rigidbody,BoxCollider" unity-mcp gameobject modify "Ground" --static

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--name / -ntextoptionalnargs=1——New name for the GameObject.
--position / -posfloatoptionalnargs=3——New position as X Y Z.
--rotation / -rotfloatoptionalnargs=3——New rotation as X Y Z (euler angles).
--scale / -sfloatoptionalnargs=3——New scale as X Y Z.
--parenttextoptionalnargs=1——New parent GameObject.
--spacechoice: local, worldoptionalnargs=1——Position/rotation space (local default); scale is local only.
--world-position-stays / --no-world-position-staysbooleanoptionalnargs=1, flag——Preserve world transform while parenting (true default).
--sibling-indexinteger range: [0..None]optionalnargs=1——Final zero-based sibling index.
--detachbooleanoptionalnargs=1, flag——Remove the parent explicitly.
--tag / -ttextoptionalnargs=1——New tag.
--layertextoptionalnargs=1——New layer.
--active / --inactivebooleanoptionalnargs=1, flag——Set active state.
--static / --no-staticbooleanoptionalnargs=1, flag——Set static flag (all StaticEditorFlags on/off).
--add-componentstextoptionalnargs=1——Comma-separated list of components to add.
--remove-componentstextoptionalnargs=1——Comma-separated list of components to remove.
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——How to find the target GameObject.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp gameobject move​

Move a GameObject relative to another object. Examples: unity-mcp gameobject move "Chair" --reference "Table" --direction right --distance 2 unity-mcp gameobject move "Light" --reference "Player" --direction up --distance 3 unity-mcp gameobject move "NPC" --reference "Player" --direction forward --local

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--reference / -rtextrequirednargs=1——Reference object for relative movement.
--direction / -dchoice: left, right, up, down, forward, back, front, backward, behindrequirednargs=1——Direction to move.
--distancefloatoptionalnargs=11.0—Distance to move (default: 1.0).
--localbooleanoptionalnargs=1, flag——Use reference object's local space instead of world space.
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——How to find the target GameObject.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp gameobject placement​

Preview ordered positions; first selector anchors align, first/last bound distribute. Supply the same options and ordered targets with --apply-token to apply the preview. Local placement requires a common parent. Use -- before negative instance IDs.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targetstextrequirednargs=-1——
--modechoice: align, distributeoptionalnargs=1"align"—
--axischoice: x, y, zoptionalnargs=1"x"—
--spacechoice: local, worldoptionalnargs=1"local"—
--apply-tokentextoptionalnargs=1——Apply an unchanged preview using its single-use token.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics​

Manage rendering graphics: volumes, effects, and pipeline settings.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics bake-cancel​

Cancel running bake.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics bake-clear​

Clear all baked lighting data.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics bake-create-probes​

Create a light probe group with grid layout.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--name / -ntextoptionalnargs=1——Name for the probe group.
--spacing / -sfloatoptionalnargs=1——Grid spacing.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics bake-create-reflection​

Create a reflection probe.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--name / -ntextoptionalnargs=1——Name for the reflection probe.
--resolution / -rintegeroptionalnargs=1——Probe resolution.
--mode / -mtextoptionalnargs=1——Baked/Realtime/Custom.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics bake-reflection-probe​

Bake a specific reflection probe.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--target / -ttextrequirednargs=1——Name or instance ID of GameObject with ReflectionProbe.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics bake-set-settings​

Set lighting/bake settings.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--setting / -stuple: text, textrequirednargs=2, repeatable——Lighting setting key-value pair.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics bake-settings​

Get current lighting/bake settings.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics bake-start​

Start lightmap bake.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--syncbooleanoptionalnargs=1, flag——Synchronous bake (blocks until done).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics bake-status​

Get bake progress/status.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics feature-add​

Add a renderer feature.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--targettextoptionalnargs=1——Renderer data asset path/name/ID (exclusive with --renderer-index).
--renderer-indexinteger range: [-1..None]optionalnargs=1——Pipeline renderer index; -1 uses its default.
--type / -ttextrequirednargs=1——Feature type (e.g., FullScreenPassRendererFeature).
--name / -ntextoptionalnargs=1——Display name.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics feature-configure​

Configure properties on a renderer feature.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--targettextoptionalnargs=1——Renderer data asset path/name/ID (exclusive with --renderer-index).
--renderer-indexinteger range: [-1..None]optionalnargs=1——Pipeline renderer index; -1 uses its default.
--index / -iintegeroptionalnargs=1——Feature index.
--name / -ntextoptionalnargs=1——Feature name.
--prop / -ptuple: text, textrequirednargs=2, repeatable——Property key-value pair.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics feature-list​

List URP renderer features.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--targettextoptionalnargs=1——Renderer data asset path/name/ID (exclusive with --renderer-index).
--renderer-indexinteger range: [-1..None]optionalnargs=1——Pipeline renderer index; -1 uses its default.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics feature-remove​

Remove a renderer feature.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--targettextoptionalnargs=1——Renderer data asset path/name/ID (exclusive with --renderer-index).
--renderer-indexinteger range: [-1..None]optionalnargs=1——Pipeline renderer index; -1 uses its default.
--index / -iintegeroptionalnargs=1——Feature index.
--name / -ntextoptionalnargs=1——Feature name.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics feature-reorder​

Reorder renderer features.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--targettextoptionalnargs=1——Renderer data asset path/name/ID (exclusive with --renderer-index).
--renderer-indexinteger range: [-1..None]optionalnargs=1——Pipeline renderer index; -1 uses its default.
--order / -otextrequirednargs=1——Comma-separated list of indices (e.g., '2,0,1').
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics feature-toggle​

Enable/disable a renderer feature.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--targettextoptionalnargs=1——Renderer data asset path/name/ID (exclusive with --renderer-index).
--renderer-indexinteger range: [-1..None]optionalnargs=1——Pipeline renderer index; -1 uses its default.
--index / -iintegeroptionalnargs=1——Feature index.
--name / -ntextoptionalnargs=1——Feature name.
--active / --inactivebooleanoptionalnargs=1, flagtrue—Enable or disable.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics ping​

Check graphics system status.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics pipeline-diagnostics​

Observe renderer routing and RenderGraph compatibility without modifying assets (experimental).

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--targettextoptionalnargs=1——Camera name/ID or renderer data asset path/name/ID.
--renderer-indexinteger range: [-1..None]optionalnargs=1——Pipeline renderer index; -1 uses its default.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics pipeline-info​

Get active render pipeline, quality level, and settings.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics pipeline-set-quality​

Switch quality level.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--level / -ltextrequirednargs=1——Quality level name or index.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics pipeline-set-settings​

Set pipeline asset settings.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--setting / -stuple: text, textrequirednargs=2, repeatable——Setting key-value pair (e.g., -s renderScale 0.5 -s supportsHDR true).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics pipeline-settings​

Get detailed pipeline settings.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics skybox-info​

Get all environment settings (skybox, ambient, fog, reflection, sun).

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics skybox-set-ambient​

Set ambient lighting mode and colors.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--mode / -mtextoptionalnargs=1——Ambient mode: Skybox, Trilight, Flat, Custom.
--intensity / -ifloatoptionalnargs=1——Ambient intensity.
--color / -ctextoptionalnargs=1——Sky/ambient color as 'r,g,b[,a]'.
--equator-colortextoptionalnargs=1——Equator color as 'r,g,b[,a]' (Trilight mode).
--ground-colortextoptionalnargs=1——Ground color as 'r,g,b[,a]' (Trilight mode).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics skybox-set-fog​

Enable and configure fog.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--enable / --disablebooleanoptionalnargs=1, flag——Enable or disable fog.
--mode / -mtextoptionalnargs=1——Fog mode: Linear, Exponential, ExponentialSquared.
--color / -ctextoptionalnargs=1——Fog color as 'r,g,b[,a]'.
--density / -dfloatoptionalnargs=1——Fog density.
--startfloatoptionalnargs=1——Fog start distance (Linear).
--endfloatoptionalnargs=1——Fog end distance (Linear).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics skybox-set-material​

Set the skybox material by asset path.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--material / -mtextrequirednargs=1——Asset path to skybox material.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics skybox-set-properties​

Set properties on the current skybox material.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--prop / -ptuple: text, textrequirednargs=2, repeatable——Material property key-value pair (e.g., -p _Exposure 1.3).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics skybox-set-reflection​

Configure environment reflection settings.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--intensity / -ifloatoptionalnargs=1——Reflection intensity.
--bounces / -bintegeroptionalnargs=1——Reflection bounces.
--mode / -mtextoptionalnargs=1——Reflection mode: Skybox, Custom.
--resolution / -rintegeroptionalnargs=1——Default reflection resolution.
--cubemaptextoptionalnargs=1——Custom cubemap asset path.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics skybox-set-sun​

Set the sun source light for the environment.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--target / -ttextrequirednargs=1——Light GameObject name or instance ID.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics stats​

Get rendering performance stats.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics stats-debug-mode​

Set Scene view debug visualization mode.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--mode / -mtextrequirednargs=1——Debug mode (Overdraw, Wireframe, Mipmaps, etc.).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics stats-memory​

Get memory allocation stats.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics volume-add-effect​

Add an effect override to a Volume.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--target / -ttextrequirednargs=1——Volume name or instance ID.
--effect / -etextrequirednargs=1——Effect type (e.g., Bloom, Vignette).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics volume-create​

Create a Volume GameObject with a profile.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--name / -ntextoptionalnargs=1——Name for the Volume GameObject.
--global / --localbooleanoptionalnargs=1, flagtrue—Global or local Volume.
--weight / -wfloatoptionalnargs=1——Volume weight (0-1).
--priority / -pfloatoptionalnargs=1——Volume priority.
--profile-pathtextoptionalnargs=1——Existing VolumeProfile asset path to assign.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics volume-create-profile​

Create a standalone VolumeProfile asset.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--path / -ptextrequirednargs=1——Asset path for the VolumeProfile (e.g., Assets/Profiles/MyProfile.asset).
--name / -ntextoptionalnargs=1——Display name for the profile.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics volume-info​

Get all effects and parameters on a Volume.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--target / -ttextrequirednargs=1——Volume name or instance ID.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics volume-list-effects​

List available VolumeComponent effect types.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics volume-remove-effect​

Remove an effect from a Volume.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--target / -ttextrequirednargs=1——Volume name or instance ID.
--effect / -etextrequirednargs=1——Effect type to remove.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics volume-set-effect​

Set parameters on a Volume effect.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--target / -ttextrequirednargs=1——Volume name or instance ID.
--effect / -etextrequirednargs=1——Effect type (e.g., Bloom).
--param / -ptuple: text, textoptionalnargs=2, repeatable——Parameter key-value pair; accepts JSON values or literal enum/path/hex strings.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp graphics volume-set-properties​

Set Volume properties (weight, priority, is_global).

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--target / -ttextrequirednargs=1——Volume name or instance ID.
--weight / -wfloatoptionalnargs=1——Volume weight (0-1).
--priority / -pfloatoptionalnargs=1——Volume priority.
--global / --localbooleanoptionalnargs=1, flag——Global or local Volume.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp instance​

Unity instance management - list the connected instances and show the one in use.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp instance current​

Show the currently selected Unity instance. Examples: unity-mcp instance current

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp instance list​

List available Unity instances. Examples: unity-mcp instance list

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp instance set​

Explain how to target stateless CLI requests with INSTANCE_ID. Use --instance on each command or set UNITY_MCP_INSTANCE in your shell. CLI requests cannot persist an active MCP session selection.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
instance_idtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp instances​

List available Unity instances.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp lighting​

Lighting operations - create, modify lights and lighting settings.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp lighting create​

Create a new light. The Editor creates the GameObject and configures its Light in one command. If the response is lost, inspect the scene before retrying. Examples: unity-mcp lighting create "MainLight" --type Directional unity-mcp lighting create "PointLight1" --position 0 5 0 --intensity 2 unity-mcp lighting create "RedLight" --type Spot --color 1 0 0

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--type / -tchoice: Directional, Point, Spot, Areaoptionalnargs=1"Point"—Type of light to create.
--position / -posfloatoptionalnargs=3[0, 3, 0]—Position as X Y Z.
--color / -cfloatoptionalnargs=3——Color as R G B (0-1).
--intensity / -ifloatoptionalnargs=1——Light intensity.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp material​

Material operations - create, modify, assign materials.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp material assign​

Assign a material to a GameObject's renderer. Examples: unity-mcp material assign "Assets/Materials/Red.mat" "Cube" unity-mcp material assign "Assets/Materials/Blue.mat" "Player" --mode instance unity-mcp material assign --search-method by_id --slot 1 -- "Assets/Materials/Mat.mat" -81840

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
material_pathtextrequirednargs=1——
targettextrequirednargs=1——
--search-methodchoice: by_id, by_name, by_path, by_tag, by_layer, by_componentoptionalnargs=1——How to find the target GameObject.
--slot / -sintegeroptionalnargs=10—Material slot index (default: 0).
--mode / -mchoice: shared, instance, property_block, create_uniqueoptionalnargs=1"shared"—Assignment mode.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp material create​

Create a new material. Examples: unity-mcp material create "Assets/Materials/NewMat.mat" unity-mcp material create "Assets/Materials/Red.mat" --shader "Universal Render Pipeline/Lit" unity-mcp material create "Assets/Materials/Blue.mat" --properties '{"_Color": [0,0,1,1]}'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--shader / -stextoptionalnargs=1"Standard"—Shader to use (default: Standard).
--properties / -ptextoptionalnargs=1——Initial properties as JSON. Accepts @file or -/@- stdin.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp material info​

Get information about a material. Examples: unity-mcp material info "Assets/Materials/Red.mat"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp material set-color​

Set a material's color. Examples: unity-mcp material set-color "Assets/Materials/Red.mat" 1 0 0 unity-mcp material set-color "Assets/Materials/Blue.mat" 0 0 1 0.5 unity-mcp material set-color "Assets/Materials/Mat.mat" 1 1 0 --property "_BaseColor"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
rfloatrequirednargs=1——
gfloatrequirednargs=1——
bfloatrequirednargs=1——
afloatoptionalnargs=1——
--color-rangechoice: float, byteoptionalnargs=1"float"—Float preserves HDR values; byte converts 0-255. Omitted alpha is opaque.
--property / -ptextoptionalnargs=1"_Color"—Color property name (default: _Color).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp material set-property​

Set a shader property on a material. Examples: unity-mcp material set-property "Assets/Materials/Mat.mat" _Metallic 0.5 unity-mcp material set-property "Assets/Materials/Mat.mat" _Smoothness 0.8 unity-mcp material set-property "Assets/Materials/Mat.mat" _MainTex "Assets/Textures/Tex.png"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
property_nametextrequirednargs=1——
valuetextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp material set-renderer-color​

Set a renderer's material color directly. Examples: unity-mcp material set-renderer-color "Cube" 1 0 0 unity-mcp material set-renderer-color "Player" 0 1 0 --mode instance

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
rfloatrequirednargs=1——
gfloatrequirednargs=1——
bfloatrequirednargs=1——
afloatoptionalnargs=1——
--color-rangechoice: float, byteoptionalnargs=1"float"—Float preserves HDR values; byte converts 0-255. Omitted alpha is opaque.
--slotinteger range: [0..None]optionalnargs=10—Material slot index (default: 0).
--search-methodchoice: by_id, by_name, by_path, by_tag, by_layer, by_componentoptionalnargs=1——How to find the target GameObject.
--mode / -mchoice: shared, instance, property_block, create_uniqueoptionalnargs=1"property_block"—Modification mode (default: property_block — use create_unique for persistent per-object material).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp packages​

Package management - install, remove, search, registries.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp packages add​

Install a package. Examples: unity-mcp packages add com.unity.inputsystem unity-mcp packages add com.unity.inputsystem@1.8.0 unity-mcp packages add https://github.com/user/repo.git

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
packagetextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp packages add-registry​

Add a scoped registry. Examples: unity-mcp packages add-registry OpenUPM --url https://package.openupm.com --scope com.cysharp --scope com.neuecc

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
registry_nametextrequirednargs=1——
--urltextrequirednargs=1——Registry URL.
--scope / -stextrequirednargs=1, repeatable——Package scope (can specify multiple).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp packages embed​

Embed a package for local editing. Examples: unity-mcp packages embed com.unity.timeline

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
packagetextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp packages info​

Get detailed package info. Examples: unity-mcp packages info com.unity.inputsystem

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
packagetextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp packages list​

List installed packages. Examples: unity-mcp packages list

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp packages list-registries​

List all scoped registries. Examples: unity-mcp packages list-registries

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp packages ping​

Check package manager status. Examples: unity-mcp packages ping

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp packages remove​

Remove a package. Examples: unity-mcp packages remove com.unity.inputsystem unity-mcp packages remove com.unity.inputsystem --force

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
packagetextrequirednargs=1——
--force / -fbooleanoptionalnargs=1, flag——Force removal even if other packages depend on it.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp packages remove-registry​

Remove a scoped registry. Examples: unity-mcp packages remove-registry OpenUPM

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
registry_nametextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp packages resolve​

Force re-resolution of all packages. Examples: unity-mcp packages resolve

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

Search Unity package registry. Examples: unity-mcp packages search input unity-mcp packages search xr

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
querytextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp packages status​

Check package operation status. Examples: unity-mcp packages status unity-mcp packages status abc123

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
job_idtextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics​

Manage 3D and 2D physics: settings, collision matrix, materials, joints, queries, validation.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics add-joint​

Add a physics joint to a GameObject.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--target / -ttextrequirednargs=1——Target GameObject.
--joint-type / -jtextrequirednargs=1——Joint type (e.g. hinge, fixed, spring).
--connected-bodytextoptionalnargs=1——Connected body GameObject.
--dimension / -dtextoptionalnargs=1——3d or 2d (auto-detected if omitted).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics apply-force​

Apply force to a Rigidbody.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--target / -ttextrequirednargs=1——Target GameObject.
--force / -ftextrequirednargs=1——Force vector as 'x,y,z' or 'x,y'.
--force-modetextoptionalnargs=1"Force"—Force, Impulse, Acceleration, VelocityChange.
--dimension / -dtextoptionalnargs=1——3d or 2d.
--torquetextoptionalnargs=1——Torque as 'x,y,z' (3D) or float (2D).
--position / -ptextoptionalnargs=1——Point to apply force at, as 'x,y,z'.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics assign-material​

Assign a physics material to a GameObject's collider.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--target / -ttextrequirednargs=1——Target GameObject name or instance ID.
--material-path / -mtextrequirednargs=1——Path to physics material asset.
--collider-typetextoptionalnargs=1——Specific collider type.
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple colliders of the same type exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics configure-joint​

Configure a joint on a GameObject (key=value ...).

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--target / -ttextrequirednargs=1——Target GameObject.
--joint-type / -jtextoptionalnargs=1——Joint type to target.
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple joints of the same type exist.
propertiestextoptionalnargs=-1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics configure-material​

Configure a physics material asset (key=value ...).

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--path / -ptextrequirednargs=1——Asset path to physics material.
--dimension / -dtextoptionalnargs=1"3d"—3d or 2d.
propertiestextoptionalnargs=-1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics configure-rigidbody​

Configure Rigidbody properties (key=value ...).

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--target / -ttextrequirednargs=1——Target GameObject.
--dimension / -dtextoptionalnargs=1——3d or 2d.
propertiestextoptionalnargs=-1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics create-material​

Create a physics material asset.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--name / -ntextrequirednargs=1——Material name.
--path / -ptextoptionalnargs=1——Folder path.
--dimension / -dtextoptionalnargs=1"3d"—3d or 2d.
--bounciness / -bfloatoptionalnargs=1——Bounciness (0-1).
--dynamic-frictionfloatoptionalnargs=1——Dynamic friction.
--static-frictionfloatoptionalnargs=1——Static friction.
--frictionfloatoptionalnargs=1——Friction (2D only).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics get-collision-matrix​

Get layer collision matrix.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--dimension / -dtextoptionalnargs=1"3d"—3d or 2d.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics get-rigidbody​

Get Rigidbody state (mass, velocity, position, etc.).

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--dimension / -dtextoptionalnargs=1——3d or 2d (auto-detected if omitted).
--search-methodtextoptionalnargs=1——Search method for target resolution.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics get-settings​

Get physics project settings.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--dimension / -dtextoptionalnargs=1"3d"—3d or 2d.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics linecast​

Check if anything intersects the line between two points.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--start / -stextrequirednargs=1——Start point as 'x,y,z'.
--end / -etextrequirednargs=1——End point as 'x,y,z'.
--dimension / -dtextoptionalnargs=1"3d"—3d or 2d.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics overlap​

Perform a physics overlap query.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--shape / -stextrequirednargs=1——Shape: sphere, box, capsule (3D); circle, box, capsule (2D).
--position / -ptextrequirednargs=1——Position as 'x,y,z' or 'x,y'.
--sizetextrequirednargs=1——Size: float for sphere/circle radius, or 'x,y,z' for box.
--dimension / -dtextoptionalnargs=1"3d"—3d or 2d.
--max-resultsinteger range: [1..1000]optionalnargs=1——Native result capacity (default 200); a full buffer may omit results.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics ping​

Check physics system status.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics raycast​

Perform a physics raycast.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--origin / -otextrequirednargs=1——Origin as 'x,y,z'.
--direction / -dtextrequirednargs=1——Direction as 'x,y,z'.
--max-distancefloatoptionalnargs=1——Max distance.
--dimensiontextoptionalnargs=1"3d"—3d or 2d.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics raycast-all​

Perform a bounded multi-hit raycast, sorted within the returned subset.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--origin / -otextrequirednargs=1——Origin as 'x,y,z'.
--direction / -dtextrequirednargs=1——Direction as 'x,y,z'.
--max-distancefloatoptionalnargs=1——Max distance.
--dimensiontextoptionalnargs=1"3d"—3d or 2d.
--max-resultsinteger range: [1..1000]optionalnargs=1——Native result capacity (default 200); a full buffer may omit nearer hits.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics remove-joint​

Remove joint(s) from a GameObject.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--target / -ttextrequirednargs=1——Target GameObject.
--joint-type / -jtextoptionalnargs=1——Joint type to remove (omit to remove all).
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple joints of the same type exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics set-collision-matrix​

Set collision between two layers.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
layer_atextrequirednargs=1——
layer_btextrequirednargs=1——
--collide / --ignorebooleanoptionalnargs=1, flagtrue—Enable or disable collision.
--dimension / -dtextoptionalnargs=1"3d"—3d or 2d.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics set-settings​

Set a physics setting (key value). Gravity JSON accepts @file or -/@- stdin.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--dimension / -dtextoptionalnargs=1"3d"—3d or 2d.
keytextrequirednargs=1——
valuetextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics shapecast​

Cast a shape (sphere, box, capsule) along a direction.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--shape / -stextrequirednargs=1——Shape: sphere, box, capsule (3D); circle, box, capsule (2D).
--origin / -otextrequirednargs=1——Origin as 'x,y,z' or 'x,y'.
--direction / -dtextrequirednargs=1——Direction as 'x,y,z' or 'x,y'.
--sizetextrequirednargs=1——Size: float for sphere/circle radius, or 'x,y,z' for box.
--max-distancefloatoptionalnargs=1——Max distance.
--dimensiontextoptionalnargs=1"3d"—3d or 2d.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics simulate​

Run physics simulation steps in edit mode.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--steps / -sintegeroptionalnargs=11—Number of steps (max 100).
--step-sizefloatoptionalnargs=1——Step size in seconds.
--dimension / -dtextoptionalnargs=1"3d"—3d or 2d.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp physics validate​

Validate physics setup for common mistakes.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--target / -ttextoptionalnargs=1——Target GameObject (or whole scene).
--dimension / -dtextoptionalnargs=1"both"—3d, 2d, or both.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario​

Save and run repeatable Play Mode scenarios; status never waits or polls.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario analyze-flakiness​

Analyze <=64 explicit run.json files offline. Exit 0 analyzed, 2 incomplete. No execution, retry or history discovery occurs. Session JSONL and soak parent reports are unsupported; an ordinary selected iteration cannot establish a whole soak outcome. Only compatible known definition/environment groups establish cross-run history.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
reportstextrequirednargs=-1——
--outputtextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario analyze-history​

Analyze <=16 explicit session/soak summaries offline. Exit 0 analyzed, 2 incomplete. Reads bounded local journals and owned soak artifacts. All outcomes survive report eviction; source-local trends and streaks never infer missing batch iteration order.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
historiestextrequirednargs=-1——
--outputtextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario baseline​

Register immutable successful soaks and audit explicit pin selections.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--registrytextrequirednargs=1——Explicit local registry file or existing directory.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario baseline check​

Apply the existing exact budget gate to a revalidated named baseline.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
candidatetextrequirednargs=1——
--nametextoptionalnargs=1——Require this compatible pinned name; required if several match.
--policytextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario baseline compare​

Compare a candidate against one compatible, revalidated pinned baseline.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
candidatetextrequirednargs=1——
--nametextoptionalnargs=1——Require this compatible pinned name; required if several match.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario baseline history​

Show the complete bounded registration and pin provenance.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario baseline list​

List and revalidate only explicitly registered saved evidence.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario baseline pin​

Pin a registered baseline without changing its evidence or other pins.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--reasontextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario baseline register​

Admit one saved soak under a new immutable name.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
directorytextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario baseline unpin​

Unpin a baseline while preserving its registration and audit trail.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--reasontextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario cancel​

Request cancellation; a processed request succeeds regardless of the job's outcome. An in-flight native scene load cannot be cancelled.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
job_idtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario capture-ui-snapshot​

Save a complete bounded UI tree to a new file; missing evidence fails capture.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--frameworkchoice: ugui, uitoolkitrequirednargs=1——
--targettextrequirednargs=1——Unique scene hierarchy path or instance ID.
--max-nodesinteger range: [1..1000]optionalnargs=1200—
--component-typechoice: auto, ui_document, panel_rendereroptionalnargs=1——UI Toolkit component to capture; explicit selection records the actual component kind.
--outputtextrequirednargs=1——
--identity-map-filetextoptionalnargs=1——Optional bounded JSON object containing identity_map; emits v3 comparison IDs, not mutation handles.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario check-soak-budget​

Gate saved soak regression limits offline: 0 within, 1 exceeded, 2 not comparable. Requires complete successful evidence and known matching desktop Player environments. The explicit JSON policy selects metrics and limits. Growth does not establish a leak.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
baseline_directorytextrequirednargs=1——
candidate_directorytextrequirednargs=1——
--policytextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario compare-pointer-traces​

Compare a click in two saved traces. Exit 0 same, 1 diverged, 2 incomplete.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
baselinetextrequirednargs=1——
candidatetextrequirednargs=1——
--outputtextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario compare-queries​

Compare two saved native reports offline; exit 0 within limits, 1 exceeded, 2 invalid.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
baselinetextrequirednargs=1——
candidatetextrequirednargs=1——
--max-target-searches-increaseinteger range: [0..9223372036854775807]requirednargs=1——
--max-hierarchy-visits-increaseinteger range: [0..9223372036854775807]requirednargs=1——
--step-details-limitinteger range: [1..19200]optionalnargs=1——Include up to N steps in execution order after validating all recorded step counts.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario compare-soak-metrics​

Compare complete saved soak diagnostics offline; 0 computed, 2 insufficient/invalid. Managed bytes, allocated bytes and object counts use aligned post-warmup samples. Growth does not establish a leak. No Player is launched and no files are changed.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
baseline_directorytextrequirednargs=1——
candidate_directorytextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario compare-ui-snapshots​

Compare saved JSONs offline: exit 0 same, 1 changed, 2 not comparable.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
baselinetextrequirednargs=1——
candidatetextrequirednargs=1——
--geometry-tolerancefloat range: [0..10000]optionalnargs=10.0—
--require-occlusionbooleanoptionalnargs=1, flag——Require actual occlusion proof (unavailable).
--outputtextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario compare-visual​

Compare explicit PNGs offline: exit 0 within budget, 1 exceeded, 2 not comparable. Strict policy declares fixed dimensions, RGBA channel thresholds, maximum changed pixel ratio and ignored rectangles. No resizing or implicit image matching occurs. Output directory optionally receives new bounded heatmap.png and diff.png.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
baselinetextrequirednargs=1——
candidatetextrequirednargs=1——
--policytextrequirednargs=1——
--output-dirtextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario compare-visual-reports​

Compare one named native capture offline: exit 0 within, 1 exceeded, 2 invalid. Capture paths must remain under each explicit report directory. Captured status, dimensions, SHA256 and exact stage/step/iteration pairing are required.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
baselinetextrequirednargs=1——
candidatetextrequirednargs=1——
--policytextrequirednargs=1——
--checkpointtextrequirednargs=1——
--stagechoice: setup, main, cleanuprequirednargs=1——
--step-indexinteger range: [0..63]requirednargs=1——
--iterationinteger range: [1..10]requirednargs=1——
--output-dirtextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario delete​

Delete a saved scenario definition.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario export-html​

Export a run/suite JSON or saved soak directory to one new offline HTML file. --baseline adds full compatible soak curves when SOURCE is a soak directory.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
sourcetextrequirednargs=1——
--outputtextrequirednargs=1——
--comparisontextoptionalnargs=1——
--analysistextoptionalnargs=1——
--visualtextoptionalnargs=1——
--baselinetextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario get​

Get a saved scenario definition.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario list​

List saved scenario definitions.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario player-run​

Launch an explicit local Player bundle, wait, and export actual run.json plus JUnit. Each invocation owns a new output subdirectory. Timeout and Ctrl+C request cleanup once, then terminate only the owned process if its bounded cleanup wait expires.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
build_directorytextrequirednargs=1——
--output-dirtextrequirednargs=1——
--repeat-countinteger range: [1..100]optionalnargs=11—
--timeout-secondsinteger range: [1..86400]optionalnargs=1300—
--source-revisiontextoptionalnargs=1——
--expected-build-revisiontextoptionalnargs=1——Require the frozen build label to match.
--expected-build-idtextoptionalnargs=1——
--require-verified-payloadbooleanoptionalnargs=1, flag——Reject legacy unverified bundles.
--graphicalbooleanoptionalnargs=1, flag——Run with graphics for screenshot checkpoints.
--cleanup-wait-secondsinteger range: [1..3600]optionalnargs=11860—
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario player-session​

Run bounded verified Player batches and stream outcomes with explicit process scope.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
build_directorytextrequirednargs=1——
--output-dirtextrequirednargs=1——
--modechoice: shared-batches, fresh-process, compareoptionalnargs=1"shared-batches"—
--iterationsinteger range: [1..1000]optionalnargs=1100—
--batch-sizeinteger range: [2..100]optionalnargs=110—
--max-runtime-secondsinteger range: [1..86400]optionalnargs=13600—
--timeout-secondsinteger range: [1..86400]optionalnargs=1300—
--cleanup-wait-secondsinteger range: [1..3600]optionalnargs=11860—
--interval-secondsfloat range: [0..60]optionalnargs=10.5—
--failure-policychoice: stop, continueoptionalnargs=1"stop"—
--retain-reportsinteger range: [1..64]optionalnargs=116—
--source-revisiontextoptionalnargs=1——
--expected-build-revisiontextoptionalnargs=1——Require the frozen build label to match.
--expected-build-idtextoptionalnargs=1——
--graphicalbooleanoptionalnargs=1, flag——Run each child with graphics for screenshot checkpoints.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario player-session-recover​

Recover an incomplete evidence snapshot without replaying or modifying the source session.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
session_directorytextrequirednargs=1——
--output-dirtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario player-soak​

Execute bounded iterations in one verified native Player process and export evidence.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
build_directorytextrequirednargs=1——
--output-dirtextrequirednargs=1——
--iterationsinteger range: [2..1000]optionalnargs=1100—
--max-runtime-secondsinteger range: [1..86400]optionalnargs=13600—
--timeout-secondsinteger range: [1..86400]optionalnargs=1300—
--failure-policychoice: stop, continueoptionalnargs=1"stop"—
--retain-reportsinteger range: [1..64]optionalnargs=14—
--source-revisiontextoptionalnargs=1——
--expected-build-revisiontextoptionalnargs=1——
--expected-build-idtextoptionalnargs=1——
--cleanup-wait-secondsinteger range: [1..3600]optionalnargs=11860—
--graphicalbooleanoptionalnargs=1, flag——Run with graphics for screenshot checkpoints.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario player-suite-build​

Freeze a saved suite and build its scene union once in the selected Editor. Explicit build/import/compile cost applies. Every later child runs in a fresh process.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--output-dirtextrequirednargs=1——
--targetchoice: windows64, linux64, macosoptionalnargs=1"windows64"—
--backendchoice: mono, il2cppoptionalnargs=1"mono"—
--failure-policychoice: stop, continueoptionalnargs=1——
--isolationchoice: fresh-processoptionalnargs=1"fresh-process"—
--source-revisiontextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario player-suite-run​

Run all frozen children from one verified build, with child and suite JUnit. Fresh processes isolate each child's static state. Ctrl+C cancels the current owned child through its normal bounded cleanup protocol and skips the remaining children.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
build_directorytextrequirednargs=1——
--output-dirtextrequirednargs=1——
--failure-policychoice: stop, continueoptionalnargs=1——
--isolationchoice: fresh-processoptionalnargs=1"fresh-process"—
--timeout-secondsinteger range: [1..86400]optionalnargs=1300—
--max-runtime-secondsinteger range: [1..86400]optionalnargs=13600—
--cleanup-wait-secondsinteger range: [1..3600]optionalnargs=11860—
--source-revisiontextoptionalnargs=1——
--expected-build-revisiontextoptionalnargs=1——
--expected-build-idtextoptionalnargs=1——
--graphicalbooleanoptionalnargs=1, flag——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario reduce-replay​

Replay verified controls and remove steps preserving the first observed state failure.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--brokentextrequirednargs=1——
--repairedtextrequirednargs=1——
--candidate-pairtextoptionalnargs=2, repeatable——Prepared broken and repaired builds for a candidate. May be repeated.
--buildertextoptionalnargs=1——Project-owned executable for missing candidates, taking definition, broken output and repaired output.
--outputtextrequirednargs=1——
--timeoutinteger range: [1..3600]optionalnargs=160—
--max-trialsinteger range: [1..128]optionalnargs=124—
--groupedbooleanoptionalnargs=1, flag——Try event dependencies and contiguous chunks before single steps.
--delete-grouptextoptionalnargs=1, repeatable——Try deleting comma-separated original step indices together. Enables grouped search.
--seedinteger range: [-2147483648..2147483647]optionalnargs=1——Initialize UnityEngine.Random before scenario execution.
--start-delay-framesinteger range: [0..120]optionalnargs=10—Delay engine start by Player updates. Requires --seed.
--attempts-per-candidateinteger range: [1..128]optionalnargs=11—
--graphicalbooleanoptionalnargs=1, flag——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario regression-run​

Run one explicit profile: exit 0 passed, 1 failed, 2 unavailable, 130 cancelled. Output must be new. Build/policy/reference paths are relative to the profile file. Every Player requires verified payload provenance. Baselines are never repinned.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
profiletextrequirednargs=1——
--output-dirtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario reports​

Read retained terminal reports once; history outcomes do not change query success.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--nametextoptionalnargs=1——Optional saved scenario name filter.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario run​

Start once and return immediately; use status for later observations. An idempotent retry reporting an unsuccessful terminal job exits with code 1.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--job-idtextoptionalnargs=1——Optional 32-character lowercase hex request key.
--repeat-countinteger range: [1..100]optionalnargs=11—
--timeout-secondsinteger range: [1..86400]optionalnargs=1300—
--source-revisiontextoptionalnargs=1——Optional caller-provided reproduction label.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario save​

Save a whole scenario from a UTF-8 JSON file (or - for stdin).

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
definitiontextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario status​

Read the job report once, including step status and bounded failure logs. Failed, timed_out and cancelled jobs exit with code 1.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
job_idtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario suite-cancel​

Request native cancellation once, including child cleanup.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
suite_idtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario suite-delete​

Delete a saved native suite definition.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario suite-get​

Get a saved native suite definition.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario suite-list​

List saved native suite names.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario suite-reports​

Query retained native suite reports once.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--nametextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario suite-run​

Run one native suite, explicitly wait, and save suite.json plus junit.xml. Requires global --instance to pin every observation to the same Editor. Timeout or Ctrl+C requests cancellation once and observes bounded finalization.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--suite-idtextoptionalnargs=1——Optional 32-character lowercase hex request key.
--repeat-countinteger range: [1..100]optionalnargs=11—
--timeout-secondsinteger range: [1..86400]optionalnargs=1300—
--source-revisiontextoptionalnargs=1——
--output-dirtextrequirednargs=1——
--poll-interval-secondsfloat range: [0.1..10]optionalnargs=10.5—
--cleanup-wait-secondsinteger range: [1..3600]optionalnargs=11860—
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario suite-save​

Save a bounded native suite definition from UTF-8 JSON or stdin.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
definitiontextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario suite-status​

Observe a suite once; this command never waits.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
suite_idtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp play-scenario trial-replay​

Measure a state failure and its repaired control across one-factor Player trials.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--brokentextrequirednargs=1——
--repairedtextrequirednargs=1——
--plantextrequirednargs=1——
--reduced-pairtextoptionalnargs=2——Reduced broken and repaired builds corresponding to the plan's kept_indices.
--candidate-pairtextoptionalnargs=2, repeatable——Prepared input-variant builds for either phase.
--outputtextrequirednargs=1——
--timeoutinteger range: [1..3600]optionalnargs=160—
--max-trialsinteger range: [1..128]optionalnargs=1128—
--graphicalbooleanoptionalnargs=1, flag——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp prefab​

Prefab operations - info, hierarchy, open, save, close, create prefabs.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp prefab apply-overrides​

Apply selected scene instance overrides to its nearest prefab asset.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--prefab-pathtextrequirednargs=1——Destination prefabPath returned by prefab overrides
--override-idtextrequirednargs=1, repeatable——Exact overrideId; repeat to select properties
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp prefab close​

Close the current prefab stage. Examples: unity-mcp prefab close unity-mcp prefab close --save

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--save / -sbooleanoptionalnargs=1, flag——Save the prefab before closing.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp prefab create​

Create a prefab from a scene GameObject. Examples: unity-mcp prefab create "Player" "Assets/Prefabs/Player.prefab" unity-mcp prefab create "Enemy" "Assets/Prefabs/Enemy.prefab" --overwrite unity-mcp prefab create "EnemyInstance" "Assets/Prefabs/BossEnemy.prefab" --unlink-if-instance

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
pathtextrequirednargs=1——
--overwritebooleanoptionalnargs=1, flag——Overwrite existing prefab at path.
--include-inactivebooleanoptionalnargs=1, flag——Include inactive objects when finding target.
--unlink-if-instancebooleanoptionalnargs=1, flag——Unlink from existing prefab before creating new one.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp prefab hierarchy​

Get one bounded page of a prefab hierarchy; follow next_cursor to continue. Examples: unity-mcp prefab hierarchy "Assets/Prefabs/Player.prefab" unity-mcp prefab hierarchy "Assets/Prefabs/UI.prefab" --compact unity-mcp prefab hierarchy "Assets/Prefabs/Complex.prefab" --show-prefab-info unity-mcp prefab hierarchy "Assets/Prefabs/Player.prefab" --page-size 50 --cursor TOKEN

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--compact / -cbooleanoptionalnargs=1, flag——Show compact output (names and paths only).
--show-prefab-info / -pbooleanoptionalnargs=1, flag——Show prefab nesting information.
--page-sizeinteger range: [1..500]optionalnargs=150—
--cursortextoptionalnargs=1——Opaque next_cursor; keep identical path/page-size/max-depth.
--max-depthinteger range: [0..128]optionalnargs=164—
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp prefab info​

Get information about a prefab asset. Examples: unity-mcp prefab info "Assets/Prefabs/Player.prefab" unity-mcp prefab info "Assets/Prefabs/UI.prefab" --compact

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--compact / -cbooleanoptionalnargs=1, flag——Show compact output (key values only).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp prefab modify​

Modify a prefab's contents (headless, no UI). Examples: unity-mcp prefab modify "Assets/Prefabs/Player.prefab" --delete-child Child1 unity-mcp prefab modify "Assets/Prefabs/Player.prefab" --delete-child "Turret/Barrel" --delete-child Bullet unity-mcp prefab modify "Assets/Prefabs/Player.prefab" --target Weapon --position "0,1,2" unity-mcp prefab modify "Assets/Prefabs/Player.prefab" --set-property "Rigidbody.mass=5" unity-mcp prefab modify "Assets/Prefabs/Player.prefab" --set-property "RectTransform::m_AnchoredPosition.x=42" unity-mcp prefab modify "Assets/Prefabs/Player.prefab" --create-child '{"name":"Spawn","primitive_type":"Sphere"}'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--target / -ttextoptionalnargs=1——Target object name/path within prefab (default: root)
--position / -ptextoptionalnargs=1——New local position as 'x,y,z'
--rotation / -rtextoptionalnargs=1——New local rotation as 'x,y,z'
--scale / -stextoptionalnargs=1——New local scale as 'x,y,z'
--name / -ntextoptionalnargs=1——New name for target
--tagtextoptionalnargs=1——New tag
--layertextoptionalnargs=1——New layer
--active / --inactivebooleanoptionalnargs=1, flag——Set active state
--parenttextoptionalnargs=1——New parent object name/path
--add-componenttextoptionalnargs=1, repeatable——Component type to add (repeatable)
--remove-componenttextoptionalnargs=1, repeatable——Component type to remove (repeatable)
--set-propertytextoptionalnargs=1, repeatable——Property as 'Component::property.path=value'; legacy 'Component.prop=value' also accepted (repeatable).
--delete-childtextoptionalnargs=1, repeatable——Child name/path to remove (repeatable)
--create-childtextoptionalnargs=1——JSON object for child creation Accepts @file or -/@- stdin.
--preview-onlybooleanoptionalnargs=1, flag——Inspect serialized changes without saving.
--preview-scopechoice: prefab, componentsoptionalnargs=1——Requires --preview-only. components covers only the components receiving property edits.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp prefab open​

Open a prefab in the prefab stage for editing. Examples: unity-mcp prefab open "Assets/Prefabs/Player.prefab"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp prefab overrides​

List scene prefab instance overrides and IDs for explicit apply/revert selection.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--object-idinteger range: [-2147483648..2147483647]optionalnargs=1——Filter by GameObject/component instance ID
--property-filtertextoptionalnargs=1——Case-insensitive property-path substring
--offsetinteger range: [0..None]optionalnargs=10—
--page-sizeinteger range: [1..500]optionalnargs=1100—
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp prefab revert-overrides​

Revert explicitly selected scene prefab instance overrides with Undo.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--override-idtextrequirednargs=1, repeatable——Exact overrideId from prefab overrides; repeat to select properties
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp prefab save​

Save the currently open prefab stage. Examples: unity-mcp prefab save

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder​

ProBuilder operations - 3D modeling, mesh editing, UV management.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder auto-smooth​

Auto-assign smoothing groups by angle threshold. Examples: unity-mcp probuilder auto-smooth "MyCube" unity-mcp probuilder auto-smooth "MyCube" --angle 45

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--anglefloatoptionalnargs=130.0—Angle threshold in degrees (default: 30).
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder bevel-edges​

Bevel edges of a ProBuilder mesh. Examples: unity-mcp probuilder bevel-edges "MyCube" --edges '[0,1,2]' --amount 0.2 unity-mcp probuilder bevel-edges "MyCube" --edges '[{"a":0,"b":1}]' --amount 0.15

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--edgestextrequirednargs=1——Edge indices as JSON array [0,1] or vertex pairs [{"a":0,"b":1}]. Accepts @file or -/@- stdin.
--amount / -afloatoptionalnargs=10.1—Bevel amount (0-1).
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder center-pivot​

Move pivot point to mesh bounds center. Examples: unity-mcp probuilder center-pivot "MyCube"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder create-poly​

Create a ProBuilder mesh from a 2D polygon footprint. Examples: unity-mcp probuilder create-poly --points "[[0,0,0],[5,0,0],[5,0,5],[0,0,5]]" --height 3

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--points / -ptextrequirednargs=1——Points as JSON: [[x,y,z], ...] Accepts @file or -/@- stdin.
--height / -hfloatoptionalnargs=11.0—Extrude height.
--name / -ntextoptionalnargs=1——Name for the created GameObject.
--flip-normalsbooleanoptionalnargs=1, flag——Flip face normals.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder create-shape​

Create a ProBuilder shape with real dimensions. Shape types: Cube, Cylinder, Sphere, Plane, Cone, Torus, Pipe, Arch, Stair, CurvedStair, Door, Prism Each shape accepts type-specific dimension parameters: Cube/Prism: width, height, depth (or size for uniform) Cylinder: radius, height, segments/axisDivisions, heightCuts Cone: radius, height, segments/subdivAxis Sphere: radius, subdivisions Torus: innerRadius, outerRadius, rows, columns Pipe: radius, height, thickness, segments Plane: width, height, widthCuts, heightCuts Stair: width, height, depth, steps, buildSides CurvedStair: width, height, innerRadius, circumference, steps Arch: radius, width, depth, angle, radialCuts Door: width, height, depth, ledgeHeight, legWidth Examples: unity-mcp probuilder create-shape Cube unity-mcp probuilder create-shape Cube --params '{"width": 2, "height": 3, "depth": 1}' unity-mcp probuilder create-shape Cylinder --params '{"radius": 0.5, "height": 3, "segments": 16}' unity-mcp probuilder create-shape Torus --name "MyTorus" --params '{"innerRadius": 0.2, "outerRadius": 1}' unity-mcp probuilder create-shape Stair --position 0 0 5 --params '{"steps": 10, "width": 2}'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
shape_typetextrequirednargs=1——
--name / -ntextoptionalnargs=1——Name for the created GameObject.
--positionfloatoptionalnargs=3——Position X Y Z.
--rotationfloatoptionalnargs=3——Rotation X Y Z (euler).
--params / -ptextoptionalnargs=1"{}"—Shape-specific parameters as JSON. Accepts @file or -/@- stdin.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder delete-faces​

Delete faces from a ProBuilder mesh. Examples: unity-mcp probuilder delete-faces "MyCube" --faces '[0,1]'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--facestextrequirednargs=1——Face indices as JSON array, e.g. '[0,1,2]'. Accepts @file or -/@- stdin.
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder extrude-edges​

Extrude edges of a ProBuilder mesh. Edges can be specified as flat indices into the unique edge list, or as vertex pairs [{a: 0, b: 1}, ...]. Examples: unity-mcp probuilder extrude-edges "MyCube" --edges '[0,1]' --distance 0.5 unity-mcp probuilder extrude-edges "MyCube" --edges '[{"a":0,"b":1}]' --distance 1

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--edgestextrequirednargs=1——Edge indices as JSON array [0,1] or vertex pairs [{"a":0,"b":1}]. Accepts @file or -/@- stdin.
--distance / -dfloatoptionalnargs=10.5—Extrusion distance.
--as-group / --no-groupbooleanoptionalnargs=1, flagtrue—Extrude as group.
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder extrude-faces​

Extrude faces of a ProBuilder mesh. Examples: unity-mcp probuilder extrude-faces "MyCube" --faces '[0]' --distance 1.0 unity-mcp probuilder extrude-faces "MyCube" --faces '[0,1,2]' --method IndividualFaces

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--facestextrequirednargs=1——Face indices as JSON array, e.g. '[0,1,2]'. Accepts @file or -/@- stdin.
--distance / -dfloatoptionalnargs=10.5—Extrusion distance.
--methodchoice: FaceNormal, VertexNormal, IndividualFacesoptionalnargs=1"FaceNormal"—Extrusion method.
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder freeze-transform​

Bake position/rotation/scale into vertex data, reset transform. Examples: unity-mcp probuilder freeze-transform "MyCube"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder info​

Get ProBuilder mesh info. Edge data now includes world-space vertex positions and uses deduplicated edges. Examples: unity-mcp probuilder info "MyCube" unity-mcp probuilder info "MyCube" --include faces unity-mcp probuilder info --search-method by_id --include all -- -12345

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--includechoice: summary, faces, edges, alloptionalnargs=1"summary"—Detail level: summary, faces, edges, or all.
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder move-vertices​

Move vertices by an offset. Examples: unity-mcp probuilder move-vertices "MyCube" --vertices '[0,1,2,3]' --offset 0 1 0

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--verticestextrequirednargs=1——Vertex indices as JSON array, e.g. '[0,1,2]'. Accepts @file or -/@- stdin.
--offsetfloatrequirednargs=3——Offset X Y Z.
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder raw​

Execute any ProBuilder action directly. Actions include: create_shape, create_poly_shape, extrude_faces, extrude_edges, bevel_edges, subdivide, delete_faces, bridge_edges, connect_elements, detach_faces, flip_normals, merge_faces, combine_meshes, merge_objects, duplicate_and_flip, create_polygon, merge_vertices, weld_vertices, split_vertices, move_vertices, insert_vertex, append_vertices_to_edge, select_faces, set_face_material, set_face_color, set_face_uvs, get_mesh_info, convert_to_probuilder, set_smoothing, auto_smooth, center_pivot, set_pivot, freeze_transform, validate_mesh, repair_mesh Examples: unity-mcp probuilder raw extrude_faces "MyCube" --params '{"faceIndices": [0], "distance": 1.0}' unity-mcp probuilder raw bevel_edges "MyCube" --params '{"edges": [{"a":0,"b":1}], "amount": 0.2}' unity-mcp probuilder raw detach_faces "MyCube" --params '{"faceIndices": [0], "deleteSourceFaces": true}' unity-mcp probuilder raw weld_vertices "MyCube" --params '{"vertexIndices": [0,1,2], "radius": 0.1}' unity-mcp probuilder raw select_faces "MyCube" --params '{"direction": "up", "tolerance": 0.9}' unity-mcp probuilder raw insert_vertex "MyCube" --params '{"edge": {"a":0,"b":1}, "point": [0.5,0,0]}' unity-mcp probuilder raw set_pivot "MyCube" --params '{"position": [0, 0, 0]}'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
actiontextrequirednargs=1——
targettextoptionalnargs=1——
--params / -ptextoptionalnargs=1"{}"—Additional parameters as JSON. Accepts @file or -/@- stdin.
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder repair​

Auto-fix degenerate triangles and unused vertices. Examples: unity-mcp probuilder repair "MyCube"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder select-faces​

Select faces by criteria (direction, grow, flood, loop). Examples: unity-mcp probuilder select-faces "MyCube" --direction up unity-mcp probuilder select-faces "MyCube" --direction forward --tolerance 0.9 unity-mcp probuilder select-faces "MyCube" --grow-from '[0]' --grow-angle 45

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--directionchoice: up, down, forward, back, left, rightoptionalnargs=1——Select faces by normal direction.
--tolerancefloatoptionalnargs=10.7—Dot product tolerance for direction (0-1).
--grow-fromtextoptionalnargs=1——Face indices to grow selection from (JSON array). Accepts @file or -/@- stdin.
--grow-anglefloatoptionalnargs=1-1—Max angle for grow selection (-1=any).
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder set-material​

Assign a material to specific faces. Examples: unity-mcp probuilder set-material "MyCube" --faces '[0,1]' --material "Assets/Materials/Red.mat"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--facestextrequirednargs=1——Face indices as JSON array. Accepts @file or -/@- stdin.
--material / -mtextrequirednargs=1——Material asset path.
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder set-pivot​

Set pivot to an arbitrary world position. Examples: unity-mcp probuilder set-pivot "MyCube" --position 0 0 0 unity-mcp probuilder set-pivot "MyCube" --position 1.5 0 2.3

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--positionfloatrequirednargs=3——World position X Y Z.
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder set-smoothing​

Set smoothing group on specific faces. Examples: unity-mcp probuilder set-smoothing "MyCube" --faces '[0,1,2]' --group 1 unity-mcp probuilder set-smoothing "MyCube" --faces '[3,4,5]' --group 0

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--facestextrequirednargs=1——Face indices as JSON array, e.g. '[0,1,2]'. Accepts @file or -/@- stdin.
--groupintegerrequirednargs=1——Smoothing group (0=hard, 1+=smooth).
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder subdivide​

Subdivide faces of a ProBuilder mesh. Examples: unity-mcp probuilder subdivide "MyCube" unity-mcp probuilder subdivide "MyCube" --faces '[0,1]'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--facestextoptionalnargs=1——Face indices as JSON array (optional, subdivides all if omitted). Accepts @file or -/@- stdin.
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder validate​

Check mesh health (degenerate triangles, unused vertices). Examples: unity-mcp probuilder validate "MyCube"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp probuilder weld-vertices​

Weld vertices within a proximity radius. Examples: unity-mcp probuilder weld-vertices "MyCube" --vertices '[0,1,2,3]' --radius 0.1

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--verticestextrequirednargs=1——Vertex indices as JSON array. Accepts @file or -/@- stdin.
--radius / -rfloatoptionalnargs=10.01—Neighbor radius for welding.
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp profiler​

Unity Profiler session control, counter reads, memory snapshots, and Frame Debugger.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp profiler frame-debugger-disable​

Disable the Frame Debugger.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp profiler frame-debugger-enable​

Enable the Frame Debugger and report event count.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp profiler frame-debugger-events​

Get Frame Debugger draw call events (paged).

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--page-sizeintegeroptionalnargs=150—Events per page (default 50, clamped to 1..500).
--cursorintegeroptionalnargs=1——Cursor offset (negative values treated as 0).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp profiler frame-timing​

Get frame timing via FrameTimingManager (12 fields, synchronous).

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp profiler get-counters​

Read profiler counters by category (async, 1-frame wait).

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--categorytextrequirednargs=1——Profiler category (e.g. Render, Scripts, Memory).
--countertextoptionalnargs=1, repeatable——Specific counter names. Omit to read all in category.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp profiler memory-compare​

Compare two memory snapshots.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--atextrequirednargs=1——First snapshot path.
--btextrequirednargs=1——Second snapshot path.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp profiler memory-list​

List snapshots in filesystem order. Follow next_cursor; directory changes may affect results.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--search-pathtextoptionalnargs=1——Directory to search for snapshots.
--limitinteger range: [1..128]optionalnargs=1——Maximum rows per page (default 64).
--cursortextoptionalnargs=1——One-use next_cursor from a previous page; omit --search-path.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp profiler memory-snapshot​

Take a memory snapshot (requires com.unity.memoryprofiler).

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--pathtextoptionalnargs=1——Output .snap file path (default: auto-generated).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp profiler object-memory​

Get native memory size of a specific Unity object.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--pathtextrequirednargs=1——Scene hierarchy or asset path.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp profiler set-areas​

Toggle specific ProfilerAreas on or off.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--areatextoptionalnargs=1, repeatable——Area=bool pairs (e.g. CPU=true Audio=false).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp profiler start​

Start the Unity Profiler, optionally record to a .raw file.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--log-filetextoptionalnargs=1——Path to .raw file for recording.
--callstacksbooleanoptionalnargs=1, flagfalse—Enable allocation callstacks.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp profiler status​

Get Profiler enabled state, active areas, and recording status.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp profiler stop​

Stop the Unity Profiler and any active recording.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp project-auditor​

Run Project Auditor analysis with compatible installed APIs and rules.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp project-auditor availability​

Check installed package/API/rules without starting analysis.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp project-auditor issues​

Read one bounded page of captured diagnostics after native completion.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
audit_idtextrequirednargs=1——
--page-sizeinteger range: [1..100]optionalnargs=150—
--cursortextoptionalnargs=1——Opaque cursor returned by the previous page.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp project-auditor start​

Start one audit of the current build target; may compile Player code.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--audit-idtextoptionalnargs=1——Reuse an existing audit identity after uncertainty.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp project-auditor status​

Observe one audit without starting or cancelling work.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
audit_idtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp raw​

Send a native command to the Unity Editor. This sends JSON to /api/command, or /api/context-command when a project guard is active. Python-composed MCP tools use dedicated CLI commands over tools/call. For a verification report, use `verification report` with the exact --instance Name@hash and --no-project-context. Examples: unity-mcp raw manage_scene '{"action": "get_active"}' unity-mcp raw read_console '{"count": 10}' JSON input also accepts @file or -/@- stdin.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
command_typetextrequirednargs=1——
paramstextoptionalnargs=-1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp receipt​

Inspect execution records or explicitly protect one native command.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp receipt describe​

Inspect authenticated store availability without a connected Editor.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp receipt execute​

Protect one native COMMAND, using raw JSON, @file, or -/@- stdin. Requires a full --instance hash and an explicitly enabled server store. It checks store availability first, never resends, and never falls back.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--store-idtextrequirednargs=1——Store ID returned by receipt describe.
--idempotency-keytextrequirednargs=1——Unique stable 16..128-character request key.
--retain-resultbooleanoptionalnargs=1, flag——Explicitly retain bounded public result data.
commandtextrequirednargs=1——
paramstextoptionalnargs=-1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp receipt get​

Read observed status; unknown never means a command can be replayed.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--store-idtextrequirednargs=1——Store ID returned by receipt describe.
--project-hashtextrequirednargs=1——Original full 16-character project hash.
--receipt-idtextoptionalnargs=1——The original 32-character receipt ID.
--idempotency-keytextoptionalnargs=1——The original case-sensitive request key.
--include-resultbooleanoptionalnargs=1, flag——Request retained result data when available.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp reflect​

Inspect Unity C# APIs via reflection.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp reflect member​

Get detailed info for a specific member. Examples: unity-mcp reflect member Physics Raycast unity-mcp reflect member NavMeshAgent SetDestination

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
class_nametextrequirednargs=1——
member_nametextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

Search for Unity types by name. Examples: unity-mcp reflect search NavMesh unity-mcp reflect search Camera --scope all

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
querytextrequirednargs=1——
--scope / -schoice: unity, packages, project, alloptionalnargs=1"unity"—Assembly scope to search.
--page-sizeinteger range: [1..100]optionalnargs=1——Page size (default 25). Repeat it with --cursor.
--cursortextoptionalnargs=1——Continuation token; repeat the same inputs and exact assembly spelling within five minutes.
--assemblytextoptionalnargs=1——Case-insensitive simple/full assembly filter; repeat exact spelling with --cursor.
--type-kindchoice: class, interface, struct, enum, delegateoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp reflect type​

Get member summary for a Unity type. Examples: unity-mcp reflect type NavMeshAgent unity-mcp reflect type UnityEngine.Physics

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
class_nametextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scenario-recording​

Record Play Mode Button interactions and observed scene changes into a draft.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scenario-recording cancel​

Stop observation and discard the session without saving.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
recording_idtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scenario-recording checkpoint​

Add an explicitly named future screenshot, with no image assertion.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
recording_idtextrequirednargs=1——
checkpoint_nametextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scenario-recording start​

Observe supported Buttons in current Play Mode; return immediately.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--max-eventsinteger range: [1..127]optionalnargs=131—
--duration-secondsinteger range: [1..3600]optionalnargs=1300—
--scene-scopechoice: active, all_loadedoptionalnargs=1"active"—
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scenario-recording status​

Read the current or last session once, including draft and diagnostics.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
recording_idtextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scenario-recording stop​

Stop and save a NEW scenario with draft=true; review before running.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
recording_idtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scene​

Scene operations - hierarchy, load, save, create, multi-scene, validation.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scene active​

Get information about the active scene.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scene build-settings​

Get scenes in build settings.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scene close​

Close/unload a loaded scene. Examples: unity-mcp scene close "Level2" unity-mcp scene close "Level2" --remove

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
scene_nametextrequirednargs=1——
--removebooleanoptionalnargs=1, flag——Fully remove scene instead of just unloading.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scene create​

Create a new scene, optionally from a template. Templates: empty - Empty scene, no default objects default - Camera + Directional Light (Unity default) 3d_basic - Default + ground plane 2d_basic - Default + orthographic camera Examples: unity-mcp scene create "NewLevel" unity-mcp scene create "Level1" --template 3d_basic unity-mcp scene create "Level1" --template 2d_basic --path "Assets/Scenes"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--pathtextoptionalnargs=1——Path to create the scene at.
--template / -tchoice: empty, default, 3d_basic, 2d_basicoptionalnargs=1——Scene template (omit for empty scene).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scene hierarchy​

List one page of roots, or the direct children of --parent. Use a returned instance ID as --parent to descend one level. For more siblings, pass next_cursor to --cursor with the same parent. Examples: unity-mcp scene hierarchy unity-mcp scene hierarchy --parent 1234 --limit 20 unity-mcp scene hierarchy --parent "Canvas" --include-transform unity-mcp --format json scene hierarchy

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--parenttextoptionalnargs=1——Parent GameObject to list children of (name, path, or instance ID).
--max-depth / -dintegeroptionalnargs=1——Only one level is supported (1).
--include-transform / -tbooleanoptionalnargs=1, flag——Include transform data for each node.
--limit / -lintegeroptionalnargs=150—Maximum nodes to return.
--cursor / -cintegeroptionalnargs=10—Use next_cursor for the same parent.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scene load​

Load a scene. Examples: unity-mcp scene load "Assets/Scenes/Main.unity" unity-mcp scene load "MainScene" unity-mcp scene load 0 --by-index

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
scenetextrequirednargs=1——
--by-index / -ibooleanoptionalnargs=1, flag——Load by build index instead of path/name.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scene loaded​

List all currently loaded scenes. Examples: unity-mcp scene loaded

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scene move-to​

Move a root GameObject to another loaded scene. Examples: unity-mcp scene move-to "Player" "Level2" unity-mcp scene move-to --by-id -- -123 "Level2"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
scene_nametextrequirednargs=1——
--by-idbooleanoptionalnargs=1, flag——Treat target as a signed 32-bit instance ID.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scene open-additive​

Open a scene additively (keeps current scene loaded). Examples: unity-mcp scene open-additive "Assets/Scenes/Level2.unity"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
scene_pathtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scene save​

Save the current scene. Examples: unity-mcp scene save unity-mcp scene save --path "Assets/Scenes/NewScene.unity" unity-mcp scene save --path "Assets/Scenes/Existing.unity" --allow-overwrite

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--pathtextoptionalnargs=1——Path to save the scene to (Save As).
--allow-overwritebooleanoptionalnargs=1, flag——Allow Save As to replace another existing scene.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scene set-active​

Set a loaded scene as the active scene. Examples: unity-mcp scene set-active "Level2"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
scene_nametextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scene validate​

Validate the active scene for issues (missing scripts, broken prefabs). Examples: unity-mcp scene validate unity-mcp scene validate --repair

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--repairbooleanoptionalnargs=1, flag——Auto-fix missing scripts (undoable).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scene-edit​

Preview and apply allowlisted scene edits with one named Undo group.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scene-edit apply​

Apply exactly one of --preview-id or --edits-file.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--preview-idtextoptionalnargs=1——Use a one-attempt token returned by preview.
--edits-filetextoptionalnargs=1——Direct apply JSON; each entry requires expected_old.
--undo-nametextoptionalnargs=1"MCP Scene Edits"—Undo group label (1-80 characters).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scene-edit preview​

Preview the JSON array in EDITS_FILE without mutating scene values.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
edits_filetextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp scene-edit undo​

Restore unchanged fields from a scene or prefab property receipt.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
receipt_idtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp script​

Script operations - create, read, edit C# scripts.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp script create​

Create a new C# script. Examples: unity-mcp script create "PlayerController" unity-mcp script create "GameManager" --path "Assets/Scripts/Managers" unity-mcp script create "EnemyData" --type ScriptableObject unity-mcp script create "CustomEditor" --type Editor --namespace "MyGame.Editor"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--path / -ptextoptionalnargs=1"Assets/Scripts"—Directory to create the script in.
--type / -tchoice: MonoBehaviour, ScriptableObject, Editor, EditorWindow, Plainoptionalnargs=1"MonoBehaviour"—Type of script to create.
--namespace / -ntextoptionalnargs=1——Namespace for the script.
--contents / -ctextoptionalnargs=1——Full script contents (overrides template).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp script delete​

Delete a C# script. Examples: unity-mcp script delete "Assets/Scripts/OldScript.cs"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--force / -fbooleanoptionalnargs=1, flag——Skip confirmation prompt.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp script edit​

Apply text edits to a script. Examples: unity-mcp script edit "Assets/Scripts/Player.cs" --edits '[{"startLine": 10, "startCol": 1, "endLine": 10, "endCol": 20, "newText": "// Modified"}]'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--edits / -etextrequirednargs=1——Edits as JSON array of {startLine, startCol, endLine, endCol, newText}. Accepts @file or -/@- stdin.
--expected-shatextoptionalnargs=1——SHA-256 observed in a previous JSON script read.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp script quality​

Read source-bound diagnostics through the public MCP tool; never apply fixes.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
actionchoice: capabilities, capture_baseline, analyze, status, cancel, impactrequirednargs=1——
--optionstextoptionalnargs=1"{}"—Action options as JSON, @file or - for stdin; explicit paths or change_set_id are required for analysis.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp script read​

Read a C# script file. Examples: unity-mcp script read "Assets/Scripts/Player.cs" unity-mcp script read "Assets/Scripts/Player.cs" --start-line 10 --line-count 20

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--start-line / -sinteger range: [1..None]optionalnargs=1——Starting line number (1-based).
--line-count / -ninteger range: [1..None]optionalnargs=1——Number of lines to read.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp script validate​

Validate a C# script for errors. Examples: unity-mcp script validate "Assets/Scripts/Player.cs" unity-mcp script validate "Assets/Scripts/Player.cs" --level standard

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--level / -lchoice: basic, standardoptionalnargs=1"basic"—Validation level.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp shader​

Shader operations - create, read, update, delete shaders.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp shader create​

Create a new shader. Examples: unity-mcp shader create "MyShader" --path "Assets/Shaders" unity-mcp shader create "MyShader" --file local_shader.shader echo "Shader code..." | unity-mcp shader create "MyShader"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--path / -ptextoptionalnargs=1"Assets/Shaders"—Directory to create shader in.
--contents / -ctextoptionalnargs=1——Shader code (reads from stdin if not provided).
--file / -ftextoptionalnargs=1——Read shader code from file.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp shader delete​

Delete a shader. Examples: unity-mcp shader delete "Assets/Shaders/OldShader.shader" unity-mcp shader delete "Assets/Shaders/OldShader.shader" --force

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--force / -fbooleanoptionalnargs=1, flag——Skip confirmation prompt.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp shader read​

Read a shader file. Examples: unity-mcp shader read "Assets/Shaders/MyShader.shader"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--offsetinteger range: [0..9223372036854775807]optionalnargs=10—Source byte offset after the BOM.
--limitinteger range: [4..1048576]optionalnargs=165536—Maximum source bytes per page.
--encodingchoice: text, base64optionalnargs=1"text"—Returned page encoding.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp shader update​

Update an existing shader. Examples: unity-mcp shader update "Assets/Shaders/MyShader.shader" --file updated.shader echo "New shader code" | unity-mcp shader update "Assets/Shaders/MyShader.shader"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--contents / -ctextoptionalnargs=1——New shader code.
--file / -ftextoptionalnargs=1——Read shader code from file.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp sprite​

Sprite sheet operations - slice sheets, build clips and Animator controllers.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp sprite full-setup​

Slice a sheet, then build its clips and controller in one step. Examples: unity-mcp sprite full-setup Assets/Sprites/coin.png --cols 8 \ --clips '[{"name": "spin", "start_frame": 0, "end_frame": 7, "loop": true}]' unity-mcp sprite full-setup Assets/Sprites/hero.png --cols 6 --rows 4 \ --clips '[{"name": "idle", "start_frame": 0, "end_frame": 5}, {"name": "walk", "start_frame": 6, "end_frame": 11}]' \ --controller-path Assets/Animators/Hero.controller --add-to-scene --scene-target Hero

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--colsintegeroptionalnargs=1——Columns in the grid.
--rowsintegeroptionalnargs=1——Rows in the grid (default 1, or from --frame-height).
--frame-widthintegeroptionalnargs=1——Frame width in pixels; alternative to --cols.
--frame-heightintegeroptionalnargs=1——Frame height in pixels; alternative to --rows.
--base-nametextoptionalnargs=1——Base name for the frames (default: texture file name).
--filter-modechoice: point, bilinear, trilinearoptionalnargs=1——Texture filter for the sheet (default point, for pixel art).
--clipstextoptionalnargs=1——JSON list: [{"name","start_frame","end_frame","fps","loop"}]. Accepts @file or -/@- stdin.
--animation-nametextoptionalnargs=1——Name of the one clip made from all frames when --clips is not given (default: the sheet's file name; 12 fps; loops only for idle, walk or run-type names).
--output-dirtextoptionalnargs=1——Folder for the .anim assets and, without --controller-path, the controller (default: the sheet's folder).
--controller-pathtextoptionalnargs=1——Path for the .controller asset (default: <output-dir>/<sheet>_Controller.controller).
--overwritebooleanoptionalnargs=1, flag——Replace .anim and .controller assets that already exist (the sheet is re-sliced either way).
--add-to-scenebooleanoptionalnargs=1, flag——Give --scene-target an Animator with the controller, and a SpriteRenderer if it has none.
--scene-targettextoptionalnargs=1——Name of exactly one existing GameObject (inactive ones count) for --add-to-scene.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp sprite get-geometry​

Read Sprite geometry and exact IDs; continuation requires the observed revision.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--page-sizeinteger range: [1..100]optionalnargs=1——
--cursorinteger range: [0..4096]optionalnargs=1——
--expected-revisiontextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp sprite info​

Show a sheet's import settings, size and slices. The tool also sends the sheet as a base64 image for a model to look at. The CLI leaves it out: the image is the file at PATH. Examples: unity-mcp sprite info Assets/Sprites/hero.png unity-mcp sprite info Assets/Sprites/atlas.png --cursor 512

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--page-sizeintegeroptionalnargs=1——Slices to list (1-4096, default 512).
--cursorintegeroptionalnargs=1——Slice index to start at; pass back next_cursor.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp sprite resolve-reference​

Compare the serialized identity, imported Sprite and current scene assignment.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--guidtextrequirednargs=1——
--file-idtextrequirednargs=1——Serialized local fileID, as signed decimal text.
--scene-targettextrequirednargs=1——Unique loaded GameObject name.
--expected-rectfloatoptionalnargs=4——Baseline x y width height in source pixels.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp sprite set-geometry​

Change only supplied rect/pivot/border/render outlines using exact observed guards.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--guidtextrequirednargs=1——
--sprite-idtextrequirednargs=1——
--file-idtextrequirednargs=1——
--expected-revisiontextrequirednargs=1——
--geometrytextrequirednargs=1——Geometry JSON object. Accepts @file or -/@- stdin.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp sprite setup-clips​

Create AnimationClips from a sliced sheet. Examples: unity-mcp sprite setup-clips Assets/Sprites/hero.png \ --clips '[{"name": "walk", "start_frame": 0, "end_frame": 5}]'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--clipstextrequirednargs=1——JSON list: [{"name","start_frame","end_frame","fps","loop"}]. Accepts @file or -/@- stdin.
--output-dirtextoptionalnargs=1——Folder for the .anim assets (default: the sheet's folder).
--overwritebooleanoptionalnargs=1, flag——Replace .anim assets that already exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp sprite setup-controller​

Build an AnimatorController from existing clips. Examples: unity-mcp sprite setup-controller Assets/Animators/Hero.controller \ --clips '[{"name": "idle", "path": "Assets/Sprites/idle.anim"}]'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
controller_pathtextrequirednargs=1——
--clipstextrequirednargs=1——JSON list: [{"name", "path"}], where path is the .anim asset. Accepts @file or -/@- stdin.
--overwritebooleanoptionalnargs=1, flag——Replace the .controller if it already exists.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp sprite slice​

Slice a sprite sheet into a grid of frames. Replaces the sheet's existing slices and sets it to Sprite (Multiple) import, with NPOT scaling off and the --filter-mode filter. Examples: unity-mcp sprite slice Assets/Sprites/hero.png --cols 6 --rows 4 unity-mcp sprite slice Assets/Sprites/hero.png --frame-width 32 --frame-height 32

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--colsintegeroptionalnargs=1——Columns in the grid.
--rowsintegeroptionalnargs=1——Rows in the grid (default 1, or from --frame-height).
--frame-widthintegeroptionalnargs=1——Frame width in pixels; alternative to --cols.
--frame-heightintegeroptionalnargs=1——Frame height in pixels; alternative to --rows.
--base-nametextoptionalnargs=1——Base name for the frames (default: texture file name).
--filter-modechoice: point, bilinear, trilinearoptionalnargs=1——Texture filter for the sheet (default point, for pixel art).
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp status​

Check connection status to Unity MCP server.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--readybooleanoptionalnargs=1, flag——Require authenticated discovery and a unique Unity target.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp texture​

Texture operations - create, modify, generate sprites.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp texture create​

Create a new procedural texture. Examples: unity-mcp texture create Assets/Red.png --color '[255,0,0]' unity-mcp texture create Assets/Check.png --pattern checkerboard unity-mcp texture create Assets/UI.png --import-settings '{"texture_type": "sprite"}'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--widthintegeroptionalnargs=164—Texture width (default: 64)
--heightintegeroptionalnargs=164—Texture height (default: 64)
--image-pathtextoptionalnargs=1——Source image path (PNG/JPG) to import.
--colortextoptionalnargs=1——Fill color (e.g., '#FF0000' or '[1,0,0,1]')
--patternchoice: checkerboard, stripes, stripes_h, stripes_v, stripes_diag, dots, grid, brickoptionalnargs=1——Pattern type
--palettetextoptionalnargs=1——Color palette for pattern (JSON array of colors) Accepts @file or -/@- stdin.
--import-settingstextoptionalnargs=1——TextureImporter settings (JSON) Accepts @file or -/@- stdin.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp texture delete​

Delete a texture. Examples: unity-mcp texture delete "Assets/Textures/Old.png" unity-mcp texture delete "Assets/Textures/Old.png" --force

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--force / -fbooleanoptionalnargs=1, flag——Skip confirmation prompt.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp texture modify​

Modify an existing texture. Examples: unity-mcp texture modify Assets/Tex.png --set-pixels '{"x":0,"y":0,"width":10,"height":10,"color":[255,0,0]}' unity-mcp texture modify Assets/Tex.png --set-pixels '{"x":0,"y":0,"width":2,"height":2,"pixels":[[255,0,0,255],[0,255,0,255],[0,0,255,255],[255,255,0,255]]}' unity-mcp texture modify Assets/UI/icon.png --as-sprite unity-mcp texture modify Assets/UI/bg.png --texture-type sprite --max-size 2048

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--set-pixelstextoptionalnargs=1——Modification args as JSON Accepts @file or -/@- stdin.
--texture-typechoice: default, normal_map, editor_gui, sprite, cursor, cookie, lightmap, directional_lightmap, shadow_mask, single_channeloptionalnargs=1——Texture type
--sprite-modechoice: single, multiple, polygonoptionalnargs=1——Sprite import mode
--sprite-ppufloatoptionalnargs=1——Sprite pixels per unit
--max-sizechoice: 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384optionalnargs=1——Max texture size
--compressionchoice: none, low_quality, normal_quality, high_qualityoptionalnargs=1——Compression quality
--generate-mipmaps / --no-mipmapsbooleanoptionalnargs=1, flag——Generate mipmaps
--srgb / --linearbooleanoptionalnargs=1, flag——sRGB color texture
--readable / --no-readablebooleanoptionalnargs=1, flag——Read/Write enabled
--as-spritebooleanoptionalnargs=1, flag——Shorthand: set texture type to Sprite with defaults
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp texture set-import-settings​

Change import settings on an existing texture. Examples: unity-mcp texture set-import-settings Assets/UI/icon.png --texture-type sprite unity-mcp texture set-import-settings Assets/UI/icon.png --as-sprite unity-mcp texture set-import-settings Assets/UI/icon.png --texture-type sprite --sprite-mode single --sprite-ppu 100 unity-mcp texture set-import-settings Assets/UI/bg.png --max-size 2048 --compression high_quality

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--texture-typechoice: default, normal_map, editor_gui, sprite, cursor, cookie, lightmap, directional_lightmap, shadow_mask, single_channeloptionalnargs=1——Texture type
--sprite-modechoice: single, multiple, polygonoptionalnargs=1——Sprite import mode
--sprite-ppufloatoptionalnargs=1——Sprite pixels per unit
--max-sizechoice: 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384optionalnargs=1——Max texture size
--compressionchoice: none, low_quality, normal_quality, high_qualityoptionalnargs=1——Compression quality
--generate-mipmaps / --no-mipmapsbooleanoptionalnargs=1, flag——Generate mipmaps
--srgb / --linearbooleanoptionalnargs=1, flag——sRGB color texture
--readable / --no-readablebooleanoptionalnargs=1, flag——Read/Write enabled
--as-spritebooleanoptionalnargs=1, flag——Shorthand: set texture type to Sprite with defaults
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp texture sprite​

Quickly create a sprite texture. Examples: unity-mcp texture sprite Assets/Sprites/Player.png unity-mcp texture sprite Assets/Sprites/Coin.png --pattern dots unity-mcp texture sprite Assets/Sprites/Solid.png --color '[0,255,0]'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
pathtextrequirednargs=1——
--widthintegeroptionalnargs=164—Texture width (default: 64)
--heightintegeroptionalnargs=164—Texture height (default: 64)
--image-pathtextoptionalnargs=1——Source image path (PNG/JPG) to import.
--colortextoptionalnargs=1——Fill color (e.g., '#FF0000' or '[1,0,0,1]')
--patternchoice: checkerboard, stripes, dots, gridoptionalnargs=1——Pattern type (defaults to checkerboard if no color specified)
--ppufloatoptionalnargs=1100.0—Pixels Per Unit
--pivottextoptionalnargs=1——Pivot as [x,y] (default: [0.5, 0.5]) Accepts @file or -/@- stdin.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp tool​

List project tools or inspect a named server-advertised tool.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp tool catalog​

Browse the complete offline catalog for agent semantic selection. Start with the group index, then compare tool purposes and actions. Use tool describe NAME for the live schema before execution.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--grouptextoptionalnargs=1——Select a tool group, resources for fixed URIs, or resource_templates for parameterized Unity observations.
--tooltextoptionalnargs=1——List actions of one exact tool.
--offsetinteger range: [0..None]optionalnargs=10—
--limitinteger range: [1..20]optionalnargs=120—
--intentchoice: observe, interact, editoptionalnargs=1——Browse classified actions of the selected tool or group.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp tool describe​

Describe NAME for this CLI connection; hidden-tool causes may be unknown.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--protocolchoice: auto, legacyoptionalnargs=1"auto"—
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp tool list​

List custom tools registered for the active Unity project.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp tool scaffold​

Create a new CLASS_NAME custom tool without contacting an Editor. Existing source or observed metadata refuses; compilation/availability remain unverified. Predefined Editor assemblies only; custom asmdef/asmref boundaries are unsupported.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
class_nametextrequirednargs=1——
--namespacetextrequirednargs=1——Explicit C# namespace; pass an empty value for global.
--tool-nametextrequirednargs=1——Explicit unchanged wire name; uniqueness is unverified.
--project-roottextoptionalnargs=1nonliteral (not evaluated)—
--outputtextoptionalnargs=1——New relative .cs path under an Assets/Editor folder.
--templatechoice: sync, async-pollingoptionalnargs=1"sync"—
--dry-runbooleanoptionalnargs=1, flag——Validate/render without creating files or reserving a path.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp tool schema​

Print NAME's complete schema receipt as JSON, regardless of --format. Project-declared metadata is distinct from an advertised callable schema.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--protocolchoice: auto, legacyoptionalnargs=1"auto"—
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

Search the offline local catalog by task purpose, without a Unity connection. For the agent directory, supply QUERY verbatim. Use --family for an exact family page. Advertisement and project readiness remain unobserved in this offline scope.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
querytextoptionalnargs=1——
--limitinteger range: [1..20]optionalnargs=15—
--selectionchoice: ranked, agentoptionalnargs=1"ranked"—Use agent for exhaustive browsing or ranked for lexical and required evidence search.
--familytextoptionalnargs=1——Agent browse only. An exact family ID. QUERY is optional.
--offsetinteger range: [0..None]optionalnargs=10—Agent selection page offset.
--catalog-querytextoptionalnargs=1——Ranked search only. Alternate terms such as a known API identifier.
--intentchoice: observe, interact, editoptionalnargs=1——Ranked search only. Filter routes by the requested outcome.
--observation-sourcechoice: editor_live, asset_file, imported_asset, compile_job, scenario_joboptionalnargs=1——Ranked search only. Require this evidence source. QUERY is optional.
--required-valuechoice: unityCameras, cinemachineCameras, cinemachineInstalled, render_size.width, render_size.height, current_size, view_instance_id, presets, rendered_image, pointer_hit_order, console.entries, menu.declared_paths, active_scene.name, active_scene.path, compilation.is_compiling, compile_job.outcome, scenario_job.outcome, nodeCount, edgeCount, nodes, edges, properties, keywords, unsaved_graph_structure, property_values, shader_source, contents, encodedContents, nextOffset, shader_graph_structure, unsaved_source, compilation, passes, subshader_count, navigation.module_available, navigation.package_available, project_auditor.api_supported, project_auditor.rules_availableoptionalnargs=1, repeatable——Ranked search only. Repeat to require every listed result field.
--route-surfaceschoice: both, tools, resourcesoptionalnargs=1"both"—Select which invocation surfaces can appear in grouped routes.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp ui​

UI operations - create and modify UI elements.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp ui create-button​

Create a UI Button. Examples: unity-mcp ui create-button "StartButton" --parent "MainUI" --text "Start Game"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--parent / -ptextrequirednargs=1——Parent Canvas or UI element.
--text / -ttextoptionalnargs=1"Button"—Button label text.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp ui create-canvas​

Create a new Canvas. Examples: unity-mcp ui create-canvas "MainUI" unity-mcp ui create-canvas "WorldUI" --render-mode WorldSpace

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--render-modechoice: ScreenSpaceOverlay, ScreenSpaceCamera, WorldSpaceoptionalnargs=1"ScreenSpaceOverlay"—Canvas render mode.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp ui create-image​

Create a UI Image. Examples: unity-mcp ui create-image "Background" --parent "MainUI" unity-mcp ui create-image "Icon" --parent "MainUI" --sprite "Assets/Sprites/icon.png"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--parent / -ptextrequirednargs=1——Parent Canvas or UI element.
--sprite / -stextoptionalnargs=1——Sprite asset path.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp ui create-text​

Create a UI Text element (TextMeshPro). Examples: unity-mcp ui create-text "TitleText" --parent "MainUI" --text "Hello World"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
nametextrequirednargs=1——
--parent / -ptextrequirednargs=1——Parent Canvas or UI element.
--text / -ttextoptionalnargs=1"New Text"—Initial text content.
--positionfloatoptionalnargs=2——Anchored position X Y.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp ui set-image​

Edit one existing uGUI Image through a single native Undo transaction.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--propertiestextrequirednargs=1——Image JSON properties; accepts @file or -/@- stdin. sprite accepts null, asset path, or {path,name}.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification​

Prepare source-linked checks and observe runs without automatically replaying work.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
actionchoice: profiles, set_profile, prepare, run, status, cancel, report, observe_assembly, observe_texturerequirednargs=1——
--optionstextoptionalnargs=1"{}"—Action options as JSON, @file or - for stdin. Run/status/report use the returned owned IDs.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate​

Review source evidence and manage local Player candidate registrations.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate anticipate-merge​

Check Resources references against Git's anticipated merge tree.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--projecttextrequirednargs=1——
--targettextrequirednargs=1——Current receiving Git ref or commit.
--headtextrequirednargs=1——Proposed Git head ref or commit.
--outputtextoptionalnargs=1——New JSON file.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate capture-pair-side​

Freeze a registered native build and its current clean source commits together.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--projecttextrequirednargs=1——
--package-checkouttextrequirednargs=1——
--candidate-idtextrequirednargs=1——
--closuretextrequirednargs=1——
--outputtextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate compare-loads​

Compare the native job directories of two runs of the same registered build.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--projecttextrequirednargs=1——
--registrationtextrequirednargs=1——
--beforetextrequirednargs=1——
--aftertextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate configuration-diff​

Compare two native configuration observations and optional matched Player pixel runs.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
baselinetextrequirednargs=1——
candidatetextrequirednargs=1——
--baseline-runtextoptionalnargs=1——
--candidate-runtextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate dependency-closure​

Propose additional asset and metadata hashes from the selected commits.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--projecttextrequirednargs=1——
--drafttextrequirednargs=1——Committed Git candidate draft.
--roottextrequirednargs=1——Project-relative entry asset.
--graph-pagetextrequirednargs=1, repeatable——Outgoing impact page in original order.
--diagnosticstuple: text, textoptionalnargs=2, repeatable——Graph node and its diagnostics page.
--outputtextoptionalnargs=1——New proposal JSON file.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate dependency-diff​

Compare retained native references and their prior and current consumers.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--baselinetextrequirednargs=1——Complete baseline scan checkpoint.
--candidatetextrequirednargs=1——Complete candidate scan checkpoint.
--outputtextrequirednargs=1——New JSONL comparison and consumer list.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate dependency-scan​

Record graph pages atomically and hash the corresponding committed assets and metadata.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--projecttextrequirednargs=1——
--committextrequirednargs=1——Exact Git commit for this graph.
--roottextrequirednargs=1——Committed entry asset path.
--checkpointtextrequirednargs=1——Local resumable SQLite file.
--graph-pagetextoptionalnargs=1, repeatable——Next saved outgoing impact page.
--outputtextoptionalnargs=1——New JSONL inventory file, after the final page.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate draft​

Compare selected Unity source bytes with a Git baseline and emit a reviewable JSON draft.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--projecttextrequirednargs=1——
--baselinetextoptionalnargs=1"HEAD"—Git commit or revision.
--selectionchoice: working-tree, staged, committedrequirednargs=1——
--candidate-reftextoptionalnargs=1——Head commit or ref for a committed comparison.
--outputtextoptionalnargs=1——New JSON file.
--chunk-directorytextoptionalnargs=1——Parent of input-chunks. Defaults to the output file's directory.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate draft-inputs​

Validate a Git draft side, transfer its chunks, and print registration fields.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--drafttextrequirednargs=1——
--sidechoice: baseline, candidaterequirednargs=1——
--candidate-idtextrequirednargs=1——
--chunk-directorytextoptionalnargs=1——Parent of input-chunks. Defaults to the draft file's directory.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate enum-value-diff​

Compare native enum reads of the original serialized prefab component.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
baselinetextrequirednargs=1——
candidatetextrequirednargs=1——
--repairedtextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate export​

Export source and build identities from a trusted local registration.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--projecttextrequirednargs=1——
--candidate-idtextrequirednargs=1——
--outputtextrequirednargs=1——New proof JSON file.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate input-chunks​

Capture and assemble a large explicit input selection.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate input-chunks capture​

Publish one immutable source chunk and print its descriptor.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--candidate-idtextrequirednargs=1——
--projecttextrequirednargs=1——
--pathtextrequirednargs=1, repeatable——Repeat for each selected source or metadata file.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate input-chunks index​

Print registration fields for a complete ordered list of captured chunks.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--candidate-idtextrequirednargs=1——
--chunktextrequirednargs=1, repeatable——Repeat in globally sorted path order.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate pack-pair​

Verify both captures and publish a new pair.json for independent review.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--projecttextrequirednargs=1——
--artifactstextrequirednargs=1——Directory with baseline and candidate captures.
--expectationstextrequirednargs=1——Project-owned outcomes and optional shared references.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate register​

Verify local sources and the installed Player before creating a local registration.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--candidate-idtextrequirednargs=1——ID of the operator-provisioned local build.
--sha256textrequirednargs=1——Expected proof digest from a trusted source.
--prooftextrequirednargs=1——
--projecttextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate reproduce​

Verify Git inputs, dependency closures and builds, then run both Players.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--projecttextrequirednargs=1——
--manifesttextrequirednargs=1——
--sha256textrequirednargs=1——Pair manifest digest from an independent review.
--artifactstextoptionalnargs=1——Trusted pair directory. Defaults to the manifest's parent.
--outputtextrequirednargs=1——New directory for fresh native evidence and reproduction.json.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate save-upgrade​

Create a save with the older Player, then verify migration and a fresh restart.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--projecttextrequirednargs=1——
--manifesttextrequirednargs=1——
--sha256textrequirednargs=1——Manifest digest from an independent review.
--artifactstextoptionalnargs=1——Trusted pair directory. Defaults to the manifest's parent.
--outputtextrequirednargs=1——New directory for the isolated save slot and native evidence.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate scene-index-diff​

Resolve numeric scene loads in project snapshots and optional Standalone runs.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
baselinetextrequirednargs=1——
candidatetextrequirednargs=1——
--sourcetextrequirednargs=1——Project-relative C# source in both snapshots.
--repairedtextoptionalnargs=1——
--player-lineinteger range: [1..None]optionalnargs=1——Match retained Player observations to this call.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-candidate verify​

Check pinned evidence against the current checkout's source bytes.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--sha256textrequirednargs=1——Expected proof digest from a trusted source.
--prooftextrequirednargs=1——
--projecttextrequirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence​

Compare retained results and their input identities without starting Unity.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence budget-assess​

Measure elapsed time and missed failures against an independent full run.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--rankingtextrequirednargs=1——Original ranked test list.
--historytextrequirednargs=1, repeatable——Original timing XML.
--budget-msinteger range: [1..None]requirednargs=1——
--selectedtextoptionalnargs=1——Independent run of exactly the planned test names.
--fulltextrequirednargs=1——Independent run of the full test inventory.
--outputtextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence budget-plan​

Select ranked tests that fit an estimate derived from observed history.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--rankingtextrequirednargs=1——Ordered test names and impact reasons.
--historytextrequirednargs=1, repeatable——Prior Unity NUnit XML.
--budget-msinteger range: [1..None]requirednargs=1——
--outputtextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence budget-rank​

Propose an exact test ranking for budget-plan and show unmapped changes.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--draftFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——Committed base/head Git candidate draft.
--mappingsFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——Project check mapping document.
--closureFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1, repeatable——Retained scene dependency closure.
--historyFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1, repeatable——Prior instrumented NUnit XML.
--outputFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence budget-replay​

Compare automatic and manual budget plans against chronological full PR controls.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
manifestFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——
--outputFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence compare​

Classify new, existing, repaired and unexecuted checks on the reviewed PR pair.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--baselineFuncParamType (custom/nonliteral conversion not validated)requirednargs=2——
--candidateFuncParamType (custom/nonliteral conversion not validated)requirednargs=2——
--outputFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence export-change-subset​

Write a new source overlay archive from two explicit endpoint snapshots.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
manifestFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——
--grouptextoptionalnargs=1, repeatable——Apply this repaired atomic group.
--broken-rootFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——
--repaired-rootFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——
--archiveFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence first-failure​

Locate the first failing archived build, or report observed bounds and missing trials.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
history_manifestFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——
--kindchoice: scenario, test, profile, observation, stagerequirednargs=1——
--idtextrequirednargs=1——Exact named check from the verification reports.
--outputFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence import-official​

Import retained NUnit and standalone Player facts from a connected unity mcp session.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
sessionFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——
--nunitFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——Original Unity Test Framework NUnit XML.
--playerFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——Original independent game-state JSON from the Player.
--outputFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence minimize-changes​

Find independently witnessed repair groups or identify the next subset trials.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
manifestFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——
--outputFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence mutation​

Measure which suite catches a fault witnessed independently in NUnit.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--mutation-idtextrequirednargs=1——Expected native fault witness marker ID.
--mutated-assettextrequirednargs=1——Exact fixture asset deliberately changed.
--baselinetextrequirednargs=1——Clean full-suite NUnit XML.
--selectedtextrequirednargs=1——Mutated selected-suite NUnit XML.
--fulltextrequirednargs=1——Mutated full-suite NUnit XML.
--witness-testtextrequirednargs=1——Exact test from the independent witness fixture.
--witnesstextrequirednargs=2——Independent clean and mutated executions of only the witness test.
--outputtextoptionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence oracle-matrix​

Compare old/new game and oracle revisions across four archived executions.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
manifestFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——
--outputFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence reuse​

Assess whether the original execution can be cited for the reviewed commit.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--projectFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——
--verificationFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——
--nativeFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——
--archivedFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——Original candidate.json.
--targetFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——Target candidate.json.
--archive-scopeFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——
--target-scopeFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——
--bundleFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——Target scenario-bundle.json.
--closureFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——Optional reviewed target dependency closure.
--max-age-secondsinteger range: [1..None]requirednargs=1——
--outputFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence scope​

Capture Git input digests and the observation to bind in a registration.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--projectFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——
--revisiontextrequirednargs=1——Local Git commit or ref.
--sourcetextrequirednargs=1, repeatable——
--dependencytextoptionalnargs=1, repeatable——
--settingtextoptionalnargs=1, repeatable——
--runtime-inputschoice: unknown, self_containedoptionalnargs=1"unknown"—
--unresolvedtextoptionalnargs=1, repeatable——Known gap in dependency coverage.
--environmentFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——Expected native Player environment JSON.
--outputFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——New reviewed scope JSON.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence selection​

Measure missed regressions, unnecessary checks and observed elapsed time.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--selectedFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——Narrow Unity NUnit XML.
--fullFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——Independently executed full cohort.
--fallbackFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——Independently executed broader fallback.
--affected-testtextoptionalnargs=1, repeatable——Known affected test in the fault fixture.
--outputFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence shards​

Merge retained NUnit splits, accounting for retries and missing coverage.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
manifestFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——
--outputFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence team​

Share the observations needed to recalculate verification results offline.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence team pack-change​

Pack admitted, pseudonymized observations from a reviewed change.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--baselineFuncParamType (custom/nonliteral conversion not validated)optionalnargs=2——
--candidateFuncParamType (custom/nonliteral conversion not validated)optionalnargs=2——
--withholdchoice: baseline, candidateoptionalnargs=1, repeatable——
--bundleFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——New shareable file.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence team pack-impact​

Share a changed asset's dependency route and selected test observations.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--asset-guidtextrequirednargs=1——GUID of the reviewed asset within the scene.
--baselineFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——Baseline dependency-scan JSONL inventory.
--candidateFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——Candidate dependency-scan JSONL inventory.
--mappingsFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——Player candidate manifest with scene test mappings.
--mapping-chunkFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1, repeatable——A pinned input chunk from a version-two manifest.
--selectedFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——Instrumented selected NUnit capture.
--withholdchoice: baseline, candidate, mappings, selectedoptionalnargs=1, repeatable——
--bundleFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——New shareable file.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence team pack-recovery​

Share the confirmed prefab write checkpoint and its successor execution.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--reconcileFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——Receipt-owned reconciliation of the interrupted operation.
--replanFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——Receipt-owned approval of the successor operation.
--resumedFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——Receipt-owned result of the successor write.
--withholdchoice: reconcile, replan, resumedoptionalnargs=1, repeatable——
--bundleFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——New shareable file.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence team pack-selection​

Pack the measured inputs of a test selection, with their original digests.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--selectedFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——Instrumented selected NUnit cohort.
--fullFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——Independently executed full NUnit cohort.
--fallbackFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——Optional broader NUnit cohort.
--affected-testtextoptionalnargs=1, repeatable——
--withholdchoice: selected, full, fallbackoptionalnargs=1, repeatable——
--bundleFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——New shareable file.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp verification-evidence team replay​

Verify the bundle bytes and recompute the verdict independently of the sender.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
bundleFuncParamType (custom/nonliteral conversion not validated)requirednargs=1——
--sha256textrequirednargs=1——Independently supplied SHA-256 of the shared file.
--outputFuncParamType (custom/nonliteral conversion not validated)optionalnargs=1——New local verdict file.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx​

VFX operations - particle systems, line renderers, trails.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx line​

Line renderer operations.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx line clear​

Clear all positions from a line renderer.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple LineRenderers exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx line create-circle​

Create a circle shape. Examples: unity-mcp vfx line create-circle "Circle" --radius 5 --segments 64 unity-mcp vfx line create-circle "Ring" --center 0 2 0 --radius 3

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--centerfloatoptionalnargs=3[0, 0, 0]—Center point X Y Z
--radiusfloatrequirednargs=1——Circle radius
--segmentsintegeroptionalnargs=132—Number of segments
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple LineRenderers exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx line create-line​

Create a simple line between two points. Examples: unity-mcp vfx line create-line "MyLine" --start 0 0 0 --end 10 5 0

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--startfloatrequirednargs=3——Start point X Y Z
--endfloatrequirednargs=3——End point X Y Z
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple LineRenderers exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx line info​

Get line renderer info. Examples: unity-mcp vfx line info "LaserBeam" unity-mcp vfx line info "MultiLine" --component-index 1

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple LineRenderers exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx line set-positions​

Set all positions on a line renderer. Examples: unity-mcp vfx line set-positions "Line" --positions "[[0,0,0], [5,2,0], [10,0,0]]"

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--positions / -ptextrequirednargs=1——Positions as JSON array: [[0,0,0], [1,1,1], [2,0,0]] Accepts @file or -/@- stdin.
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple LineRenderers exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx particle​

Particle system operations.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx particle clear​

Clear all particles from a particle system.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--with-childrenbooleanoptionalnargs=1, flag——
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple ParticleSystems exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx particle info​

Get particle system info. Examples: unity-mcp vfx particle info "Fire" unity-mcp vfx particle info --search-method by_id -- -12345 unity-mcp vfx particle info "Effects" --component-index 1

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple ParticleSystems exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx particle pause​

Pause a particle system.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple ParticleSystems exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx particle play​

Play a particle system. Examples: unity-mcp vfx particle play "Fire" unity-mcp vfx particle play "Effects" --with-children

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--with-childrenbooleanoptionalnargs=1, flag——Also play child particle systems.
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple ParticleSystems exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx particle restart​

Restart a particle system.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--with-childrenbooleanoptionalnargs=1, flag——
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple ParticleSystems exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx particle stop​

Stop a particle system.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--with-childrenbooleanoptionalnargs=1, flag——Also stop child particle systems.
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple ParticleSystems exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx raw​

Execute any VFX action directly. For advanced users who need access to all 60+ VFX actions. Actions include: particle_: particle_set_main, particle_set_emission, particle_set_shape, ... vfx_: vfx_set_float, vfx_send_event, vfx_play, ... line_: line_create_arc, line_create_bezier, ... trail_: trail_set_width, trail_set_color, ... Examples: unity-mcp vfx raw particle_set_main "Fire" --params '{"duration": 5, "looping": true}' unity-mcp vfx raw line_create_arc "Arc" --params '{"radius": 3, "startAngle": 0, "endAngle": 180}' unity-mcp vfx raw vfx_send_event "Explosion" --params '{"eventName": "OnSpawn"}'

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
actiontextrequirednargs=1——
targettextoptionalnargs=1——
--params / -ptextoptionalnargs=1"{}"—Additional parameters as JSON. Accepts @file or -/@- stdin.
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple components of the same type exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx trail​

Trail renderer operations.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx trail clear​

Clear a trail renderer.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple TrailRenderers exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx trail info​

Get trail renderer info.

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple TrailRenderers exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.

unity-mcp vfx trail set-time​

Set trail duration. Examples: unity-mcp vfx trail set-time "PlayerTrail" 2.0

Argument / optionTypeRequiredArity / flagsDefaultEnvironmentDescription
targettextrequirednargs=1——
durationfloatrequirednargs=1——
--search-methodchoice: by_name, by_path, by_id, by_tag, by_layeroptionalnargs=1——
--component-index / -iintegeroptionalnargs=1——Zero-based index when multiple TrailRenderers exist.
--helpbooleanoptionalnargs=1, flag——Show this message and exit.