Skip to main content

Tool reference

Auto-generated from the Python tool registry. Do not hand-edit outside <!-- examples:start --><!-- examples:end --> blocks — the generator (tools/generate_docs_reference.py) will overwrite them.

Every tool MCP for Unity exposes, generated directly from the Python @mcp_for_unity_tool registry under Server/src/services/tools/.

animation   (4 tools)​

Animator control, AnimationClip creation & 2D sprite-sheet animation

  • manage_animation — Manage Unity animation: Animator control and AnimationClip creation.
  • manage_sprite — Slice 2D sprite sheets and build AnimationClips and an AnimatorController from the frames.
  • manage_sprite_atlas — Inspect and explicitly author Sprite Atlas V1 (.spriteatlas) and V2 (.spriteatlasv2) assets.
  • manage_timeline — Inspect/create optional Timeline Assets/*.playable assets and explicitly add built-in animation/audio tracks and clips.

asset_gen   (6 tools)​

AI asset generation – 3D model gen/import, 2D image gen & audio gen (bring-your-own-key)

  • blender_bridge — Bridge to a running Blender that has the BlenderMCP addon connected (socket, default 127.0.0.1:9876; configured in Window > Unity MCP (ykh09242) > Generative > Blender Bridge).
  • generate_audio — Generate audio (sound effects and background music) with fal.ai models and import them as AudioClips into the Unity project.
  • generate_image — Generate 2D images with AI providers (fal.ai, OpenRouter) and import them as textures/sprites into the Unity project.
  • generate_model — Generate 3D models with AI providers (Tripo, Meshy, fal) and import them into the Unity project.
  • import_model — Import 3D models from the Sketchfab marketplace into the Unity project.
  • import_model_file — Import a local 3D model file that already exists within the Unity project's Assets folder (e.g. an FBX/OBJ/glTF exported from Blender or another DCC tool) into the Unity project.

assets   (5 tools)​

Asset changes, labels, bundles and reference diagnostics

  • asset_bundles — Inspect asset bundles, their contents and dependencies.
  • asset_edit — Create, import, modify, duplicate, move or delete assets and folders.
  • asset_labels — Read or change asset labels with revision checks.
  • asset_reference_diagnostics — Inspect dependencies and reverse references, or preview asset moves and deletion.
  • manage_reference_graph — Maintain an automatic asset/code/external-config reference graph for the selected Unity instance and authenticated user.

camera   (3 tools)​

Camera setup, Cinemachine and view capture

  • capture_camera — Capture Game or Scene views, including surround and orbit batches.
  • manage_cameras — Create or list cameras, select targets and configure lenses or priority.
  • manage_cinemachine — Configure Cinemachine brains, tracking, extensions and camera blends.

core   (48 tools)​

Essential scene, script, asset, editor & view recording tools (always on by default)

  • apply_text_edits — Apply small text edits to a C# script identified by URI.
  • asset_inspect — Search assets or inspect their metadata and components.
  • batch_execute — Execute multiple native MCP commands in one request.
  • create_script — Create a new C# script at the given project path.
  • debug_request_context — Return the current FastMCP request context details (client_id, session_id, and meta dump).
  • delete_script — Delete a C# script by URI or Assets-relative path.
  • execute_custom_tool — Execute a project-scoped custom tool registered by Unity.
  • execute_menu_item — Find an unknown menu path with list_menu_declarations or read mcpforunity://menu-items.
  • find_gameobjects — Search GameObjects by name, tag, layer, component, path or ID; defaults to IDs only.
  • find_in_file — Searches a C# script with a regex pattern and returns line numbers, excerpts and identities of the searched snapshot. bytes_sha256 identifies raw file bytes when supplied by the Editor; sha256 identifies decoded UTF-8 content.
  • gameobject_create — Create a named GameObject with transform, components and optional prefab output. name must contain non-whitespace text. save_as_prefab=true requires a nonempty .prefab prefab_path or prefab_folder for the generated name.prefab destination.
  • gameobject_edit — Modify a GameObject or delete all selector matches, including inactive objects, in the active scene or current prefab stage.
  • get_compile_job — Read compilation status, bounded diagnostics and the last successful compile by compile_id.
  • get_game_view_size — Read the current Game View render size in pixels, selected preset and available presets from an existing window in the selected Unity Editor.
  • get_sha — Get SHA256 and basic metadata for a Unity C# script without returning file contents.
  • inspect_editor_state — Read the selected Editor snapshot including active scene and current compiling flag.
  • inspect_scene_cameras — Read the selected Editor's scene camera inventory. unityCameras includes each camera's name, depth, fieldOfView and brain attachment. cinemachineCameras includes names, priorities, pipeline components and follow/lookAt targets.
  • list_menu_declarations — List managed MenuItem declarations in the selected Editor to find a command's exact menu path.
  • manage_addressables — Use capabilities without a settings asset for per-action provider availability.
  • manage_audio — Diagnose observed scene audio state without proving output-device audibility; inspect or explicitly set existing mixer-group routing; read/apply per-platform AudioImporter policies.
  • manage_build — Manage Unity player builds — trigger builds, switch platforms, configure settings, manage build scenes and profiles, run batch builds across platforms.
  • manage_components — Add, remove, or set properties on components attached to GameObjects.
  • manage_editor — Controls Unity editor state and settings.
  • manage_input_actions — Author optional Input System .inputactions assets in idle Edit Mode. capabilities/read are bounded reads; read returns stored GUIDs and a raw source revision.
  • manage_localization — Inspect optional Unity Localization locale/table identities, shared keys, missing translations, static Smart String selectors and asset GUID references.
  • manage_material — Manages Unity materials (properties, colors, shaders, render state).
  • manage_navigation — Read and explicitly author navigation surfaces, agents, obstacles and links.
  • manage_netcode — Inspect local Netcode for GameObjects configuration without starting a network session. capabilities reports optional package detection/version; preflight requires an explicit loaded scene_handle and checks managers, active same-scene tr…
  • manage_object_handles — Capture or resolve the original loaded GameObject/Component reference for this Editor session.
  • manage_packages — Manage Unity packages: query, install, remove, embed, and configure registries.
  • manage_recording — Start, poll or stop a bounded silent MP4 recording of Unity Game View or Scene View. start returns job_id immediately; poll status explicitly or stop to finalize.
  • manage_scene_edits — Preview or apply 1-1000 allowlisted native Transform, BoxCollider, SphereCollider, Rigidbody, or CapsuleCollider serialized property edits in a stable Edit-mode scene.
  • manage_script — Compatibility router for legacy script operations.
  • manage_script_capabilities — Get manage_script capabilities (supported ops, limits, and guards).
  • manage_terrain — Inspect and edit existing TerrainData with bounded region/index requests. get_info lists identities/resolutions/layers/prototypes; get_region/set_region use heights, alphamaps, holes (true=surface) or details with exact [y][x] arrays.
  • manage_tools — Find Unity tools, actions and readable resources for a task; inspect schemas or manage visible groups.
  • prefab_inspect — Inspect prefab metadata or a bounded hierarchy page.
  • read_console — Gets messages from or clears the Unity Editor console.
  • read_response — Reads one fixed 256 KiB base64 page of a retained oversized MCP response.
  • refresh_unity — Refresh assets and optionally request compilation.
  • scene_inspect — Inspect loaded scenes, hierarchy and build settings, or frame the Scene view.
  • scene_lifecycle — Create, load, save or close scenes and organize loaded scene objects.
  • script_apply_edits — Edit C# source using operations scoped to the intended members or text.
  • script_change_set — Prepare, apply, inspect or recover 1–256 existing C# source replacements as one bounded change set.
  • search_unity_tools — Search Unity tools, actions and readable resources without changing selection or invoking Unity.
  • set_active_instance — Select a Unity instance by Name@hash, hash prefix, or stdio port.
  • validate_script — Validate a C# script and report diagnostics, the effective validation engine, and context limitations.
  • wait_for_operation — Observe an existing test, build, package query/mutation/resolve, single scenario, recording, or Project Auditor job.

docs   (2 tools)​

Unity API reflection and documentation lookup

  • unity_docs — Fetch official Unity documentation from docs.unity3d.com.
  • unity_reflect — Inspect Unity's live C# API via reflection.

graphics   (8 tools)​

Rendering, lighting, volumes and graphics diagnostics

legacy   (8 tools)​

Compatibility: full combined schemas for existing clients; prefer focused tools

  • manage_asset — Performs asset operations (import, create, modify, delete, etc.) in Unity.
  • manage_camera — Manage cameras (Unity Camera + Cinemachine).
  • manage_gameobject — Performs CRUD operations on GameObjects.
  • manage_graphics — Manage rendering graphics: volumes, post-processing, light baking, rendering stats, pipeline settings, and URP renderer features.
  • manage_physics — Manage physics settings, collision matrix, materials, joints, queries, and validation.
  • manage_prefabs — Manages Unity Prefab assets. get_hierarchy returns bounded sibling-index depth-first pages: page_size defaults to 50 (1-500), max_depth defaults to 64 (0-128, root depth 0), and cursor continues the identical revision/options.
  • manage_scene — Performs CRUD operations on Unity scenes.
  • manage_ui — Manages Unity UI Toolkit elements (UXML, USS, UIDocument and supported PanelRenderer components).

physics   (8 tools)​

2D and 3D physics settings, queries and simulation

  • apply_physics_force — Apply forces, torque or explosions to rigidbodies.
  • diagnose_physics — Validate physics setup or inspect a pair of colliders and passive contacts.
  • manage_physics_joints — Add, configure or remove 2D/3D joints.
  • manage_physics_materials — Create, configure and assign physics materials.
  • manage_physics_settings — Inspect or change 2D/3D physics settings and layer collision rules.
  • manage_rigidbody — Inspect or configure a Rigidbody or Rigidbody2D.
  • query_physics — Run ray, shape and overlap queries in 2D or 3D. overlap/raycast_all use bounded native buffers: max_results is an integer 1-1000 (default 200). buffer_saturated means completeness is unknown, including exact capacity.
  • simulate_physics — Advance physics by a bounded number of explicit simulation steps.

prefabs   (5 tools)​

Prefab creation, contents, stages and overrides

  • capture_prefab — Render a prefab asset to PNG in an isolated preview scene, then clean up.
  • prefab_contents — Edit prefab contents, inspect whole-prefab or selected-component changes without saving with modify_contents preview_only and preview_scope, or preview and apply a guarded transform change.
  • prefab_create — Create a prefab asset from an existing GameObject.
  • prefab_overrides — List prefab overrides, trace a serialized property through variants, or apply or revert selected overrides.
  • prefab_stage — Open, save or close the Prefab Stage.

probuilder   (1 tool)​

ProBuilder 3D modeling – requires com.unity.probuilder package

  • manage_probuilder — Manage native ProBuilder meshes (3.x pb_Object or 4.x+ ProBuilderMesh).

profiling   (2 tools)​

Unity Profiler session control, counters, memory snapshots & Frame Debugger

  • manage_profiler — Unity Profiler session control, counter reads, memory snapshots, and Frame Debugger.
  • manage_project_auditor — Optional Unity Project Auditor integration. availability checks the loaded analysis API and its installed rule databases. start requests one Editor-session audit and returns audit_id; reuse that ID after an uncertain response. status obs…

scene   (5 tools)​

GameObject positioning, placement and scene diagnostics

  • gameobject_duplicate — Duplicate a GameObject with optional name, parent and position changes.
  • gameobject_placement — Preview or apply alignment and distribution of selected GameObjects.
  • gameobject_positioning — Move or orient a GameObject selected by target (or name). move_relative requires reference_object plus direction or offset; look_at requires look_at_target.
  • scene_reference_diagnostics — Inspect scene references within explicit work and result budgets.
  • scene_validate — Validate the scene, with optional explicit repair.

scripting_ext   (3 tools)​

ScriptableObject management

testing   (12 tools)​

Test runner, async test jobs & bounded Play Mode input simulation

  • cancel_test_job — Request cancellation of an owned native test job.
  • export_test_job — Export completed Unity test evidence as JSON or JUnit.
  • get_test_job — Polls an async Unity test job by job_id.
  • get_tests — Lists Unity tests without running them.
  • manage_input — Simulate bounded input in Unity Play Mode. status reports capabilities and held controls. ui_click dispatches pointer events directly to a uGUI target such as a button, using its scene instance ID or exact root hierarchy path, independen…
  • manage_play_scenario — Save/get/list/delete scenarios and suites; reports history and run/status/cancel Unity-owned jobs.
  • manage_scenario_recording — Record observed uGUI Button pointer clicks and scene changes during unpaused Editor Play Mode.
  • manage_script_quality — Observe optional pinned Unity/C# diagnostics without writing source. capabilities reports explicit Editor setup/consent. analyze and capture_baseline require options.paths (1..256 Assets/Packages .cs files) XOR options.change_set_id; inc…
  • manage_simulation_profiles — Capture named Time/Physics3D/Physics2D/Audio/Input configuration profiles, inspect per-domain applicability, diff/validate against current settings, explicitly apply, and conditionally restore confirmed changes. capabilities lists exact…
  • manage_verification — Run project verification with source-linked stage reports. profiles reads defaults and explicit project overrides without writing. set_profile requires profile_id, profile and expected_hash from profiles (missing for a new file). observe…
  • run_tests — Starts a Unity test run asynchronously and returns a job_id immediately.
  • view_test_results — Read one completed Unity test-result page (up to 100 failed/skipped details).

ui   (8 tools)​

UI Toolkit (UXML, USS, UIDocument, optional PanelRenderer) and Canvas-based uGUI editing and diagnostics

  • capture_ui_snapshot — Capture a bounded complete semantic scene UI snapshot for ugui or uitoolkit.
  • inspect_ugui_hit_order — Read ordered native uGUI hits for a scene RectTransform and current bottom-left screen pixel coordinates.
  • manage_ugui — Inspect and edit Canvas-based uGUI hierarchies, RectTransforms, layout, text and CanvasScaler settings.
  • ui_capture — Start, poll or cancel a bounded UI Toolkit render capture.
  • ui_document — Attach UI documents and configure Panel Settings.
  • ui_element — Change a visual element's text, classes, style or state.
  • ui_inspect — Inspect the visual tree or diagnose UI Toolkit layout and text.
  • ui_source — Create, read or edit UXML/USS assets, link stylesheets or preview source patches.

vfx   (5 tools)​

Visual effects – VFX Graph, shaders, procedural textures

  • inspect_open_shader_graph — Read nodeCount and edgeCount, including unsaved edits, from one already-open Shader Graph window matching a project-owned Assets/*.shadergraph path.
  • inspect_shader_graph — Read a saved Shader Graph file through the selected Unity Editor.
  • manage_shader — Manages shader source, graph structure and compiler diagnostics.
  • manage_texture — Procedural texture generation for Unity.
  • manage_vfx — Manage Unity VFX components (ParticleSystem, VisualEffect, LineRenderer, TrailRenderer).