PlayCanvas
Created 5 months ago
An MCP Server for automating the PlayCanvas Editor using an LLM.
development
automation
PlayCanvas
LLM
editor
What is PlayCanvas?
Create interactive 3D web apps with the PlayCanvas Editor.
Documentation
Available Tools
- Entity
list_entitiescreate_entitiesdelete_entitiesduplicate_entitiesmodify_entitiesreparent_entityadd_componentsremove_componentsadd_script_component_script
- Asset
list_assetscreate_assetsdelete_assetsinstantiate_template_assetsset_script_textscript_parseset_material_diffuse
- Scene
query_scene_settingsmodify_scene_settings
- Store
store_searchstore_getstore_download
Installation
Run npm install to install all dependencies.
Install Chrome Extension
- Visit
chrome://extensions/and enable Developer mode - Click
Load unpackedand select theextensionsfolder - Load the PlayCanvas Editor. The extension should be loaded.
Run MCP Server
The MCP Server can be driven by Cursor or Claude Desktop.
Claude Desktop
- Install Claude Desktop.
- Go to
Claude>Settings. - Select
Developerand thenEdit Config. - This will open
claude_desktop_config.json, your MCP Config JSON file.
Cursor
- Install Cursor.
- Select
File>Preferences>Cursor Settings. - Click
+ Add new global MCP server. - This will open
mcp.json, your MCP Config JSON file.
MCP Config JSON File
This is how your config should look:
Windows
{
"mcpServers": {
"playcanvas": {
"command": "cmd",
"args": ["/c", "npx", "tsx", "C:\path\to\mcp-editor\src\server.ts"],
"env": {"PORT": "52000"}
}
}
}
macOS
{
"mcpServers": {
"playcanvas": {
"command": "npx",
"args": ["tsx", "/path/to/mcp-editor/src/server.ts"],
"env": {"PORT": "52000"}
}
}
}
Connecting the Editor to the MCP Server
The PlayCanvas Editor does not connect to the MCP Server automatically. To connect:
- Activate a Chrome tab running the PlayCanvas Editor.
- Select the Extensions icon to the right of the address bar.
- Select PlayCanvas Editor MCP Extension to open the extension popup.
- Select
CONNECT(the port number should match what is set in your MCP Config JSON File).
Server Config
{
"mcpServers": {
"playcanvas-server": {
"command": "npx",
"args": [
"playcanvas"
]
}
}
}
Links & Status
Project Info
Hosted
Featured
Created At:
Jul 02, 2025
Updated At:
Aug 07, 2025
Author:
PlayCanvas Team
Category:
official
License:
MIT
Tags:
development
automation
PlayCanvas