aka-danielZhang/dsh-mcp-settings ↗★ 0
dsh-mcp-settings
Settings-driven MCP server manager, inventory Remote, and Web settings UI for DeepSeek Harness
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:aka-danielZhang/dsh-mcp-settings说明文档
阅读完整 README ↗dsh-mcp-settings
English | 中文
这是一个可安装的 DeepSeek Harness bundle,包含通过 Web 设置管理 MCP 服务器的三个插件。
| Cordis 行 | 入口 | 职责 |
|---|---|---|
dsh-mcp-settings-manager | dsh-mcp-settings/manager | 拥有 mcp.servers,为每个已启用服务器启动或停止内置 MCP client fiber,并发布合并后的连接状态。 |
dsh-mcp-settings-inventory | dsh-mcp-settings/inventory | 提供只读 mcpInventory/list Remote。 |
dsh-mcp-settings-ui | dsh-mcp-settings + ./client | 提供 MCP 设置页、表单/JSON 编辑、启停开关、状态轮询和工具数量。 |
bundle 会停用当前 Web profile 中等价的三个内置行,再以独立 id 插入这些行。移除 bundle 后,下次启动 profile 时内置行会恢复。已有 mcp.servers 用户设置不会被删除。
环境要求
- 匹配的 DeepSeek Harness 开发版本;它的
webprofile 必须已经提供package.json中列出的 DSH peer 包。 - 该 Harness 版本必须发出
mcp-client/status事件;此事件尚未进入公开 Harness 默认分支。 - Node.js
^22.19.0 || >=24。 - 从 GitHub 直接安装时使用 pnpm 10 或更高版本。
从 GitHub 安装
DSH 插件通过 bundle 分发。dsh plugin add 会把包安装进 profile,并把它的 dsh.bundle 层加入 profile manifest;不需要额外的启用脚本。
dsh plugin --profile web add github:aka-danielZhang/dsh-mcp-settings
该命令只安装 bundle,不会安装或升级 Harness 拥有的 peer 包;因此必须按上述要求使用匹配的 Web profile。
Git 安装会运行仓库的 prepare 脚本生成 lib/。pnpm 默认阻止依赖构建脚本;如果第一次安装提示 build 被忽略,请把提示中的准确包名加入 ~/.dsh/profiles/web/pnpm-workspace.yaml,然后重试:
allowBuilds:
"dsh-mcp-settings@https://codeload.github.com/aka-danielZhang/dsh-mcp-settings/tar.gz/": true
这项授权允许安装期间执行包代码。安装不受你控制的源码时应锁定 commit:
dsh plugin --profile web add github:aka-danielZhang/dsh-mcp-settings#
安装后重启 dsh --profile web,打开“设置 > MCP”;原有 mcp.servers 列表会继续使用。
检查组合结果:
dsh --profile web --dump-config
输出应包含 dsh-mcp-settings-manager、dsh-mcp-settings-inventory 和 dsh-mcp-settings-ui。