anklebreaker-unity-mcp

v2.36.0
anklebreaker-unity-mcp Checked 5 days ago Published 2 months ago

Unity MCP Server — Multi-agent MCP server for Unity Editor, designed for Claude Cowork.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

unity_list_instances

List running Unity Editor instances (name, port, version, clone flag, pluginVersion). With multiple instances, select one with unity_select_instance next.

ParameterTypeDescription
refreshbooleanAccepted for compatibility. Discovery always performs a fresh registry read + port scan.

unity_select_instance

Select the Unity Editor instance this session targets; subsequent unity_* calls route there. Identify it by projectName (stable) or port (dynamic — can change across editor restarts). PARALLEL SAFETY: after selecting, include port on every unity_* call when multiple agents share this MCP process.

ParameterTypeDescription
portnumberPort of the instance to select (from unity_list_instances).
projectNamestringProject name to select (stable across restarts, unlike ports).

unity_hub_list_editors

List all Unity Editor versions currently installed via Unity Hub, including their installation paths.

unity_hub_available_releases

List Unity Editor versions available for download from Unity Hub.

unity_hub_install_editor

Install a specific Unity Editor version. Optionally include platform modules (android, ios, webgl, linux, macos, windows-il2cpp).

ParameterTypeDescription
version *stringUnity version to install (e.g. '2022.3.20f1', '6000.3.7f1')
modulesarrayOptional modules to install: android, android-sdk-ndk-tools, android-open-jdk, ios, webgl, linux-il2cpp, mac-il2cpp, windows-il2cpp, etc.

unity_hub_install_modules

Install additional platform modules to an already-installed Unity Editor version.

ParameterTypeDescription
modules *arrayModules to add: android, ios, webgl, etc.
version *stringTarget Unity version

unity_hub_get_install_path

Get the current default installation path for Unity Editors.

unity_hub_set_install_path

Set the default installation directory for Unity Editors.

ParameterTypeDescription
path *stringNew installation directory path

unity_editor_ping

Check if the Unity Editor bridge is running and responsive. Returns editor version, project name, and connection status.

ParameterTypeDescription
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_editor_state

Get the current Unity Editor state: play mode, compilation status, active scene, project path.

ParameterTypeDescription
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_scene_info

Get information about the currently open scene(s), including name, path, dirty state, and root game objects.

ParameterTypeDescription
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_scene_open

Open a scene by its asset path (relative to Assets/). Refuses if any loaded scene has unsaved changes — pass saveFirst or discardUnsavedChanges.

ParameterTypeDescription
path *stringScene asset path, e.g. 'Assets/Scenes/MainScene.unity'
discardUnsavedChangesbooleanProceed and LOSE unsaved changes.
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
saveFirstbooleanSave all modified scenes before switching.

unity_scene_save

Save the current scene. A never-saved scene requires `path`, else Unity opens its interactive Save dialog.

ParameterTypeDescription
overwritebooleanReplace another existing scene at path (default false)
pathstringSave-As asset path, e.g. 'Assets/Scenes/MyScene.unity'.
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_scene_new

Create a new empty scene (REPLACES the current one). Refuses if any loaded scene has unsaved changes — pass saveFirst or discardUnsavedChanges.

ParameterTypeDescription
discardUnsavedChangesbooleanProceed and LOSE unsaved changes.
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
saveFirstbooleanSave all modified scenes first.

unity_scene_hierarchy

Get the hierarchy tree of all GameObjects in the active scene, including their components and children. Dense by default: per-node fields at their default value (active=true, tag=Untagged, layer=Default, origin position, Transform) are omitted — an absent field means the default.

ParameterTypeDescription
maxDepthnumberMaximum depth to traverse (default: 10)
maxNodesnumberMaximum total nodes to return (default: 5000). Use lower values for very large scenes to avoid timeouts.
parentPathstringOnly return hierarchy under this GameObject path (e.g. 'Canvas/Panel'). Useful for exploring specific subtrees in large scenes.
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
verbosebooleanEmit every per-node field even at default values (the pre-2.37 shape).

unity_gameobject_create

Create a new GameObject in the scene. Can specify primitive type (Cube, Sphere, Capsule, Cylinder, Plane, Quad), parent, and initial transform.

ParameterTypeDescription
name *stringName for the new GameObject
parentstringPath or name of parent GameObject (optional)
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
positionobject
primitiveTypestringOptional primitive: Cube, Sphere, Capsule, Cylinder, Plane, Quad, Empty
rotationobject
scaleobject

unity_gameobject_delete

Delete a GameObject by path or name. Refuses if its runtime mesh is shared by other objects (ProBuilder clones) — reports sharedWith; pass force:true to override.

ParameterTypeDescription
forcebooleanDelete even when the runtime mesh is shared by other objects (ProBuilder clones). Default false.
instanceIdstringInstance ID (alternative to path)
pathstringHierarchy path or name of the GameObject to delete
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_gameobject_info

Get detailed info about a specific GameObject: transform, components, children, active state, tags, layer.

ParameterTypeDescription
instanceIdstringInstance ID (alternative to path)
pathstringHierarchy path or name
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_gameobject_set_transform

Set the transform (position, rotation, scale) of a GameObject.

ParameterTypeDescription
instanceIdstringInstance ID (alternative)
localbooleanIf true, set local transform instead of world (default: false)
pathstringHierarchy path or name
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
positionobject
rotationobject
scaleobject

unity_component_add

Add a component to a GameObject. Supports built-in types (Rigidbody, BoxCollider, AudioSource, Light, Camera, etc.) and custom scripts.

ParameterTypeDescription
componentType *stringFull type name, e.g. 'Rigidbody', 'BoxCollider', 'MyNamespace.MyScript'
gameObjectPath *stringPath or name of the target GameObject
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_component_remove

Remove a component from a GameObject.

ParameterTypeDescription
componentType *stringType name of the component to remove
gameObjectPath *stringPath or name of the target GameObject
indexnumberIndex if multiple components of same type (default: 0)
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_component_get_properties

Get all serialized properties of a component on a GameObject.

ParameterTypeDescription
componentType *stringComponent type name
gameObjectPath *stringPath or name of the target GameObject
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_component_set_property

Set a serialized component property: numbers, strings, bools, vectors, colors, enums or object references.

ParameterTypeDescription
componentType *stringComponent type name
gameObjectPath *stringPath or name of target GameObject
propertyName *stringName of the property to set
value *string | number | boolean | object | array | nullObjectReference: asset path, scene name, null, or {assetPath?,instanceId?,gameObject?,componentType?}. Enum: name, index (0-based), or {enumValue:int} for flags/raw values.
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_component_set_reference

Wire an object reference on a component property. Resolves by asset path, scene GameObject name, component type, or instance ID (richer than set_property for ObjectReference fields).

ParameterTypeDescription
propertyName *stringName of the ObjectReference property to set
assetPathstringAsset path to assign (e.g. 'Assets/Materials/MyMat.mat', 'Assets/Prefabs/Enemy.prefab')
clearbooleanSet to true to clear/null the reference
componentTypestringComponent type containing the property (optional — will auto-search all components)
instanceIdstringInstance ID of the target GameObject (alternative to path)
pathstringHierarchy path or name of the target GameObject
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
referenceComponentTypestringWhen referencing a scene object, get a specific component instead of the GameObject itself (e.g. 'Camera', 'AudioSource')
referenceGameObjectstringName or hierarchy path of a scene GameObject to assign
referenceInstanceIdstringInstance ID of the object to assign (64-bit-safe string)

unity_component_batch_wire

Wire multiple object references in one call (e.g. a manager to all its panels). Each entry: target GameObject, property, reference to assign.

ParameterTypeDescription
references *arrayArray of reference assignments to perform
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_component_get_referenceable

Discover what objects can be assigned to an ObjectReference property. Returns matching scene objects and project assets filtered by the expected type. Useful before wiring references to know what's available.

ParameterTypeDescription
propertyName *stringObjectReference property name to inspect
componentTypestringComponent type containing the property
instanceIdstringTarget GameObject instance ID
maxResultsnumberMaximum results to return (default: 50)
pathstringTarget GameObject path or name
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_asset_list

List assets in the project. Can filter by path, type, and search term.

ParameterTypeDescription
folderstringFolder path relative to Assets/ (default: 'Assets')
maxResultsnumberLimit 1-10000 (default 500). Returns totalCount and truncated.
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
recursivebooleanSearch recursively in subfolders (default: true)
searchstringSearch query string
typestringAsset type filter: Script, Scene, Prefab, Material, Texture, AudioClip, AnimationClip, Shader, Font, Mesh, Model

unity_asset_import

Import an external file into the Unity project as an asset.

ParameterTypeDescription
destinationPath *stringDestination path inside Assets/ folder
sourcePath *stringAbsolute path to the source file on disk
overwritebooleanReplace an existing asset at the destination (default false).
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_asset_delete

Delete an asset — to the OS trash by default (NOT undoable via unity_undo_last). Deleting a FOLDER is recursive and refuses without recursive:true.

ParameterTypeDescription
path *stringAsset path relative to project root (e.g. 'Assets/Scripts/MyScript.cs')
permanentbooleanHard-delete instead of OS trash. Default false.
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
recursivebooleanRequired to delete a FOLDER and its contents. Default false refuses, reporting the asset count.

unity_asset_create_prefab

Create a prefab from an existing GameObject in the scene.

ParameterTypeDescription
gameObjectPath *stringPath of the source GameObject in the hierarchy
savePath *stringWhere to save the prefab (e.g. 'Assets/Prefabs/MyPrefab.prefab')
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_asset_instantiate_prefab

Instantiate a prefab into the current scene.

ParameterTypeDescription
prefabPath *stringPath to the prefab asset (e.g. 'Assets/Prefabs/Enemy.prefab')
namestringName for the instantiated object
parentstringParent GameObject path (optional)
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
positionobject
rotationobject

unity_script_create

Create a new C# script file in the project with the given content.

ParameterTypeDescription
content *stringFull C# source code content
path *stringAsset path for the script (e.g. 'Assets/Scripts/PlayerController.cs')
classNamestringClass name (defaults to filename without extension)
overwritebooleanReplace an existing script (default false). Use unity_script_update to edit.
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_script_read

Read the contents of a C# script file from the project.

ParameterTypeDescription
path *stringAsset path of the script
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_script_update

Update the contents of an existing C# script file.

ParameterTypeDescription
content *stringNew full C# source code content
path *stringAsset path of the script
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_execute_code

Run C# in the Unity Editor with Unity API access. Return a small JSON result. If an error has executionCompleted=true, the code already ran; inspect its effects before retrying.

ParameterTypeDescription
code *stringC# code to execute. Must be a valid method body. Access UnityEngine and UnityEditor namespaces. Use 'return' to send data back.
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_material_create

Create a new material asset with a specified shader and properties.

ParameterTypeDescription
path *stringSave path (e.g. 'Assets/Materials/MyMat.mat')
colorobject
overwritebooleanReplace an existing material (default false).
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
propertiesobjectAdditional shader properties as key-value pairs
shaderstringShader name (e.g. 'Standard', 'Universal Render Pipeline/Lit')

unity_renderer_set_material

Assign a material to a GameObject's renderer.

ParameterTypeDescription
gameObjectPath *stringPath to the target GameObject
materialPath *stringPath to the material asset
materialIndexnumberMaterial slot index (default: 0)
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_build

Build the project for a target platform.

ParameterTypeDescription
outputPath *stringBuild output path
target *stringPlatform
developmentBuildbooleanDevelopment build (default: false)
managedCodeVariantstringUnity 6.6+, protocol 3. Default: Checked for Development, Release otherwise. This build only.
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
scenesarrayScene paths; default: enabled Build Settings scenes

unity_console_log

Get recent Unity console log messages (errors, warnings, info).

ParameterTypeDescription
countnumberNumber of recent messages to retrieve (default: 50)
includeStackTracestringTraces to keep: 'errors' (default, error-like entries only, trimmed), 'all', 'none'.
maxStackFramesnumberFrames kept per retained trace (default: 6)
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
typestringFilter: 'error', 'warning', 'info', or 'all' (default: 'all')

unity_console_clear

Clear the Unity console log.

ParameterTypeDescription
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_get_compilation_errors

Get C# compilation errors/warnings via CompilationPipeline — independent of the console buffer (survives console clear and log flooding). Prefer this over unity_console_log for compile issues.

ParameterTypeDescription
countnumberMax number of entries to retrieve (default: 50)
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
severitystringFilter: 'error', 'warning', or 'all' (default: 'all')

unity_play_mode

Control Unity Editor play mode: enter play, pause, or stop.

ParameterTypeDescription
action *stringPlay mode action
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_execute_menu_item

Execute a Unity Editor menu command by its path (e.g. 'File/Save', 'GameObject/3D Object/Cube', 'Window/General/Console').

ParameterTypeDescription
menuPath *stringFull menu path (e.g. 'Edit/Project Settings...')
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_project_info

Get project information: name, path, Unity version, render pipeline, packages, build settings.

ParameterTypeDescription
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_prefab_info

Get detailed prefab information: overrides, variant status, added/removed components. Works on both prefab assets and scene instances.

ParameterTypeDescription
assetPathstringAsset path of the prefab (e.g. 'Assets/Prefabs/Player.prefab')
instanceIdstringInstance ID of a prefab instance
pathstringHierarchy path of a prefab instance in the scene
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_set_object_reference

[LEGACY] Set an object reference on a component. Prefer unity_component_set_reference (richer resolution).

ParameterTypeDescription
propertyName *stringName of the ObjectReference property to set
componentTypestringComponent type name (optional - will search all components)
instanceIdstringInstance ID (alternative to path)
pathstringHierarchy path of the target GameObject
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
referenceGameObjectstringName/path of a GameObject in the scene (for scene references)
referencePathstringAsset path of the reference (for assets like prefabs, materials, textures)

unity_gameobject_duplicate

Duplicate a GameObject with all its children and components.

ParameterTypeDescription
instanceIdstringInstance ID (alternative to path)
newNamestringName for the duplicate (default: original name + ' (Copy)')
pathstringHierarchy path or name of the GameObject to duplicate
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_gameobject_set_active

Set a GameObject active or inactive.

ParameterTypeDescription
active *booleanWhether the GameObject should be active
instanceIdstringInstance ID (alternative to path)
pathstringHierarchy path or name of the GameObject
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_gameobject_reparent

Move a GameObject under a new parent in the hierarchy.

ParameterTypeDescription
instanceIdstringInstance ID (alternative to path)
newParentstringPath of the new parent (empty string for scene root)
pathstringHierarchy path or name of the GameObject to move
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
worldPositionStaysbooleanMaintain world position after reparenting (default: true)

unity_selection_get

Get the currently selected GameObjects in the Unity Editor.

ParameterTypeDescription
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_selection_set

Set the editor selection to specific GameObjects.

ParameterTypeDescription
instanceIdstringInstance ID of GameObject to select
pathstringSingle GameObject path to select
pathsarrayMultiple GameObject paths to select
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_selection_focus_scene_view

Control the Scene View camera: frame a GameObject, set pivot/rotation/zoom, toggle orthographic.

ParameterTypeDescription
instanceIdstringInstance ID of GameObject to frame
orthographicbooleanToggle orthographic/perspective
pathstringGameObject to frame in scene view
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
positionobjectScene view pivot position
rotationobjectScene view rotation (euler angles)
sizenumberScene view zoom (camera distance)

unity_selection_find_by_type

Find all GameObjects in the scene that have a specific component type.

ParameterTypeDescription
typeName *stringComponent type name (e.g. 'Rigidbody', 'Camera', 'MyScript')
limitintegerMax results (default 500); see truncated and totalFound.
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_search_by_component

Find all GameObjects in the scene that have a specific component type. Returns their paths and instance IDs.

ParameterTypeDescription
componentType *stringComponent type name (e.g. 'Rigidbody', 'Camera', 'AudioSource', 'MyScript')
includeInactivebooleanInclude inactive GameObjects (default: false)
limitnumberMaximum results to return (default: 500). Use lower values on large scenes.
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_search_by_tag

Find all GameObjects with a specific tag.

ParameterTypeDescription
tag *stringTag name (e.g. 'Player', 'Enemy', 'MainCamera')
limitnumberMaximum results to return (default: 500).
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_search_by_layer

Find all GameObjects on a specific layer.

ParameterTypeDescription
layer *stringLayer name or index (e.g. 'UI', 'Water', '5')
limitnumberMaximum results to return (default: 500).
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_search_by_name

Find all GameObjects whose name contains a pattern. Supports substring matching or regex.

ParameterTypeDescription
name *stringName pattern to search for
includeInactivebooleanInclude inactive GameObjects (default: false)
limitnumberMaximum results to return (default: 500).
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
regexbooleanUse regex matching instead of substring (default: false)

unity_search_assets

Search for assets in the project by name, type, and folder. Uses Unity's AssetDatabase search.

ParameterTypeDescription
folderstringFolder to search in (e.g. 'Assets/Prefabs')
maxResultsnumberMaximum results to return (default: 100)
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
querystringSearch query (asset name)
typestringAsset type filter (e.g. 'Material', 'Texture2D', 'Prefab', 'Scene', 'AnimationClip', 'ScriptableObject')

unity_search_missing_references

Find all missing/broken object references and missing scripts in the scene. Essential for cleanup and debugging.

ParameterTypeDescription
limitnumberMaximum results to return (default: 500).
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
scopestring'scene' (default) or 'assets'

unity_scene_stats

Get comprehensive scene statistics: total objects, vertices, triangles, lights, cameras, colliders, and top component types.

ParameterTypeDescription
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_undo

Undo the single most recent step on Unity's global undo stack (Ctrl+Z). To revert a specific MCP action, prefer unity_undo_last.

ParameterTypeDescription
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_undo_last

Revert the latest verified MCP Undo group, optionally by agentId. Newer MCP/native groups require force:true. Only Unity-registered changes are covered; this revert creates no Redo step. Use unity_undo for normal Undo/Redo. Reads and execute-code are not targets.

ParameterTypeDescription
agentIdstringOptional: revert this agent's most recent action instead of the global newest (see unity_undo_history for ids).
forcebooleanAlso revert newer actions stacked on top of the target (Unity's linear undo). Default false.
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_redo

Redo the last undone operation in Unity Editor.

ParameterTypeDescription
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_undo_history

Show which recorded MCP actions can still be reverted, with agent, target and current Unity Undo state.

ParameterTypeDescription
agentIdstringOptional: only show actions from this agent.
countnumberMax actions to return, newest first (default 20).
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_screenshot_game

Capture a screenshot of the Game View. The screenshot is saved on the next frame render.

ParameterTypeDescription
pathstringSave path (default: Assets/Screenshots/GameView_timestamp.png)
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
superSizenumberResolution multiplier (1 = normal, 2 = 2x, 4 = 4x)

unity_screenshot_scene

Capture a screenshot of the Scene View camera. Returns immediately with the saved file path.

ParameterTypeDescription
heightnumberHeight 1-8192 (default 1080).
pathstringSave path (default: Assets/Screenshots/SceneView_timestamp.png)
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
widthnumberWidth 1-8192 (default 1920), at most 33554432 pixels total.

unity_screenshot_editor_window

Capture an existing EditorWindow to PNG (Windows PrintWindow) without requesting keyboard focus. Hidden tabs require activateTab:true; ambiguous names return id: candidates. GPU/minimized windows can refuse capture. USE ONLY ON EXPLICIT USER REQUEST; never proactively or for your own inspection. On macOS/Linux report unsupported, do not retry; use Game/Scene captures there.

ParameterTypeDescription
window *stringFull type name, simple name, tab title, or id: selector from candidates.
activateTabbooleanTemporarily select an existing tab, then restore its predecessor (default false; newer plugins). Does not request keyboard focus.
maxDimensionnumberMax side (default 8192, clamped to GPU). Full window and crop each limited to 33554432 pixels.
pathstringSave path ending in .png (default: Assets/Screenshots/EditorWindow_<time>.png).
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_graphics_scene_capture

Render the Scene View camera to inline PNG. Whole-pixel sizes within device limits, at most 33554432 pixels.

ParameterTypeDescription
heightnumberImage height in pixels (default: 512)
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
widthnumberImage width in pixels (default: 512)

unity_graphics_game_capture

Render one camera to inline PNG, without Game View composition or overlay UI. Whole-pixel sizes within device limits, at most 33554432 pixels.

ParameterTypeDescription
cameraNamestringActive object's name/path; omitted: Camera.main. Missing explicit camera is an error.
heightnumberImage height in pixels (default: 512)
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
widthnumberImage width in pixels (default: 512)

unity_packages_list

List all installed Unity packages with their name, version, source, and status.

ParameterTypeDescription
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_packages_add

Add/install a Unity package by identifier (e.g. 'com.unity.cinemachine' or 'com.unity.cinemachine@3.0.0').

ParameterTypeDescription
identifier *stringPackage identifier, e.g. 'com.unity.cinemachine@3.0.0'
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_packages_remove

Remove/uninstall a Unity package by name.

ParameterTypeDescription
name *stringPackage name, e.g. 'com.unity.cinemachine'
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_packages_info

Get detailed info about an installed package including versions and dependencies.

ParameterTypeDescription
name *stringPackage name, e.g. 'com.unity.cinemachine'
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_queue_info

Queue depths, agents and results. Plugin metrics: http, httpCommands (admission), completedResults (cost/evictions), historyNotifications (backlog), historyPersistence (file limits/failures). Reset on reload. serverAgentState: Node agent/identity limits, leases, evictions. Accounted bytes are not heap usage.

ParameterTypeDescription
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_agents_list

List all active agent sessions connected to the AB Unity MCP bridge. Shows each agent's ID, connection time, last activity, current action, total actions count, queued/completed request counts, and average response time.

ParameterTypeDescription
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_agent_log

Get the action log for a specific agent, showing the last 100 actions with timestamps.

ParameterTypeDescription
agentId *stringThe agent ID to get logs for
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_list_advanced_tools

Discover advanced Unity tools (execute them via unity_advanced_tool) without loading full schemas: search=keywords → matching tools; category=name → its tools with parameter names; tool=name → that tool's full parameter schema; no args → all category names with counts (e.g. animation, terrain, shadergraph, probuilder, uma, physics, lighting, ui, …).

ParameterTypeDescription
categorystringCategory name → its tools with brief + parameter names.
includeSchemasbooleanWith category: full schemas for every tool (large — prefer tool= for one).
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.
searchstringKeywords, e.g. "terrain raise". Every word must match a tool's name, category, or description.
toolstringExact tool name → its full parameter schema.

unity_advanced_tool

Execute an advanced Unity tool by name (269 cached + plugin lazy-loaded; discover names via unity_list_advanced_tools search=/category=, parameters via tool=).

ParameterTypeDescription
tool *stringThe tool name to execute (e.g. "unity_animation_create_controller", "unity_shadergraph_create")
paramsobjectParameters to pass to the tool. Use unity_list_advanced_tools to see required parameters.
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.

unity_get_project_context

Get the project docs/guidelines the team prepared for AI agents (from Assets/MCP/Context/). No args = all context; pass a category for one document. Call early in a session.

ParameterTypeDescription
categorystringOptional: specific context category to fetch (e.g. 'ProjectGuidelines', 'Architecture', 'GameDesign', 'NetworkingGuidelines', 'NetworkingCSP', or any custom category). Omit to get all available contex…
portnumberUnity instance port (from unity_select_instance). Always include it when multiple instances run.