gpt-dsh-bridge
GPT↔DSH Bridge
ChatGPT 网页驱动 DeepSeek Harness(DSH)自动化执行任务的桥梁。
GPT 是指挥者,DSH 是执行者。一条 MCP 协议把它们串起来。
English · 中文 | MIT License
快速开始
git clone https://github.com/baochaofan0404/gpt-dsh-bridge.git
cd gpt-dsh-bridge
pnpm install
pnpm build
pnpm start然后通过 ChatGPT 开发者模式(Connectors → 添加 MCP)连接暴露的 https://<tunnel>/mcp 端点,即可在对话中用 dsh_task_submit 等工具驱动 DSH 执行任务。
架构
┌─────────────────┐ HTTPS MCP ┌──────────────────────────┐ ACP ┌──────────┐
│ ChatGPT Web │ ─────────────────► │ Bridge Orchestrator │ ───────────► │ DSH │
│ (MCP Host) │ │ (Node · Windows/WSL) │ stdio RPC │ (WSL) │
└─────────────────┘ │ │ └──────────┘
▲ │ · 13 MCP 工具 │
│ 结果回投(模型自然写入对话) │ · 任务状态机 │
│ │ · conversation↔session │
└───────────────────────────────────┘ 映射 + 持久化 │核心设计原则:
DSH 不动:复用现有 ACP 服务器,零侵入
Bridge 是薄层:只做任务编排、状态管理和协议适配
ChatGPT 侧通过原生开发者模式 MCP 接入(已在
E:\mcpgpt验证过通道)
MCP 工具契约(当前 13 个)
工具 | 用途 |
| 提交新任务,返回 taskId |
| 查询任务状态 |
| 获取任务最终结果 |
| 取消运行中任务 |
| 基于当前结果修订并重新执行 |
| 人工审批 HUMAN_REQUIRED 任务 |
| 人工评审任务结果 |
| 列出项目下所有任务 |
| 创建/切换工作区项目 |
| 查看项目状态 |
| 列出 DSH sessions |
| 归档完成 session |
| 轮换 DSH session(上下文过长时) |
任务状态机
CREATED → SUBMITTED → RUNNING → SUCCESS → COMPLETED
↘ FAILED
↘ TIMEOUT
↘ CRASHED
↘ CANCELLED
↘ HUMAN_REQUIRED → (approve) → RUNNING
→ (reject) → CANCELLED完整状态机定义见 designs/state-machine.md。
目录结构
gpt-dsh-bridge/
├── src/
│ ├── mcp/ # MCP server + 13 个工具实现
│ ├── task/ # TaskManager + TaskStore(SQLite)
│ ├── workspace/ # 项目/工作区管理
│ ├── errors.ts # BridgeError + error codes
│ └── config.ts # 配置加载
├── designs/ # 架构设计文档
├── docs/ # 用户文档
├── scripts/ # 启动/隧道脚本
└── recon/ # 侦察报告(原始研究材料)依赖
Node.js ≥ 22
DeepSeek Harness(DSH)已安装并运行(
pnpm dsh --profile web)OpenAI MCP Tunnel 或 cloudflared(HTTPS 隧道)
ChatGPT Developer Mode(Pro/Plus/Enterprise)
License
MIT © 2026 baochaofan0404
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server exposing the Backtest360 engine API as tools for AI agents.
MCP server for AI dialogue using various LLM models via AceDataCloud
Hosted MCP server to manage a restaurant menu from AI agents - 39 tools over the DuckHub API.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/baochaofan0404/gpt-dsh-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server