belowthetree/dsh-mcp-setting ↗★ 0
dsh-mcp-setting
DeepSeek Harness 设置界面管理 MCP 服务器:增删改 cordis.patch.yml 中的 @deepseek-ai/dsh-mcp-client 行
AI 分析
核心用途是为 DSH 提供可视化的 MCP 服务器配置管理界面。适合需要频繁增删改 MCP 服务的用户,免去手动编辑 YAML 配置文件的繁琐。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:belowthetree/dsh-mcp-settingドキュメント
README 全文を読む ↗或使用注入器生产线:dev_build_plugin → dev_install_package(web profile)
挂载后浏览器刷新页面,设置 → MCP 服务器。
## 开发
```sh
pnpm test # vitest(patch-editor 纯逻辑 + controller fetch 桩)
pnpm typecheck
pnpm build # tsc 编译 host + tsdown 打包 client
结构
src/index.ts— Host 半边:/dsh-mcp-setting/api/*路由(webServer),文件读写与校验。src/patch-editor.ts— 纯函数:patch 文档的增删改查与配置校验(可单测)。src/client/— Client 半边:settings.section槽位注册、fetch 传输、 React 设置页(zh/en)。tests/— 单元测试。