Files
mcp-bridge/package.json
火焰库拉 0b2f8cd50f ```
feat(mcp-bridge): 实现MCP服务器功能增强和日志系统

- 添加日志缓冲区和封装日志函数,支持多种日志类型(info, success, warn, error, mcp)
- 实现MCP服务器启动/停止功能,支持端口配置和状态管理
- 添加配置文件管理(auto-start, last-port),支持持久化设置
- 实现完整的工具API接口(get_selected_node, set_node_name, save_scene等)
- 统一处理MCP调用逻辑,便于日志记录和错误处理
- 更新面板界面,添加端口输入、自动启动开关、日志查看等功能
- 优化错误处理和响应格式,符合MCP标准规范
```
2026-01-29 14:53:06 +08:00

27 lines
484 B
JSON

{
"name": "mcp-bridge",
"version": "1.0.0",
"description": "Cocos Creator MCP Bridge",
"author": "User",
"main": "main.js",
"scene-script": "scene-script.js",
"main-menu": {
"Packages/MCP Bridge/Open Test Panel": {
"message": "mcp-bridge:open-test-panel"
}
},
"panel": {
"main": "panel/index.js",
"type": "dockable",
"title": "MCP Test Panel",
"width": 400,
"height": 300
},
"profiles": {
"local": {
"auto-start": false,
"last-port": 3456
}
}
}