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

hermes-dsh-bridge

将Harness智能体能力作为MCP服务器暴露给外部客户端 适合想用Hermes等外部MCP客户端驱动Harness执行编程任务的开发者。

套件
hermes-dsh-bridge
相容性
待驗證
Cordis 依賴範圍
^4.0.2
版本
0.8.1
授權
GPL-3.0
最近更新
2026年9月19日

同名套件的其他儲存庫

安裝

$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