Skip to main content
Glama

PlayCanvas Editor MCP Server

Official
by playcanvas

add_script_component_script

Add a specific script to a script component in PlayCanvas Editor, enabling dynamic 3D web application development by specifying the entity ID and script name.

Instructions

Add a script to a script component

Input Schema

NameRequiredDescriptionDefault
idYesAn entity ID.
scriptNameYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "id": { "description": "An entity ID.", "format": "uuid", "type": "string" }, "scriptName": { "type": "string" } }, "required": [ "id", "scriptName" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/playcanvas/editor-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server