Resource 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.
Resources are read-only state surfaces exposed to MCP clients. Tools mutate; resources observe.
cameras
URI: mcpforunity://scene/cameras
Read the current scene camera inventory. Count the unityCameras and cinemachineCameras entries and read their names. Includes brain state, Cinemachine priorities, pipeline components, follow/lookAt targets and Unity Camera info.
connection_doctor
URI: mcpforunity://doctor
Read current bounded connection/native-read/source evidence for this MCP request. Does not attest another client application's connection or change configuration.
custom_tools
URI: mcpforunity://custom-tools
Lists custom tools available for the active Unity project.
URI: mcpforunity://custom-tools
editor_active_tool
URI: mcpforunity://editor/active-tool
Currently active editor tool (Move, Rotate, Scale, etc.) and transform handle settings.
URI: mcpforunity://editor/active-tool
editor_prefab_stage
URI: mcpforunity://editor/prefab-stage
Current prefab editing context if a prefab is open in isolation mode. Returns isOpen=false if no prefab is being edited.
URI: mcpforunity://editor/prefab-stage
editor_selection
URI: mcpforunity://editor/selection
Detailed information about currently selected objects in the editor, including GameObjects, assets, and their properties.
URI: mcpforunity://editor/selection
editor_selection_page
URI: mcpforunity://editor/selection/page{?page_size,cursor,fields}
Bounded Editor selection with active metadata and object/GameObject/asset GUID counts. page_size defaults to 50 (1-500). fields selects objects (default), gameObjects, assetGUIDs, all, or none for active metadata/counts only. Each requested collection returns at most page_size entries; names are capped at 256 UTF-16 code units. Only page entries require object descriptions; Unity still allocates selection arrays. Follow nextCursor using identical fields/page_size within 30 seconds. Selection changes, reload, expiry or cursor eviction require restarting. The legacy mcpforunity://editor/selection URI remains available.
Parameters:
page_size(int, optional)cursor(str | None, optional)fields(Literal['objects', 'gameObjects', 'assetGUIDs', 'all', 'none'], optional)
editor_state
URI: mcpforunity://editor/state
Read current Play Mode, active scene, compilation and Editor readiness. Includes advice, server-computed staleness, and native_coordination from native admission. recovery_required blocks readiness even when compilation is idle; follow its recovery action instead of polling blindly. Also includes assets.external_changes_scan_complete/limited coverage. scan_in_progress distinguishes a routine recheck from verified coverage. Pending, limited or unknown local coverage is reported in advice.warnings without blocking native readiness; test admission requires verified local coverage. Only active scans suggest waiting; limited or unknown scans require inspection. ready_for_tools does not certify that all external changes were scanned or imported. Unknown remote coverage remains null.
URI: mcpforunity://editor/state
editor_windows
URI: mcpforunity://editor/windows
All currently open editor windows with their titles, types, positions, and focus state.
URI: mcpforunity://editor/windows
effective_server_configuration
URI: mcpforunity://doctor/config
Read this server process's redacted effective settings and captured origins without contacting Unity. Does not describe local CLI or another server configuration.
game_view_size
URI: mcpforunity://editor/game-view-size
Read render_size in pixels, the selected preset and available presets from an open Game View. Equivalent read-only tool: get_game_view_size (manage_editor.get_game_view_size).
gameobject
URI: mcpforunity://scene/gameobject/{instance_id}
Get bounded GameObject metadata by instance ID: scalar transforms, parent, first 50 child IDs and up to 64 component type names. Follow childrenNextCursor via /children?page_size=50&cursor=... . Children use live sibling indices; restart after any hierarchy edit.
URI: mcpforunity://scene/gameobject/{instance_id}
Parameters:
instance_id(str, required)
gameobject_api
URI: mcpforunity://scene/gameobject-api
Documentation for GameObject resources. Use find_gameobjects tool to get instance IDs, then access resources below.
URI: mcpforunity://scene/gameobject-api
gameobject_by_handle
URI: mcpforunity://scene/gameobject-by-handle/{handle}
Read the original loaded GameObject and bounded metadata from a v2 session handle. Handles expire on scene reopen, domain reload, Play transitions, Undo/Redo, fixed 600-second lifetime or earlier eviction. Never loads scenes/assets; respects the original GameObject resource policy. Requires v2 Editor support.
Parameters:
handle(str, required)
gameobject_children
URI: mcpforunity://scene/gameobject/{instance_id}/children{?page_size,cursor}
Read bounded direct child IDs in sibling order plus object metadata. page_size defaults to 50 (1-500). Reuse childrenNextCursor with identical target/page_size within 30 seconds. Stable sources page exactly; live-index cursors perform bounded observed-change checks, so restart after any hierarchy edit. Cursors expire on reload or eviction.
Parameters:
instance_id(str, required) — Scene GameObject instance ID returned by find_gameobjects.page_size(int, optional) — Direct child IDs per page, from 1 to 500; default 50.cursor(str | None, optional) — Opaque childrenNextCursor from the preceding page; omit to start. Keep the same target and page_size.
gameobject_component
URI: mcpforunity://scene/gameobject/{instance_id}/component/{component_name}{?component_index,component_instance_id,strict_selection,evaluate_getters}
Get a component on a GameObject. The bare URI preserves legacy case-insensitive first-match reads. Optional component_index or component_instance_id selects one live component; strict_selection=true requires uniqueness. Selected reads use the same canonical, case-sensitive component type as manage_components. Indices are zero-based within GetComponents(requested type), not the mixed component list. Prefer the component instanceID from /components; IDs and indices are ephemeral. Unsupported Editors fail without falling back. Default inspection reads fields and safe native properties. evaluate_getters=true explicitly runs user getters and serialization hooks, which can block the Editor.
Parameters:
instance_id(str, required)component_name(str, required)component_index(str | None, optional)component_instance_id(str | None, optional)strict_selection(str | bool, optional)evaluate_getters(str | bool, optional)
gameobject_components
URI: mcpforunity://scene/gameobject/{instance_id}/components{?page_size,cursor,include_properties,evaluate_getters}
Get components on a GameObject. Optional URI query parameters: page_size (default 25), cursor (default 0), include_properties (default true), and evaluate_getters (default false). Default reads use fields and safe native properties. Explicit getter evaluation can run user code and block the Editor.
URI: mcpforunity://scene/gameobject/{instance_id}/components{?page_size,cursor,include_properties,evaluate_getters}
Parameters:
instance_id(str, required)page_size(int, optional)cursor(int, optional)include_properties(bool, optional)evaluate_getters(str | bool, optional)
get_tests
URI: mcpforunity://tests
Provides the first page of Unity tests (default 50 items). For mode filtering, read mcpforunity://tests/{mode}. Use the get_tests tool for name filtering and further pages.
URI: mcpforunity://tests
get_tests_for_mode
URI: mcpforunity://tests/{mode}
Provides the first page of tests for a specific mode (EditMode or PlayMode). Use the get_tests tool for name filtering and further pages.
URI: mcpforunity://tests/{mode}
Parameters:
mode(Literal['EditMode', 'PlayMode'], required) — The mode to filter tests by (EditMode or PlayMode).
menu_items
URI: mcpforunity://menu-items
Lists managed MenuItem attribute declarations; this is not a complete native menu inventory or availability report.
URI: mcpforunity://menu-items
named_tool_diagnostics
URI: mcpforunity://tool-diagnostics/{tool_name}
Read bounded diagnostics for one tool. A native_disabled result identifies an Editor Tools toggle. The operator can review it in the MCP for Unity window. Refresh tools/list after a settings change.
Parameters:
tool_name(str, required)
prefab_api
URI: mcpforunity://prefab-api
Documentation for Prefab resources. Use asset_inspect action=search filter_type=Prefab to find prefabs, then access resources below.
URI: mcpforunity://prefab-api
prefab_hierarchy
URI: mcpforunity://prefab/{encoded_path}/hierarchy{?page_size,cursor,max_depth}
Get one bounded prefab hierarchy page with components and nesting information. page_size defaults to 50 (1-500); max_depth defaults to 64 (0-128), root=0. Follow next_cursor with identical path/page_size/max_depth within 30 seconds. total may be null; inspect truncated and depth_limited. Cursors expire on source changes, reload or eviction.
URI: mcpforunity://prefab/{encoded_path}/hierarchy{?page_size,cursor,max_depth}
Parameters:
encoded_path(str, required)page_size(int, optional) — Objects per page, from 1 to 500; default 50.cursor(str | None, optional) — Opaque next_cursor; omit to start. Keep identical path/page_size/max_depth.max_depth(int, optional) — Inclusive depth scope, root=0; from 0 to 128, default 64.
prefab_info
URI: mcpforunity://prefab/{encoded_path}
Get detailed information about a prefab asset by URL-encoded path. Returns prefab type, root object name, component types, child count, and variant info.
URI: mcpforunity://prefab/{encoded_path}
Parameters:
encoded_path(str, required)
project_capabilities
URI: mcpforunity://capabilities
Current selected project's supported features, bounded limits, connection generation and recovery actions. Package presence and scene/runtime readiness are distinct. Unknown means unobserved; Player readiness requires existing bundle preflight. At admission capacity, connection and pending request counts reflect server transport records; native readiness and features stay unknown. Counts are not Unity's queue. One read budget includes resource selection; separately bounded transport cancellation grace is reported in limits. No completed query cache (TTL 0). URI: mcpforunity://capabilities
project_info
URI: mcpforunity://project/info
Static project information including root path, Unity version, and platform. The complete installed package inventory is available at mcpforunity://project/packages.
project_layers
URI: mcpforunity://project/layers
List the name and number of every named layer in the project. The result maps layer indices (0-31) to names and omits unused slots.
project_package_info
URI: mcpforunity://project/packages/{package_name}
Read an installed package by its UPM name. Returns the registered version, display name, description, author, source and registry name and URL when available. Reads local Editor metadata without contacting the registry.
Parameters:
package_name(str, required)
project_packages
URI: mcpforunity://project/packages
List the IDs and installed versions of every package currently registered in the selected Unity Editor, including indirect dependencies and built-in packages. Read mcpforunity://project/packages/{package_name} for one package's registered metadata.
project_tags
URI: mcpforunity://project/tags
List the names of all tags currently defined in the project.
renderer_features
URI: mcpforunity://pipeline/renderer-features
Lists all URP renderer features on the active renderer with type, name, and active state.
rendering_stats
URI: mcpforunity://rendering/stats
Snapshot of rendering counters (draw calls, batches, triangles, texture counts and bytes, etc.).
runtime_doctor
URI: mcpforunity://doctor/runtime
Read resolved/reviewed SDK versions and optional adapter state without contacting Unity or changing configuration.
scoped_project_capabilities
URI: mcpforunity://capabilities/scoped{?features,sources}
Optional comma-separated feature/source selection; always reads current Editor state. Unrequested observations are unknown with reason not_requested; partial refers to the full view. Default full resource and doctor are unchanged. No completed-query cache. URI: mcpforunity://capabilities/scoped{?features,sources}
Parameters:
features(str | None, optional)sources(str | None, optional)
shader_graph_structure
URI: mcpforunity://shader/graph/{encoded_path}{?page_size,page_number}
Read node and edge counts and paged structure from the saved Shader Graph file through the selected Editor. Unsaved graph-window edits and property values are unavailable. URL-encode the full Assets/*.shadergraph path as one segment. Pages start at 1 and page_size accepts 1-100 (default 50). Equivalent read-only tool: inspect_shader_graph (manage_shader.inspect_graph).
Parameters:
encoded_path(str, required)page_size(str | None, optional)page_number(str | None, optional)
tool_diagnostics
URI: mcpforunity://tool-diagnostics
Bounded current discovery and registration diagnostics; unknown when unobserved.
tool_groups
URI: mcpforunity://tool-groups
Available tool groups and their tools. Use manage_tools to activate/deactivate groups per session.
URI: mcpforunity://tool-groups
unity_instances
URI: mcpforunity://instances
Lists all running Unity Editor instances with their details.
URI: mcpforunity://instances
volumes
URI: mcpforunity://scene/volumes
Lists all Volume components in the active scene with their profiles, effects, and settings.