Skip to main content

core 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.