What is Editor Mcp Server?
Editor Mcp Server is an MCP server that automates the PlayCanvas Editor using an LLM. It provides tools for managing entities, assets, scenes, viewport capture, and runtime testing via a real PlayCanvas Launch instance. Designed for developers using Claude Desktop or Cursor, it enables natural-language-driven editing and debugging of 3D scenes.
How to use Editor Mcp Server?
Install dependencies with npm install, load the Chrome extension (unpacked from the extension folder), then run npx tsx src/server.ts with a PORT env variable (default 52000). In the PlayCanvas Editor tab, open the extension popup and click CONNECT. Configure the MCP server in Claude Desktop or Cursor using the provided JSON config. Cursor users must select Agent mode.
Key features of Editor Mcp Server
- 30+ tools covering entities, assets, scene settings, viewport, and runtime
- Live runtime control: launch, capture, read logs, and inject input
- Consistent response envelope with pagination and error reporting
- Read-only, destructive, and open-world tool annotations for safe LLM use
- Chrome extension connects the PlayCanvas Editor to the MCP server
Use cases of Editor Mcp Server
- Create, modify, and delete entities and components via natural language
- Script editing: parse, attach, and set script text from the LLM
- Verify scene behavior by launching the app and inspecting runtime logs
- Capture viewport snapshots and focus the editor on specific entities
评论