Skip to content
Back to search

editor-mcp-server

MCP Server for AI automation of the PlayCanvas Editor

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 11 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/playcanvas/editor-mcp-server with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/playcanvas/editor-mcp-server'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/playcanvas--editor-mcp-server/badge.svg)](/listings/playcanvas--editor-mcp-server)

HTML

<a href="/listings/playcanvas--editor-mcp-server"><img src="/api/listings/playcanvas--editor-mcp-server/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Requires [Node.js](https://nodejs.org/) 22.18+. The server is published to npm as [`@playcanvas/editor-mcp-server`](https://www.npmjs.com/package/@playcanvas/editor-mcp-server) — a self-contained, zero-dependency bundle — so every client below runs it with `npx`. Nothing to clone or build.

Claude Code

claude mcp add playcanvas -- npx -y @playcanvas/editor-mcp-server

To share the server with everyone working on a repo, commit a `.mcp.json` to the project root instead:

{
  "mcpServers": {
    "playcanvas": {
      "command": "npx",
      "args": ["-y", "@playcanvas/editor-mcp-server"]
    }
  }
}

Codex

The Codex CLI and the Codex app share `~/.codex/config.toml`, so one command covers both:

codex mcp add playcanvas -- npx -y @playcanvas/editor-mcp-server

> [!NOTE] > On Windows, use `codex mcp add playcanvas -- cmd /c npx -y @playcanvas/editor-mcp-server`. If the server times out on first run (while `npx` downloads the package), raise `startup_timeout_sec` under `[mcp_servers.playcanvas]` in `~/.codex/config.toml`. ChatGPT itself only supports remote MCP connectors, so Codex is the OpenAI surface to use.

Claude Desktop

Go to `Claude` > `Settings` > `Developer` > `Edit Config` and add to `claude_desktop_config.json`:

{
  "mcpServers": {
    "playcanvas": {
      "command": "npx",
      "args": ["-y", "@playcanvas/editor-mcp-server"]
    }
  }
}

> [!NOTE] > On Windows, use `"command": "cmd"` and `"args": ["/c", "npx", "-y", "@playcanvas/editor-mcp-server"]`.

Cursor

Select `File` > `Preferences` > `Cursor Settings` > `MCP` > `Add new global MCP server` and add the same JSON as for Claude Desktop.

Custom Port

The server listens for the Editor on WebSocket port `52000` by default. To change it, append `--port <number>` to the `npx` args and set the same port in the Editor's MCP popover.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 132 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. # PlayCanvas Editor MCP Server
  2. [![npm](https://img.shields.io/npm/dm/@playcanvas/editor-mcp-server?label=npm)](https://www.npmjs.com/package/@playcanvas/editor-mcp-server)
  3. [![Version](https://img.shields.io/github/v/release/playcanvas/editor-mcp-server?include_prereleases&label=version)](https://github.com/playcanvas/editor-mcp-server/releases)
  4. [![CI](https://github.com/playcanvas/editor-mcp-server/actions/workflows/ci.yml/badge.svg)](https://github.com/playcanvas/editor-mcp-server/actions/workflows/ci.yml)
  5. [![License](https://img.shields.io/github/license/playcanvas/editor-mcp-server)](LICENSE)
  6. [![Context](https://img.shields.io/badge/context-~43k_tokens_of_tool_definitions-blue)](#context-cost)
  7. [![Discord](https://img.shields.io/badge/Discord-5865F2?style=flat&logo=discord&logoColor=white&color=black)](https://discord.gg/RSaMRzg)
  8. [![Reddit](https://img.shields.io/badge/Reddit-FF4500?style=flat&logo=reddit&logoColor=white&color=black)](https://www.reddit.com/r/PlayCanvas)
  9. [![X](https://img.shields.io/badge/X-000000?style=flat&logo=x&logoColor=white&color=black)](https://x.com/playcanvas)
  10. | [npm](https://www.npmjs.com/package/@playcanvas/editor-mcp-server) | [Developer Site](https://developer.playcanvas.com/) | [Editor Manual](https://developer.playcanvas.com/user-manual/editor/) | [API Reference](https://api.playcanvas.com/editor/) | [Blog](https://blog.playcanvas.com/) | [Forum](https://forum.playcanvas.com/) |
  11. An MCP server that lets AI agents automate the
  12. [PlayCanvas Editor](https://playcanvas.com/products/editor) and check that scenes actually run. The
  13. MCP client is built into the Editor, so no browser extension is needed.
  14. <img width="1864" alt="PlayCanvas Editor driven by an MCP client" src="https://github.com/user-attachments/assets/393ffe73-40eb-4e1b-9442-2295bbb63326" />
  15. ## Install
  16. Add the server to your MCP client. For Claude Code:
  17. ```bash
  18. claude mcp add playcanvas -- npx -y @playcanvas/editor-mcp-server
  19. ```
  20. Requires [Node.js](https://nodejs.org/) 22.18+. Add the server once per agent: two servers take
  21. turns owning the Editor port.
  22. <details>
  23. <summary><strong>Claude Desktop, Cursor, and a shared project <code>.mcp.json</code></strong></summary>
  24. ```json
  25. {
  26. "mcpServers": {
  27. "playcanvas": {
  28. "command": "npx",
  29. "args": ["-y", "@playcanvas/editor-mcp-server"]
  30. }
  31. }
  32. }
  33. ```
  34. Add this to `claude_desktop_config.json` (`Settings` > `Developer` > `Edit Config`), to Cursor's
  35. global MCP servers (`Cursor Settings` > `MCP`), or to a `.mcp.json` committed to the project root
  36. for Claude Code. On Windows, use `"command": "cmd"` with `"args": ["/c", "npx", "-y", "@playcanvas/editor-mcp-server"]`.
  37. </details>
  38. <details>
  39. <summary><strong>Codex CLI and app</strong></summary>
  40. ```bash
  41. codex mcp add playcanvas -- npx -y @playcanvas/editor-mcp-server
  42. ```
  43. On Windows, insert `cmd /c` before `npx`. If the first run times out while `npx` downloads, raise
  44. `startup_timeout_sec` under `[mcp_servers.playcanvas]` in `~/.codex/config.toml`.
  45. </details>
  46. Then open your project in the Editor, click the MCP button below Publish, and click `CONNECT`. To
  47. start with no project open, use the MCP button next to `NEW PROJECT` on `playcanvas.com/editor`. Allow
  48. Chrome's `Apps on device` permission when prompted; if the Editor stays on `Connecting`, it is
  49. blocked. The default port is `52000`; to change it, pass `--port <number>` to the server and set the
  50. same port in the Editor.
  51. ## Usage
  52. Ask your agent for the outcome you want in the open project. For example:
  53. ```text
  54. Add a spinning cube with a rotate script to the current scene, launch it, and capture a screenshot
  55. of the running app to confirm it turns.
  56. ```
  57. Coding agents: start from the [Editor guides index](https://developer.playcanvas.com/user-manual/editor/llms.txt) and the [Editor API index](https://api.playcanvas.com/editor/llms.txt), which link a Markdown version of every page.
  58. ## Tools
  59. | Category | Coverage |
  60. | --- | --- |
  61. | Projects | Listing, exact reads, creation, name, description and visibility edits, and opening a project in the connected Editor |
  62. | Entity | Exact reads, filtered lists, resolution, search, script lookup, creation, schema-safe batch edits, duplication, hierarchy changes, deletion and component lifecycle |
  63. | Scripts | Asset text reads and writes, parsing, attachment, attributes, ordering and removal |
  64. | 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 |
  65. | Templates | Instantiation and instance override inspection, application, reversion and unlinking |
  66. | Animation | Animation state graph reads and edits, mapping-safe state renames and animation events |
  67. | Processing | Lightmaps, model unwrap and cancellation, texture conversion, atlases, cubemaps, fonts, metadata, compressed variants, prefiltering, sprites and bundles |
  68. | Scene | Exact reads, listing, loading, creation, duplication, rename, deletion and scene settings |
  69. | Settings | Scoped project, private, user, session and scene settings reads and edits |
  70. | Viewport | Camera and viewport state, visibility, capture and focus |
  71. | Editor | Selection, edit-time logs, transform gizmo state, undo and redo |
  72. | Builds | Listing, exact reads, creation options, streamed downloads, primary build selection and deletion |
  73. | Store | PlayCanvas Store search and import, licenses, Sketchfab search and import, and My Assets search and import |
  74. | Runtime | Launch lifecycle and options, engine version discovery, screenshots, logs, live state inspection and keyboard, mouse and touch input |
  75. | VCS | Branches, checkpoints, restore and hard reset, merges, conflict resolution and checkpoint diffs |
  76. Tools act on the project open in the connected Editor, one Editor at a time. Project tools also
  77. work from the project manager at `playcanvas.com/editor` with no project open; opening a project
  78. reloads the tab into it and reconnects automatically. Projects can't be deleted. Runtime tools open
  79. a Launch window, so allow pop-ups for the Editor.
  80. ## Context cost
  81. The 130 tool definitions total about 43,000 tokens (4 characters per token). Claude Code's
  82. [MCP tool search](https://code.claude.com/docs/en/mcp) is on by default and loads only tool names at
  83. start, about 1,000 tokens.
  84. ## Data and network use
  85. The server has no telemetry. It listens on `127.0.0.1:52000` for `playcanvas.com` and localhost
  86. pages, stops any other process holding that port, touches local files only for upload and download
  87. tools, and makes one outbound request: `download_build` fetches the archive URL the Editor reports.
  88. ## Contributing
  89. ```bash
  90. git clone https://github.com/playcanvas/editor-mcp-server.git
  91. cd editor-mcp-server
  92. npm install
  93. npm run watch
  94. ```
  95. Point your MCP client at `src/server.ts` with `"command": "node"`. `npm run debug` opens the MCP
  96. Inspector and `npm run build` produces the published bundle. Report bugs in
  97. [GitHub Issues](https://github.com/playcanvas/editor-mcp-server/issues).
  98. ## License
  99. The PlayCanvas Editor MCP Server is released under the [MIT License](LICENSE).

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.