Cocos MCP tool catalog¶
Generated from the Biome TOOL definitions. The CLI lists the same tools with cocos-mcp list.
| Tool and arguments | Category | Effect | Purpose | Core contract |
|---|---|---|---|---|
attach_animation_clip(object_path: string, path: string, make_default: bool = false) |
ANIMATION | RW_IDEM | Assign an imported clip to an existing Animation component. | — |
create_animation_clip(path: string, name: string = "") |
ANIMATION | RW | Create an editable native AnimationClip asset. | — |
get_animation(object_path: string, name: string) |
ANIMATION | RO | Read clip settings and the native playback state. | animation_system.get_animation |
list_animations(object_path: string) |
ANIMATION | RO | List native clips assigned to a node Animation component. | animation_system.list_animations |
play_animation(object_path: string, name: string, speed: float = 1.0) |
ANIMATION | RW | Play an attached clip in the Creator scene engine. | animation_system.play_animation |
set_animation_property(object_path: string, name: string, prop: string, value: any) |
ANIMATION | RW_IDEM | Save a clip speed, sample rate or wrap mode. | animation_system.set_animation_property |
stop_animation(object_path: string) |
ANIMATION | RW_IDEM | Stop playback on a node Animation component. | animation_system.stop_animation |
copy_asset(source: string, destination: string) |
ASSETS | RW | Copy a project asset via Creator Asset Database. | — |
create_asset_folder(path: string) |
ASSETS | RW_IDEM | Create a directory in Creator Asset Database. | — |
delete_asset(path: string) |
ASSETS | DEL | Delete an individual asset through Creator Asset Database. | — |
filter_assets_by_type(asset_type: string, path: string = "db://assets") |
ASSETS | RO | List project assets of an exact registered type under a folder. | — |
get_asset_dependencies(asset_url: string, kind: string = "all") |
ASSETS | RO | List direct dependency UUIDs indexed for a project asset. | — |
get_asset_info(asset_url: string) |
ASSETS | RO | Inspect a specific asset by URL or UUID. | asset_manager.get_asset_info |
get_asset_meta_summary(asset_url: string) |
ASSETS | RO | Summarize project asset import metadata and registered sub-assets. | — |
get_asset_users(asset_url: string, kind: string = "all") |
ASSETS | RO | List assets or scripts that directly use a project asset. | — |
list_assets(path: string = "db://assets", pattern: string = "") |
ASSETS | RO | Browse assets below a project Asset DB folder. | asset_manager.list_assets |
list_dir(path: string = "db://assets") |
ASSETS | RO | List direct children of an assets directory. | filesystem.list_dir |
move_asset(source: string, destination: string) |
ASSETS | RW | Move a project asset via Creator Asset Database. | — |
read_file(path: string) |
ASSETS | RO | Read a bounded UTF-8 text file under project assets. | filesystem.read_file |
refresh_assets(path: string = "db://assets") |
ASSETS | RW_IDEM | Refresh Creator Asset Database at a project directory or file. | — |
resolve_asset_url(asset_uuid: string) |
ASSETS | RO | Resolve a project asset UUID to its exact Asset Database URL. | — |
search_files(pattern: string, in_path: string = "db://assets") |
ASSETS | RO | Find project asset files by a filename glob. | filesystem.search_files |
write_file(path: string, content: string) |
ASSETS | RW_IDEM | Create or update a UTF-8 data file with Creator Asset Database. | filesystem.write_file |
execute_batch(commands: list) |
BATCH | RW | Run a validated batch of scene reads or atomic supported property edits. | batch_system.execute_batch |
apply_mcp_tool_preset(preset: string) |
EDITOR | RW_IDEM | Apply a project MCP tool preset and reset individual tool overrides. | editor_settings.apply_preset |
clear_selection() |
EDITOR | RW_IDEM | Clear node selection in Creator. | — |
describe_class(class_name: string) |
EDITOR | RO | Inspect the registered class name, ancestry and serialized properties. | editor_ops.describe_class |
describe_tool(tool_name: string) |
EDITOR | RO | Inspect the exact arguments, defaults, category and effect of a Cocos tool. | — |
enter_play_mode() |
EDITOR | RW_IDEM | Start the Creator Game View preview. | play_mode.enter |
exit_play_mode() |
EDITOR | RW_IDEM | Stop the Creator Game View preview. | play_mode.exit |
focus_node(node_uuid: string) |
EDITOR | RW_IDEM | Frame a scene node in the Creator viewport. | — |
get_capabilities() |
EDITOR | RO | List Cocos tools, native contract mappings and batch support by category. | — |
get_compile_errors() |
EDITOR | RO | Read errors reported by the latest Creator script compilation. | compile_system.get_errors |
get_console_logs(count: int = 50, level: string = "all") |
EDITOR | RO | Read recent entries from the Creator console. | console_log.get_logs |
get_console_logs_since(mark_id: string) |
EDITOR | RO | Read Creator console entries newer than a mark. | console_log.get_since |
get_editor_status() |
EDITOR | RO | Check the connection and active Creator build. | — |
get_mcp_catalog_categories() |
EDITOR | RO | List Creator MCP tools grouped by category. | editor_settings.get_catalog_categories |
get_mcp_port() |
EDITOR | RO | Read the configured and active project MCP bridge ports. | editor_settings.get_port |
get_mcp_security_level() |
EDITOR | RO | Read the project MCP tool access level. | editor_settings.get_security_level |
get_mcp_tool_names() |
EDITOR | RO | List Creator MCP tool names. | editor_settings.get_tool_names |
get_play_state() |
EDITOR | RO | Read the actual stopped, playing, or paused Game View state. | play_mode.get_state |
get_project_setting(key: string) |
EDITOR | RO | Read a Creator project setting. | project_settings.get_setting |
get_selection() |
EDITOR | RO | Return UUIDs currently selected in the Creator hierarchy. | editor_ops.get_selection |
is_compiling() |
EDITOR | RO | Determine whether Creator is compiling project scripts. | compile_system.is_compiling |
is_mcp_tool_enabled(tool_name: string) |
EDITOR | RO | Read effective access for a Creator MCP tool. | editor_settings.is_tool_enabled |
is_playing() |
EDITOR | RO | Check whether Creator Game View preview is running or paused. | play_mode.is_playing |
list_editor_classes(base_class: string = "cc.Component", pattern: string = "") |
EDITOR | RO | List registered Cocos classes by base class. | — |
list_project_settings() |
EDITOR | RO | List supported Creator project settings and their types. | — |
mark_console() |
EDITOR | RO | Mark the latest Creator console entry for later comparison. | console_log.mark |
pause_play_mode(paused: bool = true) |
EDITOR | RW_IDEM | Pause or resume the active Creator Game View preview. | — |
redo() |
EDITOR | RW | Redo one edit in the active Creator scene. | — |
screenshot() |
EDITOR | RO | Capture PNG image data of the Creator scene viewport. | viewport_capture.screenshot |
screenshot_game() |
EDITOR | RO | Capture PNG image data of the Creator Game View viewport. | viewport_capture.screenshot_game |
select_node(path: string) |
EDITOR | RW_IDEM | Select a scene node by UUID or exact hierarchy path. | editor_ops.select_node |
set_mcp_port(port: int) |
EDITOR | RW_IDEM | Persist the port for the next Creator bridge restart. | editor_settings.set_port |
set_mcp_security_level(level: string) |
EDITOR | RW_IDEM | Set the project MCP tool access level. | editor_settings.set_security_level |
set_mcp_tool_enabled(tool_name: string, enabled: bool) |
EDITOR | RW_IDEM | Set a project MCP tool enable override. | editor_settings.set_tool_enabled |
set_project_setting(key: string, value: any) |
EDITOR | RW_IDEM | Change a Creator project setting. | project_settings.set_setting |
sync_compilation(timeout: float = 15.0) |
EDITOR | RW | Refresh project assets and wait for Creator script compilation to settle. | compile_system.sync |
undo() |
EDITOR | RW | Undo one edit in the active Creator scene. | editor_ops.undo |
assign_material(object_path: string, material_path: string, slot: int = 0) |
MATERIALS | RW_IDEM | Assign an asset to an existing renderer slot. | material_system.assign_material |
create_material(path: string, shader: string = "builtin-standard") |
MATERIALS | RW | Create a native Material asset with a built-in or project effect. | material_system.create_material |
get_material(path: string = "", object_path: string = "", slot: int = 0) |
MATERIALS | RO | Read a Material asset or the Material assigned to a renderer slot. | material_system.get_material |
list_material_properties(path: string) |
MATERIALS | RO | List editable properties exposed by the Material effect. | material_system.list_material_properties |
set_material_property(path: string, prop: string, value: any) |
MATERIALS | RW_IDEM | Save an effect property override to a native Material asset. | material_system.set_material_property |
get_node_property(node_uuid: string, property: string) |
PROPERTIES | RO | Read a Creator Inspector property of an active-scene node. | — |
set_node_property(node_uuid: string, property: string, value: any) |
PROPERTIES | RW_IDEM | Set a supported Creator Inspector property with undo recording. | property_system.set_property |
add_component(node_uuid: string, component_type: string) |
SCENE | RW | Add a registered component through the Creator scene editor. | — |
call_method(node_uuid: string, method: string, target_uuid: string = "") |
SCENE | RO | Run the allowlisted read-only Cocos node methods getSiblingIndex or isChildOf. | node_ops.call_method |
capture_scene_snapshot() |
SCENE | RO | Capture node hierarchy, local transforms, activation, layer and component identities for later comparison. | — |
create_node(name: string, parent_uuid: string = "") |
SCENE | RW | Add an empty node to the active scene. | scene_graph.create_node |
create_primitive_3d(name: string, primitive: string = "box", parent_uuid: string = "", size: any = null, color: any = null) |
SCENE | RW | Create a Cocos 3D primitive with a persistent mesh and material. Requested dimensions are applied as local scale. | — |
delete_node(node_uuid: string) |
SCENE | DEL | Remove a node from the active scene. | scene_graph.delete_node |
describe_node(node_uuid: string) |
SCENE | RO | Describe a node’s hierarchy, activation, transforms, layer and component identities. | node_ops.describe |
diff_scene_snapshot(snapshot: dict) |
SCENE | RO | Compare a captured snapshot with the active scene and report added, removed and changed nodes. | — |
duplicate_node(node_uuid: string) |
SCENE | RW | Duplicate a node and its subtree with Creator undo support. | node_ops.duplicate |
find_nodes(pattern: string) |
SCENE | RO | Find nodes by a glob matching their names. | scene_graph.find_nodes |
find_nodes_with_component(component_type: string) |
SCENE | RO | Find active-scene nodes containing a registered component type. | — |
get_camera_3d(node_uuid: string) |
SCENE | RO | Inspect a node's Cocos Camera component and render target dimensions. | — |
get_component(node_uuid: string, component_uuid: string) |
SCENE | RO | Inspect the Creator Inspector properties of a component. | — |
get_light_3d(node_uuid: string) |
SCENE | RO | Inspect a node's Cocos light component, including native intensity and applicable range or spot angle. | — |
get_mesh_bounds_3d(node_uuid: string) |
SCENE | RO | Return mesh asset bounds in local space and the transformed scene-space axis-aligned bounds. | — |
get_node_ancestors(node_uuid: string) |
SCENE | RO | List a node’s ancestors from its parent to the scene root. | — |
get_node_children(node_uuid: string, page_size: int = 200, cursor: string = "") |
SCENE | RO | List direct children of an active-scene node in hierarchy order. | — |
get_node_descendants(node_uuid: string, depth: int = 8) |
SCENE | RO | List descendants in hierarchy order up to a depth limit. | — |
get_node_path(node_uuid: string) |
SCENE | RO | Return the scene-relative path of a node, percent-escaping names and marking duplicate siblings. | — |
get_node_properties(node_uuid: string) |
SCENE | RO | Inspect local transforms and components of a node. | property_system.get_properties |
get_scene_fingerprint() |
SCENE | RO | Hash node hierarchy, local transforms, activation, layer and component identities. | — |
get_scene_statistics() |
SCENE | RO | Count scene nodes, inactive nodes, hierarchy depth and component types. | — |
get_scene_tree(depth: int = 3, format: string = "json", root_id: string = "", max_nodes: int = 1000, include_ids: bool = false) |
SCENE | RO | Inspect the active scene hierarchy. | scene_graph.get_tree |
instance_scene(asset_url: string, parent_uuid: string = "") |
SCENE | RW | Instantiate a project prefab into the active scene through Creator. | scene_graph.instance_scene |
list_components(node_uuid: string) |
SCENE | RO | List components on a node. | — |
open_scene(asset_url: string) |
SCENE | RW | Open a scene when the active scene has no unsaved changes. | scene_graph.open_scene |
pick_scene_3d(camera_uuid: string, x: float, y: float) |
SCENE | RO | Raycast rendered mesh triangles using bottom-left-origin render target pixels and return the nearest visible mesh hit. | — |
project_world_to_screen_3d(camera_uuid: string, point: list) |
SCENE | RO | Project a world-space point into bottom-left-origin render target pixels using a scene camera. | — |
remove_component(node_uuid: string, component_uuid: string) |
SCENE | DEL | Remove a component through the Creator scene editor. | — |
rename_node(node_uuid: string, name: string) |
SCENE | RW_IDEM | Change a node name in the active scene. | node_ops.rename |
reparent_node(node_uuid: string, parent_uuid: string = "", keep_world_transform: bool = true) |
SCENE | RW_IDEM | Move a node to another parent through Creator’s hierarchy editor. | node_ops.reparent |
resolve_node_path(path: string) |
SCENE | RO | Resolve an absolute scene-relative path to a node UUID. | — |
save_scene() |
SCENE | RW | Persist the active scene through Creator. | scene_graph.save_scene |
set_camera_3d(node_uuid: string, settings: dict) |
SCENE | RW_IDEM | Update Cocos Camera settings in one Creator undo recording. | — |
set_component_enabled(node_uuid: string, component_uuid: string, enabled: bool) |
SCENE | RW_IDEM | Enable or disable a component. | — |
set_component_property(node_uuid: string, component_uuid: string, prop: string, value: any) |
SCENE | RW_IDEM | Edit a serializable Inspector property of a component. | — |
set_light_3d(node_uuid: string, settings: dict) |
SCENE | RW_IDEM | Update a Cocos light component in one Creator undo recording. | — |
set_node_active(node_uuid: string, active: bool) |
SCENE | RW_IDEM | Set the node’s own activation flag with Creator undo support. | — |
connect_signal(source: string, signal: string, target: string, method: string) |
SIGNALS | RW_IDEM | Add a persistent UI EventHandler pointing to an existing component callback. | signal_system.connect_signal |
disconnect_signal(source: string, signal: string, target: string, method: string) |
SIGNALS | RW_IDEM | Remove the matching persistent UI EventHandler. | signal_system.disconnect_signal |
get_connections(node_path: string, signal: string) |
SIGNALS | RO | Read persisted UI EventHandlers for a specific event. | signal_system.get_connections |
list_signals(node_path: string) |
SIGNALS | RO | List serialized UI events exposed by components on the node. | signal_system.list_signals |
get_test_run(run_id: string) |
TESTING | RO | Get a scene-contract test result retained in this extension session. | testing_system.get_test_run |
list_scene_test_runs() |
TESTING | RO | List summaries for the most recent twenty scene-contract test runs in this extension session. | — |
run_tests(contract: dict, filter: string = "", mode: string = "editor") |
TESTING | RW | Run named assertions against the active Editor scene and retain the result for this extension session. | testing_system.run_tests |
add_track(object_path: string, track_type: string, target: string) |
TIMELINE | RW | Add a native real or three-channel vector track to the default AnimationClip. | timeline_system.add_track |
get_keyframes(object_path: string, track: string) |
TIMELINE | RO | Read keyframe times and values from a native clip track. | timeline_system.get_keyframes |
list_tracks(object_path: string) |
TIMELINE | RO | List tracks in the default editable AnimationClip. | timeline_system.list_tracks |
play_timeline(object_path: string, from_time: float = 0.0) |
TIMELINE | RW | Play the default clip from a specified time. | timeline_system.play_timeline |
remove_track(object_path: string, track: string) |
TIMELINE | DEL | Remove a track from the default AnimationClip. | timeline_system.remove_track |
set_keyframe(object_path: string, track: string, time: float, value: any) |
TIMELINE | RW_IDEM | Insert or replace a keyframe on a native clip track. | timeline_system.set_keyframe |
stop_timeline(object_path: string) |
TIMELINE | RW_IDEM | Stop playback of the default clip. | timeline_system.stop_timeline |
get_local_transform(node_uuid: string) |
TRANSFORM | RO | Return node-local position, Euler angles in degrees and scale. | — |
get_spatial_context(node_uuid: string, radius: float = 10.0) |
TRANSFORM | RO | Return local and world transforms and siblings within a world-space radius. | transform_system.get_spatial_context |
get_world_transform(node_uuid: string) |
TRANSFORM | RO | Return world position, quaternion rotation and scale from Cocos. | — |
reset_node_transform(node_uuid: string) |
TRANSFORM | RW_IDEM | Restore local position and rotation to zero and scale to one. | — |
set_transform(node_uuid: string, transform: dict) |
TRANSFORM | RW_IDEM | Update the specified local transform fields in one Creator undo recording. | transform_system.set_transform |
transform_point_to_local(node_uuid: string, point: list) |
TRANSFORM | RO | Convert a world-space point into a node’s local coordinate system. | — |
transform_point_to_world(node_uuid: string, point: list) |
TRANSFORM | RO | Convert a node-local point into world coordinates. | — |
scan_scene() |
VERIFY | RO | Audit an active scene for broken asset references, missing scripts and hierarchy naming issues. | verify_system.scan_scene |
validate_references() |
VERIFY | RO | Check project asset references in the active scene and count missing references as errors. | verify_system.validate_references |
verify_after_change() |
VERIFY | RO | Check active-scene asset references and Creator’s latest observed compilation status. | verify_system.verify_after_change |
verify_node_component(node_uuid: string, component_type: string) |
VERIFY | RO | Check whether a node has a component of the requested registered type. | — |
verify_node_exists(node_uuid: string) |
VERIFY | RO | Check whether a UUID identifies a node in the active scene. | — |
verify_node_transform(node_uuid: string, field: string, expected: list, tolerance: float = 0.001) |
VERIFY | RO | Compare a local node transform field against an expected XYZ vector. | — |
verify_scene_contract(contract: dict) |
VERIFY | RO | Evaluate named node assertions against the active scene. | — |
get_particle_system(object_path: string) |
VFX | RO | Inspect a native 2D or 3D particle component. | vfx_system.get_particle_system |
play_particles(object_path: string) |
VFX | RW | Start native particle simulation in the Creator scene. | vfx_system.play_particles |
set_particle_property(object_path: string, prop: string, value: any) |
VFX | RW_IDEM | Edit a serializable particle component property. | vfx_system.set_particle_property |
stop_particles(object_path: string) |
VFX | RW_IDEM | Stop native particle emission or simulation. | vfx_system.stop_particles |