Repository navigation
Releases
Releases · thyeff/dsh-unity-mcp
v1.1.0 — unity_status 诊断工具 + 配置校验
dsh-unity-mcp v1.1.0
先探后调:新增 unity_status 网桥诊断工具与配置 schema 校验。
Added
unity_status诊断工具:TCP 探测 Unity 网桥(默认localhost:8090,跟随UNITY_HOST/UNITY_PORT),Agent 在调用任何mcp__unity__*工具前先探测——Unity 编辑器未运行时约 2 秒即知,替代原先 60 秒的工具调用超时黑洞。返回结构化状态(可达性/延迟/错误原因/命名空间)与可操作的中文提示;探测超时可配(probeTimeoutMs,默认 2000)- 配置 schema 校验(schemastery):
toolCallTimeoutMs、probeTimeoutMs、reconnect 时间/次数在加载期校验——非法值(如超时 ≤ 0)直接报错,而非悄悄注销工具
Fixed
unity_status成功路径返回error: undefined触发 DSH 工具层「value is not lossless JSON」报错——修复为条件写入字段 (v1.1.0)- README 将网桥端口环境变量误写为
MCP_UNITY_PORT,vendored 服务端实际读取UNITY_PORT/UNITY_HOST——文档与示例已修正 (v1.0.0)
安装/升级
dsh plugin --profile web add git+https://github.com/thyeff/dsh-unity-mcp.git已装用户升级:dsh plugin --profile web remove dsh-unity-mcp 后重装,或直接更新安装副本。
Full Changelog: v1.0.0...v1.1.0
v1.0.0 — 首个正式版
dsh-unity-mcp v1.0.0
让 DeepSeek Harness(DSH)里的 AI Agent 直接操控 Unity 编辑器:安装即用,34 个 Unity 工具覆盖游戏开发全流程。
Added
- 内置 mcp-unity 1.4.0 服务端(MIT),位于
vendor/mcp-unity-server/ - 通过
dsh.bundle补丁自动注册unity命名空间的 MCP 客户端——安装插件即得 34 个 Unity 工具,无需手动改 profile - Unity 编辑器(网桥)重启后自动重连(指数退避 1s → 30s,最多 10 次)
- 网桥端口可配置:
config.env.UNITY_PORT(默认 8090) - 完整中文文档
README.md:安装、Unity 侧 UPM 网桥包、配置覆写、故障排查 - MIT 许可证,含上游 vendored 服务端的归属说明
安装
dsh plugin --profile web add git+https://github.com/thyeff/dsh-unity-mcp.gitUnity 侧在项目 Packages/manifest.json 中加入 com.gamelovers.mcp-unity 网桥包后,打开编辑器即可使用。详见 README。
Full Changelog: https://github.com/thyeff/dsh-unity-mcp/commits/v1.0.0