About PlayCanvas
PlayCanvas is an MCP server published by playcanvas in the Developer Tools category: mCP Server for AI automation of the PlayCanvas Editor. Conduid read 130 tools from its source: add_components, add_entity_scripts, add_script_component_script, apply_merge, apply_template_overrides, attach_script and 124 more. It is published to npm as @playcanvas/editor-mcp-server and starts with npx.
The repository has 154 stars and 33 forks, is licensed MIT, and its last commit was on 11 Nov 2026. The latest release is v0.7.1 (9 Sep 2026). It follows v0.7.0 (25 Aug 2026), and the 5 most recent releases go back to v0.5.0 (22 Jul 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include vibe-coding, devtools, webgl, webgpu and playcanvas.
Install
claude mcp add editor-mcp-server -- npx -y @playcanvas/editor-mcp-servernpx -y @playcanvas/editor-mcp-servergit clone https://github.com/playcanvas/editor-mcp-serverTools (130)
add_componentsadd_entity_scriptsAttach a parsed script to one or more entities, creating script components when needed.| Parameter | Type | Description |
|---|---|---|
| attributes | object | |
| entityIds * | array | |
| index | number | Execution order index |
| script * | string | Registered script name |
add_script_component_script| Parameter | Type | Description |
|---|---|---|
| scriptName * | string | Registered script name (the parsed script's name attribute) |
apply_merge| Parameter | Type | Description |
|---|---|---|
| finalize * | boolean | false = prepare and review the merge; true = commit it (only after a finalize:false pass and all conflicts resolved) |
| mergeId * | string | Id of the merge (from start_merge) |
apply_template_overridesApply all overrides from a template instance, or only the supplied override records.| Parameter | Type | Description |
|---|---|---|
| overrides | array |
attach_script| Parameter | Type | Description |
|---|---|---|
| attributes | object | Initial script attribute values |
| index | number | Execution order index |
| scriptName * | string | Registered script name to attach |
bake_lightmapsBake scene lightmaps, optionally limited to the given entities. Returns only after baking finishes and reports model assets missing UV1.| Parameter | Type | Description |
|---|---|---|
| entityIds | array | Lightmapped entity resource_ids; omit to bake all lightmapped entities |
cancel_merge| Parameter | Type | Description |
|---|---|---|
| mergeId * | string | Id of the merge to cancel (from start_merge) |
cancel_model_unwrapCancel an in-progress UV1 unwrap for a model asset.capture_runtimecapture_viewportclear_cubemap_prefilterRemove generated runtime lighting data from a cubemap.clear_selectionClear the editor's current selection.close_branch| Parameter | Type | Description |
|---|---|---|
| branchId * | string | Id of the branch to close (from list_branches) |
convert_texture_assetConvert a texture source to a new AVIF, JPEG, PNG, or WebP texture asset.| Parameter | Type | Description |
|---|---|---|
| format * | string |
create_assets| Parameter | Type | Description |
|---|---|---|
| assets * | array |
create_branch| Parameter | Type | Description |
|---|---|---|
| name * | string | Name for the new branch |
| sourceBranchId | string | Branch to fork from (defaults to the current branch) |
| sourceCheckpointId | string | Checkpoint on the source branch to fork from (defaults to its latest) |
create_buildCreate 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.| Parameter | Type | Description |
|---|---|---|
| description | string | |
| imageS3Key | string | |
| releaseNotes | string | |
| version | string |
create_checkpoint| Parameter | Type | Description |
|---|---|---|
| branchId | string | Branch to checkpoint (defaults to the current branch) |
| description * | string | Description of the checkpoint |
create_cubemap_from_textureConvert an equirectangular texture to six face textures and a cubemap asset.create_entities| Parameter | Type | Description |
|---|---|---|
| entities | array | Parent entity resource_id. Omit to create under the scene root. |
create_project| Parameter | Type | Description |
|---|---|---|
| description | string | Project description |
| name * | string | Project name |
| open | boolean | Open the new project in the Editor once it is ready |
| owner | string | Username of the user or organization to own the project (defaults to you) |
| private | boolean | Make the project private (depends on your plan) |
create_scene| Parameter | Type | Description |
|---|---|---|
| name | string | Name for the new scene (optional) |
create_texture_atlasDuplicate a texture asset as an editable texture atlas and return the new asset.delete_assets| Parameter | Type | Description |
|---|---|---|
| ids * | array | |
| rejectReferenced | boolean | Fail before deletion if any asset is referenced |
delete_branch| Parameter | Type | Description |
|---|---|---|
| branchId * | string | Id of the branch to delete (from list_branches) |
delete_buildPermanently 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.| Parameter | Type | Description |
|---|---|---|
| buildId * | number |
delete_entities| Parameter | Type | Description |
|---|---|---|
| ids * | array |
delete_scene| Parameter | Type | Description |
|---|---|---|
| id * | any | Scene id to delete (the "id" field from list_scenes) |
diff_checkpoints| Parameter | Type | Description |
|---|---|---|
| dstBranchId | string | Branch of the destination checkpoint (defaults to the current branch) |
| dstCheckpointId * | string | Id of the destination (newer) checkpoint |
| srcBranchId | string | Branch of the source checkpoint (defaults to the current branch) |
| srcCheckpointId * | string | Id of the source (older) checkpoint |
download_assetDownload an asset to a local file. Downloads are limited to ${MAX_TRANSFER_BYTES / 1024 / 1024} MiB and never overwrite unless overwrite=true.| Parameter | Type | Description |
|---|---|---|
| overwrite | boolean | |
| path * | string | Local output path |
download_buildCreate 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.| Parameter | Type | Description |
|---|---|---|
| format * | string | |
| outputPath * | string | |
| overwrite | boolean |
duplicate_assetsDuplicate assets in their current folders and return the created asset summaries.| Parameter | Type | Description |
|---|---|---|
| ids * | array |
duplicate_entities| Parameter | Type | Description |
|---|---|---|
| ids * | array | Entity resource_ids to duplicate |
| rename | boolean | Auto-rename duplicates to keep names unique |
duplicate_scene| Parameter | Type | Description |
|---|---|---|
| id * | any | Scene id to duplicate (the "id" field from list_scenes) |
| name * | string | Name for the duplicated scene |
find_entities_by_script| Parameter | Type | Description |
|---|---|---|
| script * | string | Registered script name to look up |
focus_camera| Parameter | Type | Description |
|---|---|---|
| distance * | number | Distance from the point at which to place the camera |
| point * | array | World-space point [x, y, z] to look at |
focus_viewport| Parameter | Type | Description |
|---|---|---|
| ids * | array | Entity resource_ids to frame |
| pitch | number | Custom vertical angle (degrees); ignored if view is set |
| view | string | Preset camera orientation |
| yaw | number | Custom horizontal angle (degrees); ignored if view is set |
generate_texture_metadataGenerate missing pipeline metadata for a texture asset.get_anim_state_graphGet the complete structural data for an anim state graph asset, including layers, states, transitions, conditions, and parameters.get_animation_eventsGet the stable-id event map for a GLB animation asset, including time and optional number/string payloads.get_assetGet the complete JSON for one project asset by id.get_asset_referencesList the project assets, entities, or settings that reference an asset.get_asset_text| Parameter | Type | Description |
|---|---|---|
| assetId * | number | Asset id of a text-based asset (script, text, json, css, html, shader) |
get_buildGet 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.| Parameter | Type | Description |
|---|---|---|
| buildId * | number |
get_checkpoint| Parameter | Type | Description |
|---|---|---|
| checkpointId * | string | Id of the checkpoint to get (from list_checkpoints) |
get_conflict_file| Parameter | Type | Description |
|---|---|---|
| conflictId * | string | Id of the conflict (from the merge's conflicts list) |
| fileName * | string | Name of the conflicting file (from the conflict record) |
| mergeId * | string | Id of the merge (from start_merge) |
| resolved | boolean | Fetch the resolved version instead of the original (default false) |
get_entityGet the complete edit-time JSON for one entity by resource_id.get_merge| Parameter | Type | Description |
|---|---|---|
| mergeId * | string | Id of the merge (from start_merge) |
get_projectget_scene| Parameter | Type | Description |
|---|---|---|
| id * | any | Scene id (the "id" field from list_scenes, not uniqueId) |
get_selectionget_template_overridesRead the current apply/revert override records for a template instance.hard_reset_checkpoint| Parameter | Type | Description |
|---|---|---|
| branchId | string | Branch to hard reset (defaults to the current branch) |
| checkpointId * | string | Id of the checkpoint to hard reset to (from list_checkpoints); all later checkpoints are erased |
inject_input| Parameter | Type | Description |
|---|---|---|
| betweenMs | number | Delay between consecutive events (default 0) |
| events * | array | Ordered list of input events to dispatch |
instantiate_template_assets| Parameter | Type | Description |
|---|---|---|
| ids * | array | Template asset ids to instantiate |
| index | number | Insertion index under the parent |
launch_start| Parameter | Type | Description |
|---|---|---|
| bundles | boolean | |
| concatenate | boolean | |
| debug | boolean | |
| device | string | Graphics device to launch with (default: project setting) |
| engineVersion | string | Engine channel (current | previous | releaseCandidate) or an exact available version; omit to use the Editor's own selection (the Launch button "Use Release Candidate" option, else the session engine-version setting). list_engine_versions reports both. |
| miniStats | boolean | |
| profiler | boolean | |
| waitMs | number | How long to wait for the runtime to connect before returning (default 20000) |
launch_stoplist_assets| Parameter | Type | Description |
|---|---|---|
| full | boolean | Return full asset JSON instead of the compact summary (much larger) |
| limit | number | Max assets to return (default 50) |
| name | string | Filter by name (case-insensitive contains) |
| offset | number | Number of assets to skip (use nextCursor from a previous page) |
| tag | string | Filter by tag |
| type | string | Filter by asset type |
list_branches| Parameter | Type | Description |
|---|---|---|
| closed | boolean | Include closed branches |
| cursor | string | Pagination cursor (a branch id from a previous meta.nextCursor) |
| favorite | boolean | List only your favourite branches |
| limit | number | Max branches to return |
list_buildsList publish and download builds for the designated project, including durable job status and artifacts.| Parameter | Type | Description |
|---|---|---|
| actor | string | |
| branch | string | |
| cursor | string | |
| format | string | |
| limit | number | |
| status | string | |
| type | string |
list_checkpoints| Parameter | Type | Description |
|---|---|---|
| branchId | string | Branch to list checkpoints for (defaults to the current branch) |
| cursor | string | Pagination cursor (a checkpoint id from a previous meta.nextCursor) |
| limit | number | Max checkpoints to return (max 50) |
list_engine_versionslist_entities| Parameter | Type | Description |
|---|---|---|
| full | boolean | Return full entity JSON instead of the compact summary (much larger) |
| limit | number | Max entities to return (default 50) |
| name | string | Filter by name (case-insensitive contains) |
| offset | number | Number of entities to skip (use nextCursor from a previous page) |
| tag | string | Filter by tag |
list_projectslist_sceneslist_store_licensesList valid Store licenses for project imports.load_scene| Parameter | Type | Description |
|---|---|---|
| uniqueId * | any | Scene uniqueId (the "uniqueId" field from list_scenes, not id) |
| wait | boolean | Wait until the editor reports the requested scene is active |
modify_anim_state_graph| Parameter | Type | Description |
|---|---|---|
| operations * | array |
modify_animation_eventsAdd, 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.| Parameter | Type | Description |
|---|---|---|
| operations * | array |
modify_assetsEdit 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.| Parameter | Type | Description |
|---|---|---|
| edits * | array |
modify_bundle_assetAdd or remove project assets from a bundle. Returns accepted and rejected ids; invalid asset types and duplicates are rejected.| Parameter | Type | Description |
|---|---|---|
| add | array | |
| remove | array |
modify_entities| Parameter | Type | Description |
|---|---|---|
| edits * | array |
modify_project_settings| Parameter | Type | Description |
|---|---|---|
| settings * | object | Partial project settings to change (path/value pairs); only provided fields are modified |
modify_scene_settingsmodify_settings| Parameter | Type | Description |
|---|---|---|
| edits * | array |
modify_sprite_assetModify sprite data (atlas, frame order, pixels per unit, render mode) or replace a texture atlas frame map in one undoable edit.move_assetsMove assets to a folder in the designated project and wait until their paths update. Omit folderId to move them to the root.| Parameter | Type | Description |
|---|---|---|
| ids * | array |
move_entity_scriptMove a script to a new execution-order index on an entity.| Parameter | Type | Description |
|---|---|---|
| index * | number | New execution-order index |
| script * | string | Registered script name |
my_assets_importImport an asset owned by the current user into the current project.| Parameter | Type | Description |
|---|---|---|
| name * | string |
my_assets_searchSearch assets owned by the current user.| Parameter | Type | Description |
|---|---|---|
| limit | number | |
| search | string | |
| skip | number |
open_branch| Parameter | Type | Description |
|---|---|---|
| branchId * | string | Id of the closed branch to re-open (from list_branches with closed:true) |
open_projectprefilter_cubemapGenerate runtime lighting data for a cubemap.| Parameter | Type | Description |
|---|---|---|
| legacy | boolean | Generate the compatibility DDS format for older engines |
process_font_assetRebuild a font asset for an explicit character set and optional inversion setting.| Parameter | Type | Description |
|---|---|---|
| characters * | string | |
| invert | boolean |
process_texture_variantsCompress or remove explicit texture variants and wait for processing to settle.| Parameter | Type | Description |
|---|---|---|
| force | boolean | |
| formats * | array | |
| remove | boolean |
query_project_settingsquery_runtime_state| Parameter | Type | Description |
|---|---|---|
| ids | array | Entity resource_ids to inspect (same GUIDs as edit-time). Omit to filter by name or list all. |
| limit | number | Max entities to return (default 50) |
| name | string | Filter by entity name (case-insensitive substring) |
| offset | number | Entities to skip (use nextCursor from a previous page) |
query_scene_settingsquery_settings| Parameter | Type | Description |
|---|---|---|
| path | string |
query_viewport_stateRead the exact editor viewport camera and overlay state so it can be restored after visual inspection.query_viewport_visibilityList entities hidden only in the editor viewport. This does not read or change persisted entity enabled values.read_editor_logsRead recent edit-time Editor console logs with filters and pagination.| Parameter | Type | Description |
|---|---|---|
| limit | number | |
| offset | number | |
| search | string | |
| since | number | Minimum Unix timestamp in milliseconds |
| types | array |
read_runtime_logs| Parameter | Type | Description |
|---|---|---|
| keyword | string | Only include entries whose text contains this (case-insensitive) |
| level | string | Minimum severity to include (default: warn) |
| limit | number | Max entries to return (default 100) |
| offset | number | Entries to skip from the newest (use nextCursor) |
redoreimport_assetsRe-run the import pipeline for existing source assets and return succeeded and failed entries.| Parameter | Type | Description |
|---|---|---|
| ids * | array |
remove_components| Parameter | Type | Description |
|---|---|---|
| components * | array |
remove_entity_scriptsRemove a script from one or more entities.| Parameter | Type | Description |
|---|---|---|
| entityIds * | array | |
| script * | string | Registered script name |
rename_sceneRename the currently loaded scene. Load another scene first to rename it.| Parameter | Type | Description |
|---|---|---|
| name * | string |
reparent_entity| Parameter | Type | Description |
|---|---|---|
| index | number | Insertion index among the parent's children |
| preserveTransform | boolean | Keep the same world transform after reparenting |
replace_assetReplace references to one asset with another asset.resolve_conflicts| Parameter | Type | Description |
|---|---|---|
| conflictIds * | array | Ids of the conflicts to resolve (from the merge's conflicts list) |
| mergeId * | string | Id of the merge (from start_merge) |
| resolution * | string | "source" = keep the merged-in branch, "dest" = keep the current branch, "revert" = un-resolve |
resolve_entities| Parameter | Type | Description |
|---|---|---|
| exact | boolean | Require an exact (case-insensitive) name match instead of substring |
| name * | string | Entity name to look up |
restore_checkpoint| Parameter | Type | Description |
|---|---|---|
| branchId | string | Branch to restore on (defaults to the current branch) |
| checkpointId * | string | Id of the checkpoint to restore (from list_checkpoints) |
revert_template_overridesRevert all overrides on a template instance, or only the supplied override records.| Parameter | Type | Description |
|---|---|---|
| overrides | array |
script_parse| Parameter | Type | Description |
|---|---|---|
| assetId * | number | Script asset id |
search_entities| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results to return (default: all matches) |
| query * | string | Name (or partial name) to fuzzy-match against |
set_asset_textOverwrite the full contents of a CSS, HTML, JSON, script, shader, or text asset.| Parameter | Type | Description |
|---|---|---|
| assetId * | number | Text-based asset id |
| text * | string | Full replacement contents |
set_material_diffuseset_material_propertiesset_primary_buildSet 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.| Parameter | Type | Description |
|---|---|---|
| buildId * | number |
set_script_text| Parameter | Type | Description |
|---|---|---|
| assetId * | number | Script asset id |
| text * | string | Full JavaScript/TypeScript source of the script |
set_selection| Parameter | Type | Description |
|---|---|---|
| ids * | array | Ids to select (entity resource_ids or asset ids); empty clears the selection |
| type * | string | What kind of items the ids refer to |
set_transform_gizmo| Parameter | Type | Description |
|---|---|---|
| mode | string | Transform gizmo mode |
| snap | boolean | Enable or disable grid/angle snapping |
| space | string | Coordinate space the gizmo operates in |
set_viewport_stateSet 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.| Parameter | Type | Description |
|---|---|---|
| bones | boolean | |
| cameraId | string | Editor camera name (perspective/top/front/etc.) or camera entity resource_id |
| expanded | boolean | |
| grid | object | |
| iconSize | number | |
| orthoHeight | number | |
| position | array | |
| projection | string | |
| rotation | array |
set_viewport_visibilityHide or show entities only in the editor viewport without changing their persisted enabled values.| Parameter | Type | Description |
|---|---|---|
| hidden * | boolean | |
| ids * | array |
sketchfab_getGet a Sketchfab model by uid.| Parameter | Type | Description |
|---|---|---|
| uid * | string |
sketchfab_importImport a downloadable Sketchfab model into the current project.| Parameter | Type | Description |
|---|---|---|
| license * | object | |
| name * | string | |
| uid * | string |
sketchfab_searchSearch downloadable Sketchfab models.| Parameter | Type | Description |
|---|---|---|
| cursor | string | |
| limit | number | |
| order | string | |
| search | string |
start_merge| Parameter | Type | Description |
|---|---|---|
| closeSource | boolean | Close the source branch after the merge is finalized (default false) |
| sourceBranchId * | string | Id of the branch to merge into the current branch (from list_branches) |
store_download| Parameter | Type | Description |
|---|---|---|
| id * | string | Store asset id (from store_search) |
| license * | object | License info from store_get |
| name * | string | Name for the imported asset |
store_get| Parameter | Type | Description |
|---|---|---|
| id * | string | Store asset id (from store_search) |
store_search| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results to return |
| order | string | Sort order |
| search * | string | Search keywords |
| skip | number | Number of results to skip (pagination) |
switch_branch| Parameter | Type | Description |
|---|---|---|
| branchId * | string | Id of the branch to switch to (the "id" field from list_branches) |
undounlink_template_instancesUnlink template instances while keeping their current entity data.| Parameter | Type | Description |
|---|---|---|
| entityIds * | array |
unwrap_model_assetGenerate UV1 data for a model asset using the editor's unwrap worker and update its source file.| Parameter | Type | Description |
|---|---|---|
| padding | number | UV island padding in pixels (default 2) |
update_project| Parameter | Type | Description |
|---|---|---|
| description | string | New project description |
| name | string | New project name |
| private | boolean | Make the project private or public |
upload_assetsUpload 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.| Parameter | Type | Description |
|---|---|---|
| assets | array | Existing asset id whose source file should be replaced |
vcs_statusSecurity checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 803 words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- !No dynamic code executionScanned 27 source files and found 3 calls to eval or shell execution, in src/server.ts:37 and src/server.ts:48 among others. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/server.ts:4
- Starts other programs
- 4 callssrc/server.ts:37, src/server.ts:48, src/server.ts:55
- Outbound network calls
- 2 callssrc/server.ts:93, src/tools/build.ts:235
- Writes or deletes files
- No file writes or deletes
- Lockfile
- package-lock.json
Pattern matches on the source text of 27 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 803 words, fetched a month ago. The original in the repository is authoritative.
Read full README