Emilia-awa/hermes-dsh-bridge ↗★ 0
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.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Emilia-awa/hermes-dsh-bridge说明文档
阅读完整 README ↗状态与配置
| 工具 | 方向 | 用途 |
|---|---|---|
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