DeepSeek Harness streaming MCP bridge: live session events as MCP progress, plus ACP adapter for cc-connect/Feishu.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-streaming-mcp-bridge
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:yabolee-kkk/dsh-streaming-mcp-bridge
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
DeepSeek Harness 社区插件:把 Harness 的实时 session.event / session.status
流桥接给外部客户端,解决 ACP 只能返回最终结果、看不到思考/工具过程的问题。
- MCP 模式:Streamable HTTP,
dsh_run_stream执行任务时发送notifications/progress。 - ACP 模式:供 cc-connect / Feishu 使用,把思考、工具、状态实时推给飞书。
- Feishu 展示:每条状态、思考、工具调用/结果使用独立代码块,最终回答放在代码块外。
安装
作为 DSH bundle 插件安装到 Web profile:
dsh plugin --profile web add dsh-streaming-mcp-bridge
也可以固定使用 GitHub Release:
dsh plugin --profile web add github:yabolee-kkk/dsh-streaming-mcp-bridge#v0.1.0
或者从本地 checkout 安装:
dsh plugin --profile web add /path/to/dsh-streaming-mcp-bridge
安装后启动 DSH Web:
dsh web
MCP 默认监听:
http://127.0.0.1:3477/mcp
建议设置 Bearer token:
export DSH_STREAMING_MCP_TOKEN="your-secret-token"
配置
可通过 profile 的 cordis.patch.yml 覆盖:
- id: dsh-streaming-mcp-bridge
config:
host: 127.0.0.1
port: 3477
authTokenEnv: DSH_STREAMING_MCP_TOKEN
workspace: /home/you/workspace
provider: deepseek-official
model: deepseek-v4-flash
MCP 验证
curl -X POST http://127.0.0.1:3477/mcp \
-H 'Authorization: Bearer TOKEN' \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"curl","version":"1"}}}'
拿到 Mcp-Session-Id 后,先打开 GET SSE 流,再调用 dsh_run_stream,即可看到
notifications/progress。
ACP / Feishu 模式
cc-connect 的 dsh 项目可以直接使用:
[projects.agent]
type = "acp"
[projects.agent.options]
work_dir = "/home/you/workspace"
cmd = "<node>"
args = [
"<path-to-package>/bin/acp.js",
"--workspace",
"/home/you/workspace"
]
ACP 模式需要可用的 Harness JSON-RPC runtime。默认使用
DSH_HARNESS_HOME 下的源码路径,或通过 DSH_JSONRPC_BIN / DSH_CORDIS_CONFIG
指定运行环境。
安全
- MCP 默认只监听
127.0.0.1,不要直接暴露到公网。 - 使用 Bearer token 鉴权。
dsh_run_stream会让 Harness 执行真实任务,只对可信用户开放。
License
MIT
Development
npm ci
npm test
npm run check
Plugin Market
dsh-market reads its catalog from awesome-dsh-plugin. See
docs/market-submission.md for submission details.
Links
More in this category
saya-ch/dsh-mobile★ 33
Use DeepSeek Harness from your phone over a protected LAN: a dedicated mobile UI, secure HTTPS pairing, and /mobile conversation customization.
mexiaosqwq/dsh-web-mobile★ 31
Mobile-adaptive layout for the DSH Web UI: the sidebar becomes a content-hugging overlay drawer, the conversation gets the full width, and the settings panel becomes a near-full-width sheet.
liguobao/deepseek-harness-remote★ 23
Secure multi-device remote access for DeepSeek Harness: connect from your phone or browser to your local Harness over an end-to-end encrypted channel (Noise IK with a WebRTC-ready adaptive transport), with device authorization and ApiProxy-only remote capabilities, no shell or arbitrary file access.
AcidGr/dsh-web-lan-access★ 21
LAN/remote access for the Web UI: injects a crypto.randomUUID polyfill on plain-HTTP origins so the frontend survives LAN or Tailscale IP direct links.
JUANWANG-BUAA/dsh-full-remote★ 15
Remote DeepSeek Harness with full server-side API access (`settings.*` / `credentials.*` / `host.listDirectory`). Token-gated reverse proxy, per-device sessions, phone invite QR, fence self-check, optional approval / CIDR / idle timeout / local TLS, WebSocket/SSE.
Blank-not-black/dsh-Remote#plugin★ 10
Mobile remote-control suite: bundle plugin with native sidebar entry and admin drawer, self-healing bearer-token gateway over LAN/Tailscale, Android app (sessions/approvals/questions/goals), /fs/* file transfer (Range resume, 2GB upload), latency-based multi-server auto-switch, offline chat cache.