Share my DSH plugin: per-session Unity service pool + instance-level MCP proxy (dsh-unity-pool) #1331
GammaChineYov
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
分享一个我做的 DSH(DeepSeek Harness)插件:dsh-unity-pool。
解决的问题:MCP 客户端级配置做不到「会话级隔离」——同一个 DSH web 终端里,多个会话想各连各的 Unity 实例(多工程/多开编辑器并行开发)时,没有现成的东西把「会话 ↔ 实例」管理起来。
插件做的:
mcpforunity://instances发现实例(Name@hash)enforceExclusive防止并行会话抢同一实例unity_mcp代理工具:调用前自动把本会话的 MCP 会话激活到目标实例(per MCP-Session-Id 隔离,多会话并行互不干扰),再转发 tools/call——助手无感安装:
dsh plugin add git+https://github.com/GammaChineYov/dsh-unity-pool.git仓库:https://github.com/GammaChineYov/dsh-unity-pool
顺便反馈一个官方工具边界(可能值得补文档):
find_gameobjects的include_inactive缺省是 false(查 inactive 物体返回 0,必须显式传 true);page_size=0/负值静默回退默认 50。All reactions