DeepSHPlugins
dsh-streaming-mcp-bridge 專案預覽
GITHUB / COMMUNITY PROJECT

dsh-streaming-mcp-bridge

客戶端與終端JavaScriptMIT

DeepSeek Harness 流式 MCP 橋接:將實時會話事件作為 MCP 進度輸出,並提供 cc-connect/飛書 ACP 介面卡。

0 Starsyabolee-kkk 更新時間 2026-08-19
訪問 GitHub 倉庫
dsh-streaming-mcp-bridge 專案預覽

專案介紹

中文

DeepSeek Harness 流式 MCP 橋接:將實時會話事件作為 MCP 進度輸出,並提供 cc-connect/飛書 ACP 介面卡。

English

DeepSeek Harness streaming MCP bridge: live session events as MCP progress, plus ACP adapter for cc-connect/Feishu.

專案資訊與收錄訊號

快照 2026-09-11
作者 / 組織
yabolee-kkk
倉庫
yabolee-kkk/dsh-streaming-mcp-bridge
GitHub Stars
0
Forks
0
開發語言
JavaScript
許可證
MIT
最近推送
2026-08-19
Manifest
資料中檢測到宣告

公開倉庫不自動等於可商用;許可證與當前相容性以原專案文件為準。Manifest 和資料評分不構成安裝安全認證。

資料評分

36/ 100
維護活躍
85
文件與實用資訊
85
生態關注度
0
安裝便捷訊號
75
專案宣告訊號
100

近 23 天仍在更新;README 含完整安裝與使用說明。

評分來自已有資料快照的五維模型,僅作瀏覽參考,不是實際使用評測或安全檢測結論。

安裝與使用

所有專案資料與許可均以對應 GitHub 倉庫為準。

dsh plugin --profile web add dsh-streaming-mcp-bridge

複製命令不會自動執行。請先閱讀倉庫文件,確認環境要求與許可證。

專案截圖

倉庫 README

GitHub 原文

已儲存的倉庫文件快照;文件抓取時間未記錄,可能與上方目錄介紹處於不同版本。安裝前請核對當前倉庫說明。

儲存庫檔案保留原文,指令與授權文字不作自動改寫。

dsh-streaming-mcp-bridge

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.

使用前核對

安裝步驟、相容版本與授權範圍以原專案當前文件為準。Stars 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案