Lets agents automate the PlayCanvas Editor to build interactive 3D web apps.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add playcanvas-editor --env PORT='<PORT>' -- npx tsx path/to/your/main.ts~/.codex/config.toml
[mcp_servers.playcanvas-editor]
command = "npx"
args = ["tsx", "path/to/your/main.ts"]
env = { PORT = "<PORT>" }
# codex mcp add playcanvas-editor --env PORT='<PORT>' -- npx tsx path/to/your/main.ts~/.cursor/mcp.json
{
"mcpServers": {
"playcanvas-editor": {
"command": "npx",
"args": [
"tsx",
"path/to/your/main.ts"
],
"env": {
"PORT": "<PORT>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"playcanvas-editor": {
"type": "stdio",
"command": "npx",
"args": [
"tsx",
"path/to/your/main.ts"
],
"env": {
"PORT": "<PORT>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"playcanvas-editor": {
"command": "npx",
"args": [
"tsx",
"path/to/your/main.ts"
],
"env": {
"PORT": "<PORT>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"playcanvas-editor": {
"command": "npx",
"args": [
"tsx",
"path/to/your/main.ts"
],
"env": {
"PORT": "<PORT>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"playcanvas-editor": {
"command": "npx",
"args": [
"tsx",
"path/to/your/main.ts"
],
"env": {
"PORT": "<PORT>"
}
}
}
}Environment variables
PORT
Replace the placeholders with your own credentials and keep them out of version control.