Emilia-awa/hermes-dsh-bridge ↗★ 2

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等外部MCP客户端驱动Harness执行编程任务的开发者。

Package
hermes-dsh-bridge
Compatibility
Unverified
Cordis peer range
^4.0.2
Version
0.8.1
License
GPL-3.0
Last updated
Sep 19, 2026

Other repositories with this package name

Install

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

③ 在 profile 的 cordis.patch.yml 末尾追加配置

cat >> ~/.dsh/profiles/ /cordis.patch.yml # ← 你的 Harness 里已配置的 provider model: # ← 你的 Harness 里已配置的 model EOF

Hermes 端配置片段

把 MCP server 注册到 Hermes(或任何 MCP 客户端)。最小配置:

{
  "mcpServers": {
    "harness": {
      "type": "streamable-http",
      "url": "http://127.0.0.1:8090/mcp",
      "headers": { "Authorization": "Bearer " }
    }
  }
}

没有现成客户端时,仓库自带零依赖 Python 客户端可直接用:

python3 examples/hermes_dsh_mcp.py list
python3 examples/hermes_dsh_mcp.py call status_get '{}'

### 方式 C — Hermes 一键配置片段

适用于:**AI agent 帮人装**、或想直接抄一份完整可用的 patch。

```bash

# ③ 追加完整配置段
cat >> ~/.dsh/profiles/
/cordis.patch.yml '      # 非 loopback 暴露时必须开
        workspaceRoots: ['']  # 限制 agent 能在哪干活
        enableFsWrite: false              # 需 fs_write 才开
        defaultSandbox: workspace-write   # read-only | workspace-write | danger-full-access
        approvalsBridge: web              # web | builtin | file-push | off
        approvalTimeoutMs: 300000         # 超时按拒绝收尾,绝不放行
        provider:       # ⚠️ 必填:你 Harness 里已配置的
        model:             # ⚠️ 必填:该 provider 下的 model
EOF