MCP协议插件

Wonderland Editor MCP插件通过Model Context Protocol(MCP)增强Wonderland Engine的开发工作流程,提供AI助手支持。

  • by Squareys
  • TypeScript
  • 混合部署
  • 更新于
在 GitHub 查看 Squareys/wonderland-editor-mcp

使用说明

仙境编辑器MCP插件

概述

Wonderland Editor MCP插件有助于与Wonderland引擎中的模型上下文协议(MCP)进行交互,通过AI助手增强您的开发工作流程。

需求

要使用此插件,您需要Wonderland Engine的夜间版本或1.4.0+版本。

配置

项目

首先,通过“视图>插件>项目”视图将插件安装到您的项目中。

AI代理客户端

加载项目并启用插件执行后,MCP服务器通过SSE传输在 http://localhost:3020/mcp.

如果你不能使用SSE,因为你的客户端不支持它,你可以这样包装它:

# Wrap the mcp server via STDIO
npx -y supergateway --sse "http://localhost:3020/mcp"

继续

开 视窗:

- name: Wonderland Editor
  command: cmd
  args:
    - /c
    - npx
    - -y
    - supergateway
    - --streamableHttp
    - http://localhost:3020/sse

其他系统:

- name: Wonderland Editor
  command: npx
  args:
    - -y
    - supergateway
    - --streamableHttp
    - http://localhost:3020/mcp