PlayCanvas Editor MCP Server
Official지엑스피1
LLM을 사용하여 PlayCanvas Editor를 자동화하기 위한 MCP 서버입니다.
[!중요한]
현재 MCP 서버는 Anthropic의 Claude가 운영해야 합니다. 저희 경험상 Claude 무료 티어는 MCP 서버를 안정적으로 운영하기에 충분히 큰 채팅 환경을 제공하지 못합니다. 따라서 Pro Claude 계정 구독을 강력히 권장합니다.
사용 가능한 도구
실재
list_entitiescreate_entitiesdelete_entitiesduplicate_entitiesmodify_entitiesreparent_entityadd_componentsremove_componentsadd_script_component_script
유산
list_assetscreate_assetsdelete_assetsinstantiate_template_assetsset_script_textscript_parseset_material_diffuse
장면
query_scene_settingsmodify_scene_settings
가게
store_searchstore_getstore_download
Related MCP server: HostBridge MCP Server
설치
npm install 실행하여 모든 종속성을 설치합니다.
크롬 확장 프로그램 설치
chrome://extensions/방문하여 개발자 모드를 활성화하세요.Load unpacked클릭하고extensions폴더를 선택하세요.PlayCanvas Editor를 로드하세요. 확장 프로그램이 로드되어야 합니다.
MCP 서버 실행
MCP 서버는 Cursor 또는 Claude Desktop으로 구동될 수 있습니다.
[!팁]
우리는 Claude Desktop이 전반적으로 더 안정적이라고 생각합니다.
클로드 데스크탑
Claude Desktop을 설치하세요.
Claude>Settings으로 이동합니다.Developer선택한 다음Edit Config선택합니다.이렇게 하면 MCP 구성 JSON 파일인
claude_desktop_config.json열립니다.
커서
커서를 설치하세요.
File>Preferences>Cursor Settings선택합니다.+ Add new global MCP server클릭합니다.이렇게 하면 MCP Config JSON 파일인
mcp.json열립니다.
[!팁]
Cursor Settings에서Features선택하고Chat섹션으로 스크롤합니다.Enable auto-run mode활성화하면 LLM이 지속적인 권한 부여 없이도 MCP 도구를 실행할 수 있습니다. 이 설정은 사용자 본인의 책임입니다(하지만 저희는 이 설정을 권장합니다)!
[!중요한]
커서에서Agent선택되어 있는지 확인하세요.Ask및Edit모드에서는 MCP 서버가 인식되지 않습니다.
MCP 구성 JSON 파일
구성은 다음과 같습니다.
윈도우
{
"mcpServers": {
"playcanvas": {
"command": "cmd",
"args": [
"/c",
"npx",
"tsx",
"C:\\path\\to\\mcp-editor\\src\\server.ts"
],
"env": {
"PORT": "52000"
}
}
}
}맥OS
{
"mcpServers": {
"playcanvas": {
"command": "npx",
"args": [
"tsx",
"/path/to/mcp-editor/src/server.ts"
],
"env": {
"PORT": "52000"
}
}
}
}편집기를 MCP 서버에 연결
PlayCanvas Editor는 MCP 서버에 자동으로 연결되지 않습니다. 연결하려면:
PlayCanvas Editor를 실행하는 Chrome 탭을 활성화합니다.
주소 표시줄 오른쪽에 있는 확장 프로그램 아이콘을 선택하세요.
PlayCanvas Editor MCP 확장 프로그램을 선택하여 확장 팝업을 엽니다.
CONNECT선택합니다(포트 번호는 MCP Config JSON 파일에 설정된 번호와 일치해야 합니다).
[!참고] 현재 MCP 서버에는 PlayCanvas Editor의 인스턴스를 한 개만 연결할 수 있습니다.
이제 Claude Desktop이나 Cursor에서 명령을 내릴 수 있습니다.
Available Tools
125 toolsadd_componentsAIdempotent
Add one or more components to an existing entity (camera, light, render, collision, rigidbody, element, screen, script, sound, etc.). Pass each component's initial data under its name. Returns the updated entity summary. Physics note: rigidbody/collision components only simulate when the project has the Ammo WASM module asset imported (Editor: IMPORT AMMO). If it is missing, add the components then import Ammo — do not stall on the decision. The legacy use3dPhysics/useLegacyAmmoPhysics project settings are not supported and are rejected. When NOT to use: to create a new entity (use create_entities), to tweak an existing component property (use modify_entities), or to attach a script to a script component (use attach_script).
Inputs: id (required), components (required).
add_entity_scriptsBIdempotent
Attach a parsed script to one or more entities, creating script components when needed.
Inputs: script (required), entityIds (required), index, attributes.
add_script_component_scriptAIdempotent
Add a named script to an entity that ALREADY has a script component. Returns the updated entity summary. When NOT to use: if the entity has no script component yet, prefer attach_script, which creates the component and attaches the script in one call.
Inputs: id (required), scriptName (required).
apply_mergeA
Apply a merge whose conflicts are all resolved. Call twice: first with finalize:false to prepare and review, then finalize:true to commit. finalize:true writes the merge checkpoint onto the current branch and RELOADS the editor (the tool waits for reconnect and returns vcs_status); finalize:false does not reload. When NOT to use: to abort a merge (use cancel_merge).
Inputs: mergeId (required), finalize (required).
apply_template_overridesC
Apply all overrides from a template instance, or only the supplied override records.
Inputs: entityId (required), overrides.
attach_scriptAIdempotent
Attach a script to an entity in one step: creates the script component if missing, then adds the named script. This consolidates the common "add script component" + "add script" flow. Returns the updated entity summary. Note: the script must already exist as a parsed script asset (create one with create_assets type="script", set its code with set_script_text, then script_parse). When NOT to use: to write the script's source code (use set_script_text) or to set script attribute values (use modify_entities on components.script.scripts..attributes).
Inputs: id (required), scriptName (required), index, attributes.
bake_lightmapsAIdempotent
Bake scene lightmaps, optionally limited to the given entities. Returns only after baking finishes and reports model assets missing UV1.
Inputs: entityIds.
cancel_mergeAIdempotent
Force-stop an in-progress merge, discarding the merge and its conflicts. Project data is untouched. Does not reload the editor. When NOT to use: to commit a merge (use apply_merge).
Inputs: mergeId (required).
cancel_model_unwrapAIdempotent
Cancel an in-progress UV1 unwrap for a model asset.
Inputs: id (required).
capture_runtimeARead-only
Screenshot the RUNNING Launch instance (not the editor preview) as a downscaled WebP image — the agent's "eye" for visually verifying play-mode behavior. Requires launch_start first. Captures the live frame buffer, so what you see reflects scripts/physics/animation actually running. Works on both WebGL and WebGPU backends; meta.deviceType reports which backend produced the frame. When NOT to use: before launch_start (use capture_viewport for edit-time visuals).
Inputs: no named parameters.
capture_viewportARead-only
Capture a screenshot of the editor viewport (the current editing camera view) as a downscaled WebP image, for visual verification of edit-time state. Tip: call focus_viewport first to frame the entities you care about. Note: this renders the editor preview only (scripts/physics/animation are NOT running). When NOT to use: to verify play-mode/runtime behavior (use capture_runtime after launch_start).
Inputs: no named parameters.
clear_cubemap_prefilterADestructiveIdempotent
Remove generated runtime lighting data from a cubemap.
Inputs: id (required).
clear_selectionAIdempotent
Clear the editor's current selection.
Inputs: no named parameters.
close_branchAIdempotent
Close a branch (a soft, reversible archive — reopen it later with open_branch). Cannot close the current branch or a permanent branch. Does not reload the editor. When NOT to use: to permanently remove a branch (use delete_branch).
Inputs: branchId (required).
convert_texture_assetA
Convert a texture source to a new AVIF, JPEG, PNG, or WebP texture asset.
Inputs: id (required), format (required).
create_assetsA
Create one or more native data/text assets. Imported binary assets use upload_assets. Each asset is { type, options }; options vary by type (e.g. material takes data, script takes filename/text, template takes an entity id). Successful batches return the existing asset-summary array. Failed batches retain error status and expose succeeded and failed entries in response metadata. When NOT to use: to add an existing asset to an entity (use add_components/modify_entities) or to change a material's look after creation (use set_material_properties).
Inputs: assets (required).
create_branchA
Create a new branch (scope a feature on its own branch) and switch the editor to it. Branches from the current branch by default. This RELOADS the editor; the tool waits for it to reconnect and returns the resulting vcs_status on the new branch. Name must be unique in the project and at most 1000 characters. When NOT to use: to switch to an existing branch (use switch_branch).
Inputs: name (required), sourceBranchId, sourceCheckpointId.
create_buildA
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.
Inputs: name (required), sceneIds (required), minify, version, +8 more.
create_checkpointA
Create a checkpoint (an immutable snapshot of the current branch's scenes/assets/settings) with a description. Returns the created checkpoint ({ id, createdAt, description }). Does not reload the editor. Snapshotting is asynchronous; for very large projects it may exceed the request timeout, in which case the checkpoint usually still completes — confirm with list_checkpoints. When NOT to use: to roll back to a checkpoint (use restore_checkpoint).
Inputs: description (required), branchId.
create_cubemap_from_textureB
Convert an equirectangular texture to six face textures and a cubemap asset.
Inputs: id (required).
create_entitiesA
Create one or more entities (optionally nested hierarchies) in the current scene. Use this to add new objects: cameras, lights, models, UI, empty groups, etc. Coordinates are local to the parent; rotation is euler degrees; scale is a multiplier. Returns the created entity summaries inline (resource_id, name, path, components) so you do NOT need a follow-up list_entities call to recover the new ids. Physics note: rigidbody/collision components only simulate if the project has the Ammo WASM module asset imported (Editor: click IMPORT AMMO). Without it, rigidbodies are created but stay frozen at launch — import Ammo before relying on physics rather than pausing to ask. The legacy use3dPhysics/useLegacyAmmoPhysics project settings are not supported and are rejected. When NOT to use: to change an existing entity (use modify_entities), to add a component to an existing entity (use add_components), or to instantiate a template asset (use instantiate_template_assets).
Inputs: entities (required).
create_sceneA
Create a new empty scene in the current project/branch. Returns the created scene record. This does not switch to the new scene; call load_scene with its uniqueId to open it. When NOT to use: to copy an existing scene (use duplicate_scene).
Inputs: name.
create_texture_atlasA
Duplicate a texture asset as an editable texture atlas and return the new asset.
Inputs: id (required).
delete_assetsADestructiveIdempotent
Permanently delete assets by id. This is destructive; entities referencing the deleted assets will lose those references. Returns { deleted: }. When NOT to use: to remove an asset reference from an entity without deleting the asset itself (use modify_entities).
Inputs: ids (required), rejectReferenced.
delete_branchADestructiveIdempotent
DESTRUCTIVE: permanently delete a branch and its checkpoints. Cannot be undone. Cannot delete the current branch or a permanent branch. Does not reload the editor. When NOT to use: to archive a branch reversibly (use close_branch).
Inputs: branchId (required).
delete_buildADestructiveIdempotent
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.
Inputs: buildId (required).
delete_entitiesADestructiveIdempotent
Permanently delete entities and all of their descendants. This is destructive and not undoable via this tool. The scene root cannot be deleted. Returns { deleted: }. When NOT to use: to temporarily hide an entity (set enabled=false via modify_entities instead) or to remove a single component (use remove_components).
Inputs: ids (required).
delete_sceneADestructiveIdempotent
Permanently delete a scene by its id. This is destructive and cannot be undone. When NOT to use: to switch away from a scene without deleting it (use load_scene).
Inputs: id (required).
diff_checkpointsARead-only
Compute the diff between two checkpoints and return the change data. Branch ids default to the current branch. Read-only; does not reload the editor. Use to inspect what changed before merging or restoring. When NOT to use: to roll back to a checkpoint (use restore_checkpoint).
Inputs: dstCheckpointId (required), srcCheckpointId (required), dstBranchId, srcBranchId.
download_assetADestructiveIdempotent
Download an asset to a local file. Downloads are limited to 512 MiB and never overwrite unless overwrite=true.
Inputs: path (required), assetId (required), overwrite.
download_buildADestructive
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.
Inputs: name (required), format (required), sceneIds (required), outputPath (required), +7 more.
duplicate_assetsA
Duplicate assets in their current folders and return the created asset summaries.
Inputs: ids (required).
duplicate_entitiesA
Duplicate existing entities (including their children) in place under the same parent. Returns the new entity summaries. Set rename=true to auto-suffix names to avoid duplicates. When NOT to use: to create a reusable prefab across scenes (create a template asset instead) or to build a brand-new entity (use create_entities).
Inputs: ids (required), rename.
duplicate_sceneA
Duplicate an existing scene by its id, giving the copy a new name. Returns the created scene record. When NOT to use: to create an empty scene (use create_scene).
Inputs: id (required), name (required).
find_entities_by_scriptARead-only
List the entities whose script component uses a given (registered) script name. Returns compact entity summaries. When NOT to use: to search entities by name (use search_entities) or to read a script's source (use get_asset_text).
Inputs: script (required).
focus_cameraAIdempotent
Aim the current editor camera to look at a world-space point from a given distance. Useful for framing an exact location before capture_viewport. When NOT to use: to frame specific entities (use focus_viewport) or to move an in-scene camera entity (use modify_entities on its transform).
Inputs: point (required), distance (required).
focus_viewportAIdempotent
Frame the editor camera on the given entities, optionally from a preset view (top/front/etc.) or a custom yaw/pitch. Useful before capture_viewport. Returns { focused: }. When NOT to use: to move an in-scene camera entity (use modify_entities on its transform).
Inputs: ids (required), yaw, view, pitch.
generate_texture_metadataBIdempotent
Generate missing pipeline metadata for a texture asset.
Inputs: id (required).
get_animation_eventsARead-only
Get the stable-id event map for a GLB animation asset, including time and optional number/string payloads.
Inputs: assetId (required).
get_anim_state_graphARead-only
Get the complete structural data for an anim state graph asset, including layers, states, transitions, conditions, and parameters.
Inputs: assetId (required).
get_assetARead-only
Get the complete JSON for one project asset by id.
Inputs: id (required).
get_asset_referencesARead-only
List the project assets, entities, or settings that reference an asset.
Inputs: id (required).
get_asset_textARead-only
Read the full text contents of a text-based asset (script, text, json, css, html, or shader), returned as text. When NOT to use: to read a script's declared name or attribute definitions (use script_parse), to read binary assets like textures or models, or to list assets (use list_assets).
Inputs: assetId (required).
get_buildARead-only
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.
Inputs: buildId (required).
get_checkpointARead-only
Get a single checkpoint by its id. Returns the checkpoint record ({ id, createdAt, description, user }). When NOT to use: to list a branch's checkpoints (use list_checkpoints).
Inputs: checkpointId (required).
get_conflict_fileARead-only
Read the content of one side of a conflicting file so you can decide how to resolve it. Read-only; does not resolve anything. When NOT to use: to choose a resolution (use resolve_conflicts).
Inputs: mergeId (required), fileName (required), conflictId (required), resolved.
get_entityARead-only
Get the complete edit-time JSON for one entity by resource_id.
Inputs: id (required).
get_mergeARead-only
Get the current state of a merge, including its status and full conflict list ({ id, mergeProgressStatus, conflicts, numConflicts }). Use to re-check which conflicts are still unresolved before apply_merge. When NOT to use: to start a merge (use start_merge).
Inputs: mergeId (required).
get_sceneARead-only
Get a single scene by its id (not uniqueId). Returns the full scene record. When NOT to use: to load/switch to a scene in the editor (use load_scene) or to list scenes (use list_scenes).
Inputs: id (required).
get_selectionARead-only
Read the editor's current selection. Returns { type: "entity" | "asset" | null, ids: [...] }. Entity ids are resource_ids (strings); asset ids are numbers. When NOT to use: to list all entities/assets (use list_entities/list_assets).
Inputs: no named parameters.
get_template_overridesARead-only
Read the current apply/revert override records for a template instance.
Inputs: entityId (required).
hard_reset_checkpointADestructiveIdempotent
DESTRUCTIVE: reset the branch head back to a checkpoint and PERMANENTLY ERASE every checkpoint created after it. Cannot be undone. This RELOADS the editor; the tool waits for it to reconnect and returns the resulting vcs_status. When NOT to use: to roll back working state while keeping history (use restore_checkpoint).
Inputs: checkpointId (required), branchId.
inject_inputA
Dispatch keyboard / mouse / touch input to the RUNNING Launch instance so you can drive end-to-end interactions ("press W to move", "click a button", "tap the screen"). Requires launch_start first. Events run in order; coordinates are CSS pixels from the canvas top-left (match capture_runtime's framing). Returns { dispatched }. Mouse and touch events are dispatched as PointerEvents plus the matching MouseEvent/TouchEvent, so both the engine's pointer-based input sources (camera-controls, first-person-controller) and legacy pc.Mouse / pc.TouchDevice receive them. Patterns: key press with holdMs to move for a duration; mouse click at (x,y); a down→move…→up sequence for dragging; touch tap for mobile UI. After injecting, use capture_runtime / read_runtime_logs / query the scene to observe the effect. When NOT to use: to change entity data directly (use modify_entities) or before launch_start.
Inputs: events (required), betweenMs.
instantiate_template_assetsA
Instantiate template assets into the scene, creating entity hierarchies from them. Returns the created entity summaries. When NOT to use: for non-template assets (only type="template" assets can be instantiated) or to build an entity from scratch (use create_entities).
Inputs: ids (required), index, parentId.
launch_startA
Start a real Launch runtime instance of the current scene (the editor's Launch button) so scripts, physics, animation and input actually run. Opens the launch page in a new browser window with debug logging on; the editor bridges it automatically. Returns { url, sceneId, ready, adopted, engineVersion, device, deviceType, sessionId } where ready=true means the runtime is usable by capture_runtime / read_runtime_logs, and adopted=true means it attached to an app that was already running instead of starting a new one (which happens only when no options are passed, so pass an option to force a fresh launch). engineVersion is the exact version the app launched with (null when adopting an app of unknown origin), device is the requested override, deviceType is the backend the runtime actually created (webgpu/webgl2/webgl1), and sessionId changes on every launch so you can tell a fresh launch from a re-used one. This is the prerequisite for all runtime tools. If ready=false, the page may still be loading or popups were blocked; poll read_runtime_logs or retry. When NOT to use: to screenshot the editor (use capture_viewport); to change the scene (edit-time tools).
Inputs: debug, device, waitMs, bundles, +4 more.
launch_stopADestructiveIdempotent
Stop the running Launch instance started by launch_start (closes the launch window). Returns { stopped }. When NOT to use: there is no need to call this between captures — keep the instance running and re-capture.
Inputs: no named parameters.
list_assetsARead-only
List project assets, returning compact summaries by default (id, name, type, folder, tags). Results are paginated: use limit (default 50) and offset; the response meta includes total, count, hasMore and nextCursor. Filter with type, name (case-insensitive contains) and/or tag. Use full=true only when you need the complete asset JSON (large). An empty result is a successful, empty list (not an error). When NOT to use: to search the public asset store (use store_search).
Inputs: tag, full, name, type, +2 more.
list_branchesARead-only
List the project's branches. Returns branch records ({ id, name, createdAt, closed, permanent, latestCheckpointId, user }). Paginates via limit + cursor (meta.nextCursor); set closed:true to include closed branches, favorite:true for your favourites. When NOT to use: to read the current branch (use vcs_status).
Inputs: limit, closed, cursor, favorite.
list_buildsCRead-only
List publish and download builds for the designated project, including durable job status and artifacts.
Inputs: type, actor, limit, branch, +3 more.
list_checkpointsARead-only
List checkpoints on a branch (the current branch by default), newest first. Returns records ({ id, createdAt, description, user }). Paginates via limit + cursor (meta.nextCursor); backend default limit 25, max 50. Use a checkpoint id with restore_checkpoint / hard_reset_checkpoint. When NOT to use: to list branches (use list_branches).
Inputs: limit, cursor, branchId.
list_engine_versionsARead-only
List the engine channels and versions the connected Editor can launch and build with, plus the version a default launch would use. Returns { available: [{ channel, version }], launchDefault: { channel, version, source } } where source is launch-option (the Launch button's "Use Release Candidate"), session-setting or current. Use it before launch_start / create_build when a specific engine version matters, e.g. to reproduce a bug on the release candidate or pin a build to the current release.
Inputs: no named parameters.
list_entitiesARead-only
List entities in the current scene, returning compact summaries by default (resource_id, name, hierarchy path, parent, enabled, tags, component names). Results are paginated: use limit (default 50) and offset to page through large scenes; the response meta includes total, count, hasMore and nextCursor. Filter with name (case-insensitive contains), component (only entities with that component) and/or tag. Use full=true only when you need the complete entity JSON (large; prefer summaries). An empty result is a successful, empty list (not an error). When NOT to use: when you already know an entity id and just need to act on it; for runtime/play-mode state (this returns edit-time data only).
Inputs: tag, full, name, limit, +2 more.
list_scenesARead-only
List the scenes in the current project/branch. Returns scene records including id, uniqueId and name. Use uniqueId with load_scene to switch scenes, and id with get_scene / duplicate_scene / delete_scene. When NOT to use: to list assets (use list_assets).
Inputs: no named parameters.
list_store_licensesARead-only
List valid Store licenses for project imports.
Inputs: no named parameters.
load_sceneAIdempotent
Load (switch the editor to) a scene by its uniqueId. This unloads the current scene and opens the target one. By default the tool returns after queuing the load. Set wait=true to return only after the requested scene is active. When NOT to use: to read a scene without switching (use get_scene) or to create a new scene (use create_scene).
Inputs: uniqueId (required), wait.
modify_animation_eventsADestructive
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.
Inputs: assetId (required), operations (required).
modify_anim_state_graphADestructive
Apply a validated batch of structural operations to an anim state graph as one undoable transaction. Add operations may omit id to allocate one; generated ids and the resulting graph are returned. State deletion also deletes attached transitions. Parameter deletion is rejected while conditions use it. Use layer.update defaultStateId to change a layer default before removing its old default state.
Inputs: assetId (required), operations (required).
modify_assetsADestructive
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.
Inputs: edits (required).
modify_bundle_assetADestructiveIdempotent
Add or remove project assets from a bundle. Returns accepted and rejected ids; invalid asset types and duplicates are rejected.
Inputs: id (required), add, remove.
modify_entitiesADestructiveIdempotent
Set or unset properties on existing entities by dot-notation path. Valid top-level paths: "name", "enabled", "position" ([x,y,z] local), "rotation" ([x,y,z] euler degrees), "scale" ([x,y,z]), "tags". Component properties use "components..", e.g. "components.light.intensity", "components.camera.fov", "components.render.castShadows", "components.script.scripts..attributes." (the entity must already have that component; add it with add_components first). Each edit targets one entity id + one path. Returns the post-edit summaries of the affected entities. Edits are validated on write: an unknown top-level path, or a component path for a component the entity does not have, fails immediately with a message listing the entity's valid paths/components — so you can fix it in one shot instead of retrying blind. When NOT to use: to create entities (use create_entities), to add/remove components (use add_components/remove_components), or to change scene-wide settings (use modify_scene_settings).
Inputs: edits (required).
modify_project_settingsAIdempotent
Modify project-wide settings such as physics engine, rendering device (WebGL2/WebGPU), layers, loading screen, script loading order, input, and resolution. Pass a partial object of setting path/value pairs (nested objects or dot-paths, e.g. { enableWebGpu: true, "layers.0.name": "World" }); only the provided fields change. Returns the full resulting project settings snapshot. Physics: use3dPhysics and useLegacyAmmoPhysics are legacy asm.js Ammo loader flags and are not supported; setting either to true is rejected (clearing them is allowed). Enable physics with the Editor IMPORT AMMO button, which imports the Ammo WASM module asset. When NOT to use: to change per-scene settings like fog or gravity (use modify_scene_settings) or a single entity (use modify_entities).
Inputs: settings (required).
modify_scene_settingsAIdempotent
Modify scene-wide settings such as physics gravity and rendering (fog, ambient light, skybox, tonemapping, exposure, lightmapping). Only the provided fields are changed. Returns the full resulting scene settings snapshot. When NOT to use: to change a single entity (use modify_entities) or to read settings without changing them (use query_scene_settings).
Inputs: settings (required).
modify_settingsADestructiveIdempotent
Set or unset arbitrary Editor settings by dot path in project, scene, projectUser, user, session, or projectPrivate scope. Asset import defaults are in projectUser under editor.pipeline.*. Project, scene, and private settings require project write access. Query the scope first to discover current paths and values.
Inputs: edits (required), scope (required).
modify_sprite_assetAIdempotent
Modify sprite data (atlas, frame order, pixels per unit, render mode) or replace a texture atlas frame map in one undoable edit.
Inputs: id (required), props (required).
move_assetsAIdempotent
Move assets to a folder in the designated project and wait until their paths update. Omit folderId to move them to the root.
Inputs: ids (required), folderId.
move_entity_scriptAIdempotent
Move a script to a new execution-order index on an entity.
Inputs: index (required), script (required), entityId (required).
my_assets_importA
Import an asset owned by the current user into the current project.
Inputs: id (required), name (required), folder.
my_assets_searchCRead-only
Search assets owned by the current user.
Inputs: skip, limit, search.
open_branchAIdempotent
Re-open a previously closed branch. Find closed branches with list_branches({ closed: true }). Does not reload the editor. When NOT to use: to switch the editor onto the branch (use switch_branch).
Inputs: branchId (required).
prefilter_cubemapCDestructiveIdempotent
Generate runtime lighting data for a cubemap.
Inputs: id (required), legacy.
process_font_assetADestructiveIdempotent
Rebuild a font asset for an explicit character set and optional inversion setting.
Inputs: id (required), characters (required), invert.
process_texture_variantsBDestructiveIdempotent
Compress or remove explicit texture variants and wait for processing to settle.
Inputs: id (required), formats (required), force, remove.
query_project_settingsARead-only
Read the current project-wide settings (physics, rendering device, layers, loading screen, script loading order, input, resolution). Returns the full settings object. When NOT to use: to change settings (use modify_project_settings) or to read per-scene settings (use query_scene_settings).
Inputs: no named parameters.
query_runtime_stateARead-only
Read the LIVE runtime state of entities in the RUNNING Launch instance — the non-visual ground-truth read-back for verifying play-mode behaviour without guessing screenshot timing. Requires launch_start first. For each matched entity returns world position, local position, euler rotation, scale, enabled, component names, plus rigidbody (type/mass/linearVelocity/angularVelocity) and element (type/text, e.g. a HUD score label) when present. Filter with ids (editor resource_ids — the runtime uses the same GUIDs) or name (case-insensitive substring); omit both to page through every entity. Paginated via limit (default 50) + offset (meta has total/count/hasMore/nextCursor). Use this to answer questions the camera cannot: "did the ball actually move / fall through the floor?", "is the rigidbody simulating (velocity != 0)?", "what does the score HUD say?". An empty result is success, not an error. When NOT to use: for edit-time scene data (use list_entities); before launch_start; to change state (use modify_entities / inject_input).
Inputs: ids, name, limit, offset.
query_scene_settingsARead-only
Read the current scene-wide settings (physics + rendering). Returns the full settings object. When NOT to use: to change settings (use modify_scene_settings).
Inputs: no named parameters.
query_settingsARead-only
Read any Editor settings scope: project, current scene, per-project user preferences (including editor.pipeline asset import defaults), global user preferences, session settings, or private project settings. Omit path for the complete scope or provide a dot path for one value.
Inputs: scope (required), path.
query_viewport_stateARead-only
Read the exact editor viewport camera and overlay state so it can be restored after visual inspection.
Inputs: no named parameters.
query_viewport_visibilityARead-only
List entities hidden only in the editor viewport. This does not read or change persisted entity enabled values.
Inputs: no named parameters.
read_editor_logsARead-only
Read recent edit-time Editor console logs with filters and pagination.
Inputs: limit, since, types, offset, +1 more.
read_runtime_logsARead-only
Read console output (log/info/warn/error), uncaught exceptions and unhandled rejections from the RUNNING Launch instance — the first-line signal for runtime bugs. Requires launch_start first. Returns the most recent entries first, paginated (meta has total/count/hasMore/nextCursor). Exceptions and rejections are serialised as "name: message" plus their stack, so a thrown Error is readable without opening devtools. Defaults to warnings + errors; set level="all" (or debug/info/warn/error as a minimum severity) to widen, and keyword to filter. An empty result is success, not an error. When NOT to use: to read edit-time editor logs (this is the launched app only).
Inputs: level, limit, offset, keyword.
redoA
Redo the last undone edit in the editor. Returns whether anything was redone plus the resulting { canUndo, canRedo } state. When NOT to use: to repeat an arbitrary action (redo only re-applies an edit that was just undone).
Inputs: no named parameters.
reimport_assetsADestructive
Re-run the import pipeline for existing source assets and return succeeded and failed entries.
Inputs: ids (required), settings.
remove_componentsADestructiveIdempotent
Remove one or more components from an entity by component name. Returns the updated entity summary. When NOT to use: to delete the whole entity (use delete_entities) or to just disable a component (set components..enabled=false via modify_entities).
Inputs: id (required), components (required).
remove_entity_scriptsCDestructiveIdempotent
Remove a script from one or more entities.
Inputs: script (required), entityIds (required).
rename_sceneBIdempotent
Rename the currently loaded scene. Load another scene first to rename it.
Inputs: name (required).
reparent_entityAIdempotent
Move an entity to a new parent in the hierarchy, optionally at a specific child index. Set preserveTransform=true to keep the entity at the same world position after moving. Returns the moved entity summary (including its new hierarchy path). When NOT to use: to change position/rotation values directly (use modify_entities).
Inputs: id (required), parent (required), index, preserveTransform.
replace_assetAIdempotent
Replace references to one asset with another asset.
Inputs: assetId (required), replacementId (required).
resolve_conflictsAIdempotent
Resolve one or more merge conflicts by picking a side, or revert them to unresolved. resolution "source" keeps the merged-in branch's version, "dest" keeps the current branch's version, "revert" un-resolves. Returns the updated conflict records. Repeat until get_merge shows no unresolved conflicts, then apply_merge. When NOT to use: to inspect a conflict's content first (use get_conflict_file).
Inputs: mergeId (required), resolution (required), conflictIds (required).
resolve_entitiesARead-only
Resolve entities by name into their resource_ids and hierarchy paths, so you can drive follow-up calls without shuttling UUIDs. By default matches case-insensitive substrings; set exact=true to match the full name. Returns summaries (resource_id, name, path, components). An empty result is a successful, empty list (not an error). When NOT to use: when you need filtering by component/tag or pagination (use list_entities).
Inputs: name (required), exact.
restore_checkpointAIdempotent
Restore (soft revert) the current branch's working state to a checkpoint. History is preserved — later checkpoints remain. This RELOADS the editor; the tool waits for it to reconnect and returns the resulting vcs_status. When NOT to use: to permanently erase later checkpoints (use hard_reset_checkpoint).
Inputs: checkpointId (required), branchId.
revert_template_overridesADestructive
Revert all overrides on a template instance, or only the supplied override records.
Inputs: entityId (required), overrides.
script_parseARead-only
Parse a script asset to extract its declared script name(s) and attribute definitions. Run this after set_script_text. Returns the parsed script metadata. When NOT to use: to read entity-level script attribute values (use list_entities/modify_entities).
Inputs: assetId (required).
search_entitiesARead-only
Fuzzy-search entities by name and return the best matches ranked by relevance (each as a compact summary). Use this to find an entity when you only know part of its name. When NOT to use: to filter by component or tag (use list_entities) or to find entities using a script (use find_entities_by_script).
Inputs: query (required), limit.
set_asset_textCIdempotent
Overwrite the full contents of a CSS, HTML, JSON, script, shader, or text asset.
Inputs: text (required), assetId (required).
set_material_diffuseAIdempotent
Set only the diffuse (base) color of a material. Color is [r,g,b] in 0-1. When NOT to use: to change any other material property, or to set several properties at once (use set_material_properties).
Inputs: color (required), assetId (required).
set_material_propertiesAIdempotent
Set any combination of properties on a material asset in one call (diffuse, emissive, metalness, gloss/shininess, opacity, maps, etc.). Only the provided fields are changed; all fields are optional. Colors are [r,g,b] 0-1; map fields take asset ids. Returns the updated asset summary. When NOT to use: to change only the diffuse color (set_material_diffuse is a shorthand) or to create a new material (use create_assets type="material").
Inputs: assetId (required), properties (required).
set_primary_buildAIdempotent
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.
Inputs: buildId (required).
set_script_textAIdempotent
Overwrite the source code of an existing script asset. Provide the full file contents in text. After changing the code, call script_parse so the editor re-reads the script's name and attributes. When NOT to use: to attach a script to an entity (use attach_script) or to create the script asset itself (use create_assets type="script").
Inputs: text (required), assetId (required).
set_selectionAIdempotent
Replace the editor's selection with the given entities or assets. Selecting shows them in the inspector and highlights them in the viewport/tree. Pass type "entity" (ids are resource_ids) or "asset" (ids are numbers). An empty ids array clears the selection. When NOT to use: to modify the selected items (use modify_entities) or to frame them in the viewport (use focus_viewport).
Inputs: ids (required), type (required).
set_transform_gizmoAIdempotent
Set the viewport transform gizmo: mode (translate/rotate/scale/resize), coordinate space (world/local), and/or snapping. Only the provided fields change. Returns the resulting { mode, space }. When NOT to use: to actually move/rotate/scale an entity (use modify_entities on its transform).
Inputs: mode, snap, space.
set_viewport_stateAIdempotent
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.
Inputs: grid, bones, cameraId, expanded, +5 more.
set_viewport_visibilityAIdempotent
Hide or show entities only in the editor viewport without changing their persisted enabled values.
Inputs: ids (required), hidden (required).
sketchfab_getARead-only
Get a Sketchfab model by uid.
Inputs: uid (required).
sketchfab_importB
Import a downloadable Sketchfab model into the current project.
Inputs: uid (required), name (required), license (required), folder.
sketchfab_searchBRead-only
Search downloadable Sketchfab models.
Inputs: limit, order, cursor, search.
start_mergeA
Start merging a source branch into the CURRENT branch (the destination is always the branch the editor is on). Waits for the auto-merge to finish and returns the merge ({ id, mergeProgressStatus, conflicts, numConflicts }). If conflicts is non-empty, resolve them with resolve_conflicts, then apply_merge. Does not reload the editor. When NOT to use: to inspect an in-progress merge (use get_merge).
Inputs: sourceBranchId (required), closeSource.
store_downloadA
Clone/import a public store asset into the current project. Requires the license fields returned by store_get. Reaches an external service over the network and adds new assets to the project. When NOT to use: for assets already in the project.
Inputs: id (required), name (required), license (required), folder.
store_getARead-only
Get full details (including license info needed to download) for a single public store asset by id. Reaches an external service over the network. When NOT to use: to fetch a project-local asset (use list_assets).
Inputs: id (required).
store_searchARead-only
Search the public PlayCanvas asset store by keyword. Results are paginated via skip + limit. Reaches an external service over the network. Use store_get for full details of a result, then store_download to import it. When NOT to use: to search assets already in this project (use list_assets).
Inputs: search (required), skip, limit, order.
switch_branchAIdempotent
Switch (checkout) the editor to an existing branch by its id (from list_branches). This RELOADS the editor; the tool waits for it to reconnect and returns the resulting vcs_status on the target branch. When NOT to use: to create a new branch (use create_branch).
Inputs: branchId (required).
undoA
Undo the last edit in the editor. Returns whether anything was undone plus the resulting { canUndo, canRedo } state. Use this to roll back a change you just made. When NOT to use: to switch scenes (use load_scene).
Inputs: no named parameters.
unlink_template_instancesADestructiveIdempotent
Unlink template instances while keeping their current entity data.
Inputs: entityIds (required).
unwrap_model_assetAIdempotent
Generate UV1 data for a model asset using the editor's unwrap worker and update its source file.
Inputs: id (required), padding.
upload_assetsADestructive
Upload local files into the designated project, or replace an existing asset source by providing its id. Files are limited to 512 MiB each; the result separates succeeded and failed entries.
Inputs: assets (required).
vcs_statusARead-only
Read the current version-control state: the active branch ({ id, name, latestCheckpointId }), the projectId, and whether a merge is in progress. Use this to confirm which branch you are on, especially after create_branch/switch_branch/restore_checkpoint/hard_reset_checkpoint (which reload the editor). When NOT to use: to list branches (use list_branches) or checkpoints (use list_checkpoints).
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 125 tools
Most tools have distinct operations and include explicit "When NOT to use" cross-references, so an agent can usually tell them apart. Minor overlap remains among entity lookup tools (search_entities vs resolve_entities vs find_entities_by_script vs list_entities), script attachment tools (attach_script vs add_entity_scripts vs add_script_component_script), and generic vs scoped settings tools (query_settings vs query_project_settings).
The dominant pattern is snake_case verb_noun (create_entities, modify_assets, list_builds), which is predictable. Exceptions like vcs_status, script_parse, launch_start, my_assets_import, and the awkward add_script_component_script break strict consistency but remain readable.
125 tools is far beyond the 50+ threshold for extreme mismatch with a single MCP server. Even for a large domain like a full game editor, this should be split into focused sub-servers or consolidated to reduce discovery and selection overhead.
The surface covers full lifecycle coverage for scenes, entities, components, assets, scripts, materials, animations, VCS branches/checkpoints/merges, builds, runtime, viewport, settings, and external asset stores. No obvious dead ends exist for the stated PlayCanvas Editor domain.
Maintenance
Related MCP Connectors
Generate, edit, and deploy immersive 3D/WebGL web projects from any MCP assistant.
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
Make games with AI: one MCP server that connects your agent to Unity, Unreal and Godot editors.
MCP server for building and testing AI agents with multi-model experimentation and insights.
Related MCP Servers
- AlicenseDqualityNot gradedmaintenanceAn MCP server that enables LLMs to 'see' what's happening in browser-based games and applications through vectorized canvas visualization and debug information.15 npm54MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that helps novice developers deploy web applications through conversational interfaces, bridging the gap between LLMs and various hosting environments.1MIT
- AlicenseNot gradedqualityDmaintenanceUnity MCP Server enables LLM-based clients to automate the Unity Editor, including scene manipulation, UI testing, input simulation, and code editing.33MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to automate the PlayCanvas Editor through a built-in MCP client, with no browser extension needed. Provides tools for entities, scripts, assets, scenes, templates, animation, builds, store imports, viewport and editor control, plus runtime launching with screenshots, logs and input to verify that projects actually run.-