PlayCanvas Editor MCP Server
Automates the PlayCanvas Editor: creates and edits entities and components, reads/writes scripts, manipulates assets, templates, animation state graphs, scenes, settings and builds, launches the running app to capture screenshots and logs, inspects live runtime state, and simulates keyboard, mouse and touch input.
Searches Sketchfab and imports models from it into the open PlayCanvas project.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PlayCanvas Editor MCP ServerAdd a spinning cube with a rotate script, launch the app, and screenshot it"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PlayCanvas Editor MCP Server
| npm | Developer Site | Editor Manual | API Reference | Blog | Forum |
An MCP server that lets AI agents automate the PlayCanvas Editor and check that scenes actually run. The MCP client is built into the Editor, so no browser extension is needed.
Install
Add the server to your MCP client. For Claude Code:
claude mcp add playcanvas -- npx -y @playcanvas/editor-mcp-serverRequires Node.js 22.18+. Add the server once per agent: two servers take turns owning the Editor port.
{
"mcpServers": {
"playcanvas": {
"command": "npx",
"args": ["-y", "@playcanvas/editor-mcp-server"]
}
}
}Add this to claude_desktop_config.json (Settings > Developer > Edit Config), to Cursor's
global MCP servers (Cursor Settings > MCP), or to a .mcp.json committed to the project root
for Claude Code. On Windows, use "command": "cmd" with "args": ["/c", "npx", "-y", "@playcanvas/editor-mcp-server"].
codex mcp add playcanvas -- npx -y @playcanvas/editor-mcp-serverOn Windows, insert cmd /c before npx. If the first run times out while npx downloads, raise
startup_timeout_sec under [mcp_servers.playcanvas] in ~/.codex/config.toml.
Then open your project in the Editor, click the MCP button below Publish, and click CONNECT. To
start with no project open, use the MCP button next to NEW PROJECT on playcanvas.com/editor. Allow
Chrome's Apps on device permission when prompted; if the Editor stays on Connecting, it is
blocked. The default port is 52000; to change it, pass --port <number> to the server and set the
same port in the Editor.
Related MCP server: PlayCanvas Editor MCP Server
Usage
Ask your agent for the outcome you want in the open project. For example:
Add a spinning cube with a rotate script to the current scene, launch it, and capture a screenshot
of the running app to confirm it turns.Tools
Category | Coverage |
Projects | Listing, exact reads, creation, name, description and visibility edits, and opening a project in the connected Editor |
Entity | Exact reads, filtered lists, resolution, search, script lookup, creation, schema-safe batch edits, duplication, hierarchy changes, deletion and component lifecycle |
Scripts | Asset text reads and writes, parsing, attachment, attributes, ordering and removal |
Assets | Exact reads, reference graphs, native creation, streamed upload and atomic download up to 512 MiB, schema-safe edits, moves, duplication, source replacement, reimport, deletion and materials |
Templates | Instantiation and instance override inspection, application, reversion and unlinking |
Animation | Animation state graph reads and edits, mapping-safe state renames and animation events |
Processing | Lightmaps, model unwrap and cancellation, texture conversion, atlases, cubemaps, fonts, metadata, compressed variants, prefiltering, sprites and bundles |
Scene | Exact reads, listing, loading, creation, duplication, rename, deletion and scene settings |
Settings | Scoped project, private, user, session and scene settings reads and edits |
Viewport | Camera and viewport state, visibility, capture and focus |
Editor | Selection, edit-time logs, transform gizmo state, undo and redo |
Builds | Listing, exact reads, creation options, streamed downloads, primary build selection and deletion |
Store | PlayCanvas Store search and import, licenses, Sketchfab search and import, and My Assets search and import |
Runtime | Launch lifecycle and options, engine version discovery, screenshots, logs, live state inspection and keyboard, mouse and touch input |
VCS | Branches, checkpoints, restore and hard reset, merges, conflict resolution and checkpoint diffs |
Tools act on the project open in the connected Editor, one Editor at a time. Project tools also
work from the project manager at playcanvas.com/editor with no project open; opening a project
reloads the tab into it and reconnects automatically. Projects can't be deleted. Runtime tools open
a Launch window, so allow pop-ups for the Editor.
Context cost
The 130 tool definitions total about 43,000 tokens (4 characters per token). Claude Code's MCP tool search is on by default and loads only tool names at start, about 1,000 tokens.
Data and network use
The server has no telemetry. It listens on 127.0.0.1:52000 for playcanvas.com and localhost
pages, stops any other process holding that port, touches local files only for upload and download
tools, and makes one outbound request: download_build fetches the archive URL the Editor reports.
Contributing
git clone https://github.com/playcanvas/editor-mcp-server.git
cd editor-mcp-server
npm install
npm run watchPoint your MCP client at src/server.ts with "command": "node". npm run debug opens the MCP
Inspector and npm run build produces the published bundle. Report bugs in
GitHub Issues.
License
The PlayCanvas Editor MCP Server is released under the MIT License.
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Publish in seconds, get the audience, start monetization, get all analytics — without leaving your agent. Playgama MCP is a remote MCP server for game developers. Point Codex, Claude Code, Cursor or VS Code at it and your agent works inside your Playgama developer cabinet: it creates a game and fills in the form, uploads a build and polls until the engine analysis is done, uploads covers in the exact sizes the form requires, edits the in-app catalog and leaderboards, gets a QA Tool link, and publishes a sandbox — a public link anyone can play, with no moderation step. It can also bring the first players to that sandbox through Playgama DSP, with the first run per game free. 22 tools, 11 of them read-only; every write is annotated as destructive so your client asks first. Submitting to moderation, deleting and payouts are deliberately left out: the agent prepares everything, a human presses the button. Authentication is OAuth 2.1 with dynamic client registration — there is no token to copy. The client opens a browser on first use, and connected agents are listed and revocable in the cabinet. After the link is live the game takes its first players from the Playgama network, and Playgama DSP can send more the same day (beta). Once it clears the session threshold you can switch on advertising — Playgama Ad serves rewarded, interstitial and banner formats through one JS SDK (access by request). Playgama Wrap turns the same game into a standalone site on your own domain with player accounts, in-game purchases and indexable SEO pages (early access), and Playgama Bridge SDK gives one API for ads, leaderboards, payments and platform SDKs when you publish across platforms. Playtime, retention and revenue reports are in the developer dashboard, and payouts start at 100 USD. Product page: https://playgama.com/mcp/ Docs: https://wiki.playgama.com/playgama/mcp Tools reference: https://wiki.playgama.com/playgama/mcp/tools Connected agents: https://developer.playgama.com/mcp
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
AI video editor for agents and humans: timeline, captions, color, audio and generation as MCP tools.
Related MCP Servers
- 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.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to automate the PlayCanvas Editor and verify that scenes actually run, covering project, entity, script, asset, template, animation, scene, build, runtime, and VCS operations through a built-in MCP client.-
- FlicenseNot gradedqualityAmaintenanceLets AI agents drive the PlayCanvas Editor directly—creating and editing entities, scripts, assets, templates, animations, scenes, builds, and version control—and then launch the project to verify it actually runs. It also covers project management, viewport control, runtime input, logs, and screenshots, with the MCP client built into the Editor so no browser extension is needed.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to automate the PlayCanvas Editor directly through its built-in MCP client, manipulating projects, entities, scripts, assets, scenes, builds and version control, then launching the app and inspecting runtime state and screenshots to confirm scenes actually run.-