Skip to main content
Glama

PlayCanvas Editor MCP Server

Official
by playcanvas

set_script_text

Update script content in PlayCanvas Editor by specifying the asset ID and new text, enabling real-time 3D application development.

Instructions

Set script text

Input Schema

NameRequiredDescriptionDefault
assetIdYes
textYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "assetId": { "type": "number" }, "text": { "type": "string" } }, "required": [ "assetId", "text" ], "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