MCP Editor logo

MCP Editor

by playcanvas

An MCP Server for automating the PlayCanvas Editor using an LLM. It allows you to control and modify your PlayCanvas projects through natural language commands.

View on GitHub

Last updated: N/A

What is MCP Editor?

The MCP Editor is a server that enables automation of the PlayCanvas Editor using a Large Language Model (LLM). It provides a set of tools to interact with the PlayCanvas Editor programmatically, allowing users to create, modify, and manage their projects using natural language commands.

How to use MCP Editor?

To use the MCP Editor, you need to install the server and a compatible LLM environment like Claude Desktop or Cursor. After installing the Chrome extension and configuring the MCP server, connect the PlayCanvas Editor to the server via the extension. You can then issue commands in Claude Desktop or Cursor to interact with your PlayCanvas project.

Key features of MCP Editor

  • Entity manipulation (create, delete, modify, reparent)

  • Asset management (create, delete, instantiate, set script text)

  • Scene settings modification

  • Store interaction (search, get, download)

  • Integration with Claude Desktop and Cursor LLM environments

Use cases of MCP Editor

  • Automated scene creation and modification

  • Rapid prototyping of game mechanics

  • Batch asset management

  • AI-assisted level design

  • Script generation and modification

FAQ from MCP Editor

What LLMs are supported?

Currently, the MCP Server is primarily designed to work with Anthropic's Claude.

Do I need a paid Claude account?

While it may work with the free tier, a Pro Claude account is strongly recommended due to the larger chat context required for reliable operation.

How do I install the Chrome extension?

Enable Developer mode in chrome://extensions/, click 'Load unpacked', and select the 'extensions' folder.

How do I configure the MCP Server?

The configuration involves setting up an MCP Config JSON file in either Claude Desktop or Cursor with the correct command and arguments to run the server. Example configurations for Windows and macOS are provided.

Why can't I connect more than one PlayCanvas Editor instance?

The MCP Server currently only supports connecting to one instance of the PlayCanvas Editor at a time.