Skip to main content
Glama

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개)

도구

용도

dsh_task_submit

새 작업 제출, taskId 반환

dsh_task_status

작업 상태 조회

dsh_task_result

작업 최종 결과 가져오기

dsh_task_cancel

실행 중인 작업 취소

dsh_task_revise

현재 결과를 기반으로 수정 후 재실행

dsh_task_approve

HUMAN_REQUIRED 작업 수동 승인

dsh_task_review

작업 결과 수동 검토

dsh_task_list

프로젝트의 모든 작업 나열

dsh_project_create

작업 공간 프로젝트 생성/전환

dsh_project_status

프로젝트 상태 확인

dsh_session_list

DSH 세션 나열

dsh_session_archive

완료된 세션 보관

dsh_session_rotate

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 개발자 모드(Pro/Plus/Enterprise)


라이선스

MIT © 2026 baochaofan0404

-
license - not tested
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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.

View all MCP Connectors

Latest Blog Posts

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