This bridges Claude or Cursor to the PlayCanvas Editor through a Chrome extension and local runtime. You get programmatic control over entity hierarchies, component manipulation, asset creation, script injection, and material tweaking. The server exposes 20+ tools covering everything from duplicating entities and reparenting nodes to searching the PlayCanvas store and capturing viewport screenshots. Setup requires loading an unpacked Chrome extension and pointing your MCP config at the TypeScript server. Worth noting that it needs a Pro Claude account for reliable context windows, and only one Editor instance can connect at a time. Best for automating repetitive scene construction or letting an LLM handle bulk modifications to your 3D projects.
██████╗ ██╗ █████╗ ██╗ ██╗ ██████╗ █████╗ ███╗ ██╗██╗ ██╗ █████╗ ███████╗
██╔══██╗██║ ██╔══██╗╚██╗ ██╔╝██╔════╝██╔══██╗████╗ ██║██║ ██║██╔══██╗██╔════╝
██████╔╝██║ ███████║ ╚████╔╝ ██║ ███████║██╔██╗ ██║██║ ██║███████║███████╗
██╔═══╝ ██║ ██╔══██║ ╚██╔╝ ██║ ██╔══██║██║╚██╗██║╚██╗ ██╔╝██╔══██║╚════██║
██║ ███████╗██║ ██║ ██║ ╚██████╗██║ ██║██║ ╚████║ ╚████╔╝ ██║ ██║███████║
╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═══╝ ╚═╝ ╚═╝╚══════╝
███╗ ███╗ ██████╗██████╗ ███████╗███████╗██████╗ ██╗ ██╗███████╗██████╗
████╗ ████║██╔════╝██╔══██╗ ██╔════╝██╔════╝██╔══██╗██║ ██║██╔════╝██╔══██╗
██╔████╔██║██║ ██████╔╝ ███████╗█████╗ ██████╔╝██║ ██║█████╗ ██████╔╝
██║╚██╔╝██║██║ ██╔═══╝ ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██╔══╝ ██╔══██╗
██║ ╚═╝ ██║╚██████╗██║ ███████║███████╗██║ ██║ ╚████╔╝ ███████╗██║ ██║
╚═╝ ╚═╝ ╚═════╝╚═╝ ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝
An MCP Server for automating the PlayCanvas Editor using an LLM.
[!IMPORTANT]
At the moment, the MCP Server needs to be driven by Anthropic's Claude. Our experience shows that the free tier for Claude does not deliver a big enough chat context to operate the MCP Server reliably. Therefore, we strongly recommend subscribing to a Pro Claude account.
list_entitiesresolve_entitiescreate_entitiesdelete_entitiesduplicate_entitiesmodify_entitiesreparent_entityadd_componentsremove_componentsadd_script_component_scriptattach_scriptlist_assetscreate_assetsdelete_assetsinstantiate_template_assetsset_script_textscript_parseset_material_diffuseset_material_propertiesquery_scene_settingsmodify_scene_settingsstore_searchstore_getstore_downloadcapture_viewportfocus_viewportlaunch_startlaunch_stopcapture_runtimeread_runtime_logsinject_inputThe runtime tools drive a real Launch instance (the editor's Launch button) so you can verify that a scene actually runs, not just how it looks at edit time:
launch_start opens https://launch.playcanvas.com/<sceneId>?debug=true in a new
window. The extension injects a content script there that connects back to the MCP
server as the "runtime" peer. launch_start returns { url, sceneId, ready }.capture_runtime screenshots the running app (scripts/physics/animation active).read_runtime_logs returns the app's console output + uncaught
exceptions/rejections (newest first, paginated; defaults to warnings + errors).inject_input dispatches keyboard / mouse / touch events to the running app
(e.g. hold W for 500ms, click at a canvas coordinate, tap the screen), so you
can drive end-to-end interactions and then verify with capture_runtime.launch_stop closes the launch window.Notes:
launch_start cannot open the window.chrome://extensions/ after updating it so the new
launch content script + permissions take effect.Every tool returns a single, consistent envelope so agents can pattern-match on a stable shape:
{
"data": <result> | null, // business payload; an empty set is [], never an error
"meta": {
"tool": "entities:list",
"status": "ok" | "error",
"message": "...", // present only on error; actionable, with a recovery hint
// list tools also include pagination metadata:
"total": 120, "count": 50, "hasMore": true, "nextCursor": "50"
}
}
Notes for tool authors / agents:
error field; they set meta.status = "error" and put an actionable message in meta.message (the protocol-level isError flag is also set).list_*, resolve_entities) are a successful empty list, not an error.list_entities / list_assets accept limit (default 50) + offset. Page using meta.nextCursor (pass it back as offset) and stop when meta.hasMore is false.create_entities, modify_entities, add_components, reparent_entity, duplicate_entities, instantiate_template_assets, …) return the resulting entity/asset summaries — including a human-readable hierarchy path — so you rarely need a follow-up list_entities call.readOnlyHint, destructive tools (delete_*) declare destructiveHint, and store tools declare openWorldHint (they reach the network).capture_viewport) return a protocol image block plus a parallel text block carrying the same meta.Run npm install to install all dependencies.
chrome://extensions/ and enable Developer modeLoad unpacked and select the extension folderThe MCP Server can be driven by Cursor or Claude Desktop.
[!TIP]
We have found Claude Desktop to be generally more reliable.
Claude > Settings.Developer and then Edit Config.claude_desktop_config.json, your MCP Config JSON file.File > Preferences > Cursor Settings.+ Add new global MCP server.mcp.json, your MCP Config JSON file.[!TIP]
Also inCursor Settings, selectFeaturesand scroll to theChatsection. ActivateEnable auto-run modeto allow the LLM to run MCP tools without requiring constant authorization. You do this at your own risk (but we prefer it)!
[!IMPORTANT]
In Cursor, ensure you haveAgentselected.AskandEditmodes will not recognize the MCP Server.
This is how your config should look:
Windows
{
"mcpServers": {
"playcanvas": {
"command": "cmd",
"args": [
"/c",
"npx",
"tsx",
"C:\\path\\to\\editor-mcp-server\\src\\server.ts"
],
"env": {
"PORT": "52000"
}
}
}
}
macOS
{
"mcpServers": {
"playcanvas": {
"command": "npx",
"args": [
"tsx",
"/path/to/editor-mcp-server/src/server.ts"
],
"env": {
"PORT": "52000"
}
}
}
}
The PlayCanvas Editor does not connect to the MCP Server automatically. To connect:
CONNECT (the port number should match what is set in your MCP Config JSON File).[!NOTE] You can currently only connect one instance of the PlayCanvas Editor to the MCP Server at any one time.
You should now be able to issue commands in Claude Desktop or Cursor.
makafeli/n8n-workflow-builder
danishashko/make-mcp
lukisch/n8n-manager-mcp
io.github.us-all/airflow
io.github.infoinlet-marketplace/mcp-workflow