appthin/dsh-mcp-manager-plus ↗★ 2
dsh-mcp-manager-plus
MCP manager settings page for DeepSeek Harness: list, enable, configure and add MCP servers from the browser, written durably to the profile's user patch layer. 适合需要便捷管理多平台MCP服务、支持一键导入多种配置格式的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:appthin/dsh-mcp-manager-plusドキュメント
README 全文を読む ↗支持导入的配置格式
粘贴时不需要改写,插件会识别容器键、字段名与文件语法:
| 工具 | 容器键 | stdio | 远程 | 备注 |
|---|---|---|---|---|
| Claude Code · Cursor · Windsurf · Qoder · Cherry Studio · CodeBuddy · TRAE · ZCode | mcpServers | command/args | url/headers | 标准格式 |
| DeepSeek Harness(本插件自身) | mcpServers | command/args | url/headers | 原生格式 |
| VS Code | servers | command/args | type:"http" + url | 外层键不同 |
| Codex | mcp_servers | command/args | url | TOML,不是 JSON |
| OpenCode | mcp | type:"local",command 是数组 | type:"remote" + url | 结构差异最大 |
| Continue | mcpServers 数组 | command/args | — | 名字在条目里 |
| Pi | mcpServers + settings | command/args | transport:"streamable-http" | settings 会被忽略 |
另外还兼容这些差异:
- TOML 输入:Codex 的
config.toml直接粘贴即可(含嵌套的[….env]表与行内注释)。 - JSON 注释与尾逗号:多个工具的文档示例带
//、/* */和尾逗号,均可解析。 type:"sse":映射到本插件的 streamable-http 传输。serverUrl(Windsurf 的远程写法)、http_headers(Codex)、command 数组(OpenCode) 都会被正确归位。- 未知字段:如
enabled、lifecycle、description等不会导致导入失败,只是不写入配置。
导入时会报出识别到的来源,例如 已识别 Codex 配置;新增 xxx;单条失败只跳过该条,
并把它和失败原因一并列出,不会让整段粘贴白费。
配置写在哪里
插件的「唯一真相」是当前 profile 的用户补丁层:
$DSH_HOME/profiles/
/cordis.patch.yml
新增一个 MCP 服务器就是向该文件追加一行 loader patch entry:
- insert:
- id: mcp-github
name: '@deepseek-ai/dsh-mcp-client'
config:
serverName: github
transport: stdio
command: npx
args: ["-y", "@modelcontextprotocol/server-github"]
env:
GITHUB_TOKEN: "…"
停用则是同级的 disabled 覆盖行:
- id: mcp-github
disabled: true
因为 profile 使用 patchReload: live,保存后 loader 会在约 1 秒内重新编排插件树,
所以配置改动既是持久化的,也是热生效的 —— 插件本身不改动运行中的 loader 树,
只写文件,然后由浏览器端短暂轮询观察收敛后的实际状态。