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服务、支持一键导入多种配置格式的用户。

패키지
dsh-mcp-manager-plus
호환성
미검증
버전
0.4.0
라이선스
MIT
최근 업데이트
2026. 9. 17.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:appthin/dsh-mcp-manager-plus

支持导入的配置格式

粘贴时不需要改写,插件会识别容器键、字段名与文件语法:

工具容器键stdio远程备注
Claude Code · Cursor · Windsurf · Qoder · Cherry Studio · CodeBuddy · TRAE · ZCodemcpServerscommand/argsurl/headers标准格式
DeepSeek Harness(本插件自身)mcpServerscommand/argsurl/headers原生格式
VS Codeserverscommand/argstype:"http" + url外层键不同
Codexmcp_serverscommand/argsurlTOML,不是 JSON
OpenCodemcptype:"local",command 是数组type:"remote" + url结构差异最大
ContinuemcpServers 数组command/args—名字在条目里
PimcpServers + settingscommand/argstransport:"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 树, 只写文件,然后由浏览器端短暂轮询观察收敛后的实际状态。