dsh-bridge
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
dsh-mcp-bridge
都ai写的,放心用吧,没后门。
可以用magpie接管mcp,但是magpie接管路由之后,所有外部agent的请求在插件里,统一都归类为magpie(相当于单个agent),这是mcp协议导致的,不好改。
其他的:模型选择,推理强度,权限档位,全都原生调用dsh本身的功能,平时聊天咋用的这里就咋用的,包括magpie外部接入的模型一样。
下面都是ai说的,一堆名词看的晕,建议直接让ai帮你审查代码,然后装插件。
让其他 AI Agent(Antigravity、Claude Code、Codex、Cursor 等)通过标准 MCP 协议直接调用你本机的 DeepSeek Harness (DSH),并在 DSH 左侧栏加一个原生控制面板,集中管模型、管权限、看历史对话。
界面预览
控制面板(亮色 / 暗夜双主题,支持单条 Agent 折叠)


大区块折叠摘要 + 右侧分屏看历史对话(支持直接追问或在主窗口打开)

Related MCP server: DSH Crew
怎么安装
环境要求:DSH ^0.2.3-alpha.3、Node.js >= 18。
1. 安装插件到 DSH

方式一:直接在 DSH 界面填 GitHub 地址(最省事)
按上图点 1 插件 -> 2 + 添加插件 -> 3 粘贴仓库地址点安装:
https://github.com/weilai5201314/dsh-mcp-bridge方式二:先从 GitHub 克隆到本地再安装(更方便后面配 MCP 或改代码)
先把仓库克隆到本地任意目录:
git clone https://github.com/weilai5201314/dsh-mcp-bridge.git把克隆出来的文件夹装进 DSH(二选一):
界面安装:按上图点
1 -> 2 -> 3,粘贴克隆目录的绝对路径(例如C:/your-dir/dsh-mcp-bridge)点安装;命令行安装:
dsh plugin --profile web install /你的路径/dsh-mcp-bridge(桌面端或无界面后台把
web换成desktop/headless即可)
装完后,DSH 左侧栏就会多出 「外部桥接」。
2. 把 MCP 接到外部 Agent
在 Antigravity、Claude Code、Codex、Cursor 等客户端的 MCP 配置里加上这一段:
{
"mcpServers": {
"dsh-bridge": {
"command": "node",
"args": ["<插件目录>/mcp-server.mjs"]
}
}
}<插件目录> 填法(Windows 建议用 /):
你是自己
git clone下来的:填仓库绝对路径,例如C:/path/to/dsh-mcp-bridge/mcp-server.mjs。你是按第 1 步直接在 DSH 里贴 GitHub 地址装的:填 DSH 自动装进去的路径:
~/.dsh/profiles/<profile>/node_modules/@local/dsh-mcp-bridge/mcp-server.mjs(比如web端就是~/.dsh/profiles/web/node_modules/@local/dsh-mcp-bridge/mcp-server.mjs)。
提醒:如果你用了带「MCP 路由 / Hub 代理」的工具统一转发,DSH 里看到的会是代理的名字;想按真实 Agent 分别配模型和权限,关掉路由走直连即可。
有什么功能
自动登记:外部 Agent 连上就自动报上名字,不用手动添加。
独立配模型与权限:顶部可设全局兜底,每个 Agent 也能单独改模型、推理强度和权限档位,多轮对话中途改完下一轮立刻生效。
不污染主列表:外部调用的会话不会混进 DSH 主侧栏,只在桥接页集中展示、查看和清理。
GUI / 后台无缝切换:开着 DSH 窗口时直接热连;窗口关着时自动拉起后台
headless兜底。原生 UI:全套复用 DSH 原生控件,三个大区块和单条 Agent 都能折叠并记住状态。
文件结构与工具
核心就 3 个文件:
index.js:跑在 DSH 后台,管配置、管会话、接单干活。client.js:跑在 DSH 界面里,画「外部桥接」页面和右侧分屏聊天。mcp-server.mjs:给外部 Agent 用node跑的 MCP 转接线,把 MCP 请求转给 DSH。
暴露的 MCP 工具:
dsh_status:查连通性和当前生效的模型/权限。dsh_run:给 DSH 派任务(参数:prompt必填,cwd和续聊用的sessionId可选)。
终端快速自测:
node mcp-server.mjs --cli --status可选环境变量:
变量 | 什么时候用 |
| DSH 没开且 |
| 改了默认 |
| 某些客户端握手不报名字时当兜底名 |
数据存放与清理
所有配置、登记记录、会话列表和折叠状态全存在 ~/.dsh/dsh-mcp-bridge/state.json 这一个文件里(同目录 runtimes/ 只放临时端口)。在 DSH 里卸载插件不会自动删它;想彻底清零,删掉 ~/.dsh/dsh-mcp-bridge/ 目录就行。
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Real-time chat for AI agents. Claude Code, Cursor, Cline and Codex join channels over MCP.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables external MCP clients to drive DeepSeek Harness agents for real coding tasks, providing tools for task execution and queueing, session management, sandboxed file access, preset switching, and usage statistics.323 npm9GPL 3.0
- AlicenseNot gradedqualityAmaintenanceEnables orchestrating hosts such as Claude Code, Codex, Antigravity and Grok to dispatch work to DeepSeek Harness agents that surface as native subagents with live progress, per-tier presets, effort control, guardrails and a jobs board. It also lends text-only harness models vision and image generation through a multimodal bridge that prefers native DeepSeek VL models and falls back to local CLIs or OpenAI-compatible endpoints.354 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables coding hosts like Claude Code, Codex, Antigravity and Grok to dispatch tasks to full DeepSeek Harness agent sessions that appear as native subagents with live progress, tier and effort presets, escalation on failure, workspace locking and a jobs board. It also bridges text-only harness models to vision and image generation through DeepSeek's VL model, existing CLI tools, or any OpenAI-compatible endpoint.354 npmMIT
- AlicenseNot gradedqualityCmaintenanceLets Claude Code or any MCP client drive DeepSeek Harness desktop agents over a local named pipe (no TCP port), running long tasks with progress updates, persistence, and approval awareness. Includes an in-app toolbar for choosing model, provider, reasoning effort, and default workspace, plus session archiving and cleanup.MIT