dsh-codex-bridge
dsh-codex-bridge
DSH-Plugin / MCP-Server – Ermöglicht MCP-Clients wie Codex, Claude Code, Cursor, DSH als externen, wiederaufnehmbaren Sub-Agenten zu nutzen.
flowchart LR
C[Codex / Claude Code / Cursor / any MCP client] -->|MCP SSE| B[DSH Bridge :3101]
B -->|spawn detached| S[Supervisor]
S -->|dsh --profile headless| W[DSH Worker]
S -->|持久化| F[(~/.dsh/tasks/)]Funktionen
5 MCP-Tools:
dsh_task_start,dsh_task_poll,dsh_task_cancel,dsh_task_list,dsh_get_statusAsynchrones Aufgabenmodell: Start kehrt sofort zurück, Abruf von Ereignissen über Cursor
Wiederaufnehmbar: Neustart der Bridge stellt laufende Aufgaben wieder her, verwirft abgestorbene
Visuelles Dashboard:
http://127.0.0.1:3101/agents– Milchglas-UIREST-API: Vollständige Aufgabenverwaltungs-API
SSE-Stream: Echtzeit-Aufgabenereignisse
Sicherheit: Bearer-Token, nur 127.0.0.1, CWD-Einschränkung
Related MCP server: agent-comm
Schnellstart
# 1. Install as DSH plugin
dsh plugin --profile web add dsh-codex-bridge
# 2. Set token (optional, has dev default)
export DSH_CODEX_BRIDGE_TOKEN="your-32-char-token"
# 3. Start DSH
dsh web
# 4. Open dashboard
open http://127.0.0.1:3101/agentsMCP-Tools
Tool | Beschreibung |
| Startet eine asynchrone Aufgabe, gibt taskId + dashboardUrl zurück |
| Liest Ereignisse inkrementell per Cursor (≤64 KiB) |
| Bricht eine laufende Aufgabe ab |
| Listet alle Aufgaben mit Status |
| Bridge-Integrität und Statistiken |
Zustandsautomat
queued → running → succeeded
→ failed
→ timed_out
→ cancelled
→ orphanedCodex-Konfiguration
[mcp_servers.dsh_agent]
url = "http://127.0.0.1:3101/sse"
bearer_token_env_var = "DSH_CODEX_BRIDGE_TOKEN"
startup_timeout_sec = 10
tool_timeout_sec = 45
enabled_tools = [
"dsh_task_start",
"dsh_task_poll",
"dsh_task_cancel",
"dsh_task_list",
"dsh_get_status"
]API-Endpunkte
Methode | Pfad | Beschreibung |
GET |
| Aufgaben auflisten |
GET |
| Aufgabendetail |
POST |
| Aufgabe erstellen |
POST |
| Aufgabe abbrechen |
POST |
| Aufgabe wiederholen |
GET |
| Ereignisse abrufen (Cursor) |
GET |
| Artefakt herunterladen |
GET |
| SSE-Ereignisstrom |
Dashboard
Das Dashboard unter http://127.0.0.1:3101/agents bietet:
Linkes Panel: Aufgabenliste mit Statusfilter
Mitte: Echtzeit-Ereignisstrom (stdout/stderr/Status)
Rechtes Panel: Aufgabendetails (PID, Zeitmessung, Artefakte)
Dunkel/Hell-Modus: Folgt Systemeinstellung
Architektur
dsh-codex-bridge/
├── lib/
│ ├── index.js DSH plugin entry + MCP server + REST API
│ ├── dashboard.html Visual dashboard (single-file HTML/CSS/JS)
│ └── supervisor.mjs Detached supervisor process
├── package.json
├── cordis.patch.yml
└── LICENSELizenz
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
Hosted MCP server and Agent Skills for specs, engineering threads, and project memory.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
Related MCP Servers
- AlicenseAqualityDmaintenanceA portable MCP server that provides a shared persistent working state for AI coding agents, managing tasks, plans, notepads, memory, and project rules across different tools like Claude Code, OpenCode, and Cursor.614 npmMIT
- AlicenseNot gradedqualityCmaintenanceMCP server that enables AI coding agents to communicate, share state, and coordinate work in real time via MCP tools or REST API.84 npm10MIT
- AlicenseCqualityCmaintenanceAn MCP server that gives AI coding assistants persistent memory across sessions with chain-based project tracking, tickets, and structured handoffs.42GPL 3.0
- AlicenseAqualityDmaintenanceA local MCP server that enables multiple AI coding tools to share structured project state (decisions, tasks, bugs) so they coordinate without re-explaining.5MIT