@playcanvas/editor-mcp-server
The PlayCanvas Editor MCP Server
Versions
0.6.0latest0.5.00.4.00.3.00.2.0+ show 3 moreshow less
0.1.00.0.20.0.1Tools 125
script_parse get_animation_events Get the stable-id event map for a GLB animation asset, including time and optional number/string payloads.
modify_animation_events Add, update, or remove GLB animation events as one undoable transaction. Times are normalized from 0 to 1. Event ids remain stable and generated ids are returned.
modify_scene_settings Rename the currently loaded scene. Load another scene first to rename it.
query_scene_settings Rename the currently loaded scene. Load another scene first to rename it.
rename_scene Rename the currently loaded scene. Load another scene first to rename it.
list_scenes get_scene load_scene create_scene duplicate_scene delete_scene vcs_status list_branches create_branch switch_branch list_checkpoints create_checkpoint restore_checkpoint hard_reset_checkpoint get_checkpoint close_branch open_branch delete_branch start_merge get_merge resolve_conflicts get_conflict_file apply_merge cancel_merge diff_checkpoints store_search store_get List valid Store licenses for project imports.
store_download List valid Store licenses for project imports.
list_store_licenses List valid Store licenses for project imports.
sketchfab_search Search downloadable Sketchfab models.
sketchfab_get Get a Sketchfab model by uid.
sketchfab_import Import a downloadable Sketchfab model into the current project.
my_assets_search Search assets owned by the current user.
my_assets_import Import an asset owned by the current user into the current project.
launch_start launch_stop list_engine_versions capture_runtime read_runtime_logs query_runtime_state inject_input get_anim_state_graph Get the complete structural data for an anim state graph asset, including layers, states, transitions, conditions, and parameters.
modify_anim_state_graph query_viewport_state Read the exact editor viewport camera and overlay state so it can be restored after visual inspection.
set_viewport_state Set the editor viewport camera transform, projection, grid, bones, icon size, and expanded state. This controls the editor view, not an entity's persisted enabled state.
query_viewport_visibility List entities hidden only in the editor viewport. This does not read or change persisted entity enabled values.
set_viewport_visibility Hide or show entities only in the editor viewport without changing their persisted enabled values.
capture_viewport focus_viewport focus_camera list_builds List publish and download builds for the designated project, including durable job status and artifacts.
get_build Get a publish or download build job by id from the designated project. buildId is the durable build JOB id from list_builds/create_build, not the app id.
create_build Create a published PlayCanvas build for scenes in the designated project. Returns { buildId, appId, status, url, name }: buildId is the durable build JOB id from list_builds/create_build (the id get_build/set_primary_build/delete_build take), appId is the published app id, and url is the playable app URL. Publishing continues in the background, so poll get_build(buildId) for completion. buildId is null only when the job is not listed yet — meta.hint then tells you to find it with list_builds.
download_build Create a static or NPM download build, wait for its artifact, and save the archive to an explicit local path. Existing files are not overwritten unless overwrite=true.
set_primary_build Set a completed publish build as the project primary build. buildId is the durable build JOB id from list_builds/create_build, not the app id.
create_texture_atlas Duplicate a texture asset as an editable texture atlas and return the new asset.
delete_build Permanently delete a build job and its linked artifact from the designated project. buildId is the durable build JOB id from list_builds/create_build, not the app id.
create_entities modify_entities duplicate_entities reparent_entity Get the complete edit-time JSON for one entity by resource_id.
delete_entities Get the complete edit-time JSON for one entity by resource_id.
get_entity Get the complete edit-time JSON for one entity by resource_id.
list_entities resolve_entities add_components remove_components add_script_component_script Attach a parsed script to one or more entities, creating script components when needed.
attach_script Attach a parsed script to one or more entities, creating script components when needed.
add_entity_scripts Attach a parsed script to one or more entities, creating script components when needed.
remove_entity_scripts Remove a script from one or more entities.
move_entity_script Move a script to a new execution-order index on an entity.
search_entities find_entities_by_script bake_lightmaps Bake scene lightmaps, optionally limited to the given entities. Returns only after baking finishes and reports model assets missing UV1.
unwrap_model_asset Generate UV1 data for a model asset using the editor's unwrap worker and update its source file.
cancel_model_unwrap Cancel an in-progress UV1 unwrap for a model asset.
convert_texture_asset Convert a texture source to a new AVIF, JPEG, PNG, or WebP texture asset.
create_cubemap_from_texture Convert an equirectangular texture to six face textures and a cubemap asset.
process_font_asset Rebuild a font asset for an explicit character set and optional inversion setting.
generate_texture_metadata Generate missing pipeline metadata for a texture asset.
process_texture_variants Compress or remove explicit texture variants and wait for processing to settle.
prefilter_cubemap Generate runtime lighting data for a cubemap.
clear_cubemap_prefilter Remove generated runtime lighting data from a cubemap.
modify_sprite_asset Modify sprite data (atlas, frame order, pixels per unit, render mode) or replace a texture atlas frame map in one undoable edit.
modify_bundle_asset Add or remove project assets from a bundle. Returns accepted and rejected ids; invalid asset types and duplicates are rejected.
modify_project_settings query_project_settings query_settings modify_settings create_assets list_assets Get the complete JSON for one project asset by id.
get_asset Get the complete JSON for one project asset by id.
get_asset_references List the project assets, entities, or settings that reference an asset.
delete_assets Upload local files into the designated project, or replace an existing asset source by providing its id. Files are limited to ${MAX_TRANSFER_BYTES / 1024 / 1024} MiB each; the result separates succeeded and failed entries.
instantiate_template_assets Upload local files into the designated project, or replace an existing asset source by providing its id. Files are limited to ${MAX_TRANSFER_BYTES / 1024 / 1024} MiB each; the result separates succeeded and failed entries.
upload_assets Upload local files into the designated project, or replace an existing asset source by providing its id. Files are limited to ${MAX_TRANSFER_BYTES / 1024 / 1024} MiB each; the result separates succeeded and failed entries.
set_asset_text Overwrite the full contents of a CSS, HTML, JSON, script, shader, or text asset.
modify_assets Edit asset name, tags, preload, or data paths. Array operations are supported under data.*. Anim state graph structure and animation events require their dedicated mutation tools.
move_assets Move assets to a folder in the designated project and wait until their paths update. Omit folderId to move them to the root.
duplicate_assets Duplicate assets in their current folders and return the created asset summaries.
replace_asset Replace references to one asset with another asset.
reimport_assets Re-run the import pipeline for existing source assets and return succeeded and failed entries.
download_asset Download an asset to a local file. Downloads are limited to ${MAX_TRANSFER_BYTES / 1024 / 1024} MiB and never overwrite unless overwrite=true.
get_template_overrides Read the current apply/revert override records for a template instance.
apply_template_overrides Apply all overrides from a template instance, or only the supplied override records.
revert_template_overrides Revert all overrides on a template instance, or only the supplied override records.
unlink_template_instances Unlink template instances while keeping their current entity data.
undo redo Clear the editor\'s current selection.
get_selection Clear the editor\'s current selection.
set_selection Clear the editor\'s current selection.
clear_selection Clear the editor\'s current selection.
read_editor_logs Read recent edit-time Editor console logs with filters and pagination.
set_transform_gizmo set_material_diffuse set_material_properties get_asset_text Overwrite the full contents of a CSS, HTML, JSON, script, shader, or text asset.
set_script_text Permissions 3
network medium shell high env_vars low