playcanvas_editor-mcp-server

playcanvas_editor-mcp-server

3.5

An MCP Server for automating the PlayCanvas Editor using an LLM.

The Model Context Protocol (MCP) Server is designed to automate the PlayCanvas Editor by leveraging a Language Model (LLM). It provides a suite of tools to manage and manipulate entities, components, assets, and scripts within the PlayCanvas environment. The server is primarily driven by Anthropic's Claude, with a recommendation for a Pro account to ensure sufficient chat context for reliable operation. The server can be integrated with platforms like Claude Desktop and Cursor, offering flexibility in deployment and usage.

Features

  • Automates PlayCanvas Editor tasks using LLM.
  • Supports a wide range of entity and asset management tools.
  • Integrates with Claude Desktop and Cursor for enhanced functionality.
  • Requires a Pro Claude account for optimal performance.
  • Includes a Chrome extension for seamless PlayCanvas integration.

MCP Tools

  • create_entities: Creates new entities in the PlayCanvas Editor.
  • modify_entities: Modifies existing entities.
  • duplicate_entities: Duplicates selected entities.
  • reparent_entity: Changes the parent of an entity.
  • delete_entities: Deletes specified entities.
  • list_entities: Lists all entities in the scene.
  • add_components: Adds components to entities.
  • remove_components: Removes components from entities.
  • list_assets: Lists all assets in the project.
  • delete_assets: Deletes specified assets.
  • instantiate_template_assets: Instantiates template assets.
  • create_script: Creates a new script.
  • set_script_text: Sets the text of a script.
  • script_parse: Parses a script for errors.
  • create_material: Creates a new material.
  • set_material_diffuse: Sets the diffuse color of a material.
  • add_script_component_script: Adds a script to a script component.
  • modify_scene_settings: Modifies scene settings.
  • query_scene_settings: Queries current scene settings.
  • store_search: Searches the store for items.
  • store_get: Retrieves an item from the store.
  • store_download: Downloads an item from the store.

Usage with Different Platforms

Claude Desktop


{
  "mcpServers": {
    "playcanvas": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "tsx",
        "C:\\path\\to\\mcp-editor\\src\\server.ts"
      ]
    }
  }
}

macOS


{
  "mcpServers": {
    "playcanvas": {
      "command": "npx",
      "args": [
        "tsx",
        "/path/to/mcp-editor/src/server.ts"
      ]
    }
  }
}