Emilia-awa/hermes-dsh-bridge0

hermes-dsh-bridge

Expose DeepSeek Harness agent capabilities as an MCP server, so an external MCP client (e.g. Hermes) can drive Harness to execute coding tasks. Hermes = brain, Harness = arms.

包名
hermes-dsh-bridge
版本
0.3.0
许可证
GPL-3.0
最近更新
2026年8月25日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Emilia-awa/hermes-dsh-bridge

状态与配置

工具方向用途
status_get版本/uptime/provider/model/preset/live agents/队列深度
config_get运行时配置摘要(authToken 打码为 ***

Patch 配置

在你的 Harness profile 的 cordis.patch.yml(或等价 patch 文件)末尾追加:

- insert:
    - id: hermes-dsh-bridge
      name: 'hermes-dsh-bridge'
      config:
        http: true
        port: 8090
        host: 127.0.0.1        # 默认仅本机; 暴露前必须加认证
        # authToken: '你的随机长token'     # 可选: Bearer token 认证
        # workspaceRoots: ['/workspace']  # 可选: cwd 白名单
        # enableFsWrite: true             # 可选: 开启 fs_write(默认关)
        # ⚠️ 必须显式声明 provider/model, 否则 agent 组装会因空 {{model}} 崩溃:
        provider: opencode-go
        model: deepseek-v4-flash

③ 在 profile 的 cordis patch 文件(cordis.patch.yml)末尾追加配置

cat >> ~/.dsh/profiles/ /cordis.patch.yml <<'EOF'

  • insert:
    • id: hermes-dsh-bridge name: 'hermes-dsh-bridge' config: http: true port: 8090 host: 127.0.0.1 provider: opencode-go # ← 换成你自己的 provider id model: deepseek-v4-flash # ← 换成你自己的 model id EOF