The Wonderland Editor MCP Plugin facilitates interaction with the Model Context Protocol (MCP) within the Wonderland Engine, enhancing your development workflows with AI assistants.
First, install the plugin into your project:
// Clone this repository into the plugins folder of your project, or install via npm
npm i --save-dev path/to/repo
cd path/to/repo
npm i
npm run build
Once the project is loaded and plugin execution is enabled, the MCP server runs via SSE transport on
http://localhost:3000/sse.
If you can't use SSE, because your client doesn't support it, you can wrap it like this:
# Wrap the mcp server via STDIO
npx -y supergateway --sse "http://localhost:3000/sse"On Windows:
- name: Wonderland Editor
command: cmd
args:
- /c
- npx
- -y
- supergateway
- --sse
- http://localhost:3000/sseOther systems:
- name: Wonderland Editor
command: npx
args:
- -y
- supergateway
- --sse
- http://localhost:3000/sse- Primarily SSE transport, but comes with an npm command
@wonderlandengine/mcp-serverto wrap into STDIO with Supergateway. - Modify and manage Wonderland Engine objects and resources dynamically.
- Import files into the editor.