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 にタスクを実行させることができます。
Related MCP server: dsh-chatgpt-bridge
アーキテクチャ
┌─────────────────┐ 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 セッションを一覧表示する |
| 完了したセッションをアーカイブする |
| DSH セッションをローテーションする(コンテキストが長すぎる場合) |
タスクステートマシン
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)
ライセンス
MIT © 2026 baochaofan0404
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Related MCP Servers
- FlicenseAqualityCmaintenanceMCP server that packages DeepSeek agents as callable tools, offering a bare model for quick Q&A and a full agent capable of executing real coding and file-modifying tasks in a workspace.2-
- AlicenseNot gradedqualityAmaintenanceMCP bridge enabling ChatGPT to create, view, and control DeepSeek Harness agent sessions, with session management, messaging, and approval tools.497 npm19MIT
- AlicenseNot gradedqualityCmaintenanceTurns DeepSeek Harness into an MCP server with tools for session management, agent execution, resources, and OAuth, plus browser automation and GitHub/GitLab integration.67 npm20MIT
- FlicenseNot gradedqualityBmaintenanceMCP server bridging ChatGPT to local OpenHarness tools, enabling file reads/writes, grep, LSP, and shell execution on a workspace.-