dsh-mcp-gateway
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dsh-mcp-gatewayStart a persistent session to debug the API latency issues"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dsh-mcp-gateway
Experimental MCP gateway for controlling durable DeepSeek Harness agent sessions from ChatGPT and other MCP clients.
The project is intentionally small at the start. It does not fork or mirror DeepSeek Harness or local-shell-mcp. Its job is to bridge a client-facing MCP/OAuth control plane to a persistent DSH agent runtime.
Why
MCP clients and chat conversations are comparatively short-lived, while autonomous coding and research tasks may need to continue for hours. DeepSeek Harness already provides durable session logs, goal rounds, subagents, workflows, tools, and persistence. The missing boundary is a stable way for an external MCP client to create, observe, steer, and later resume those sessions.
The target architecture is:
ChatGPT / MCP client
|
OAuth + MCP
|
v
dsh-mcp-gateway
|
stable control API
|
v
DeepSeek Harness
|
durable agent sessionA separate execution MCP such as local-shell-mcp can remain available to the DSH agent when its remote-machine, browser, or other execution capabilities are useful.
Related MCP server: devin-mcp
Current status
Early control-plane prototype.
The first invariant implemented here is session routing:
requested session
|
+-- live ------> reuse
|
+-- persisted -> resume
|
`-- absent ----> createA persisted session must never silently fall back to create if resume fails; doing so turns a recoverable transport/runtime problem into a session-id collision or split-brain state.
The transport-independent control service and MCP v2 tool surface are now implemented. The real DSH transport, OAuth, event streaming, and restart supervisor remain intentionally separate because DeepSeek Harness is currently a developer preview and its public control protocols are still settling.
Current MCP tools:
dsh_start
dsh_continue
dsh_status
dsh_history
dsh_list
dsh_cancelThe MCP layer depends only on the stable gateway backend contract; it does not know whether DSH is reached through the Python SDK, ACP, a protocol-driver plugin, or a future official resumable API.
Evidence behind the design
A local proof of concept using DeepSeek Harness 0.1.0rc6 verified that an initial controlling request can return while a DSH goal continues issuing autonomous goal rounds in the same live runtime. A later controller can send another prompt to the same live session and the model receives the retained history.
The same experiment also verified the current public Python SDK limitation: after a fresh runtime starts over an existing persisted session, sending the same session id follows the create path and fails with a persisted-log id collision rather than cold-resuming. That is the first transport gap this project intends to isolate cleanly rather than work around in application code.
Milestone 1: persistent DSH session over MCP
Start a DSH session from an MCP client.
Return a session id without holding the MCP call open for the full autonomous task.
Observe status/events while the DSH goal continues in the background.
Send steering prompts from a later MCP/chat session.
Cold-resume a persisted DSH session after the gateway/runtime process restarts.
Keep DSH-specific protocol churn behind one adapter.
Development
The routing/control core has no third-party runtime dependencies:
python3 -m unittest discover -s tests -vTo exercise the real MCP v2 schemas as well:
python -m pip install -e '.[server]'
python -m unittest discover -s tests -vThe server extra currently targets the stable MCP Python SDK v2 line (mcp>=2,<3). See docs/architecture.md for the boundary decisions.
Relationship to local-shell-mcp
This repository is independent from fwerkor/local-shell-mcp.
A possible long-term composition is:
ChatGPT
|
v
dsh-mcp-gateway
|
v
DSH agent
|
+-- native DSH tools
|
`-- MCP --> local-shell-mcp --> browser / remote workers / executionNo migration of local-shell-mcp is assumed by this repository.
License
No license has been selected yet.
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 Servers
- AlicenseAqualityAmaintenanceMCP server for DeepSeek AI models (Chat + Reasoner). Supports multi-turn sessions, model fallback with circuit breaker, function calling, thinking mode, JSON output, multimodal input, and cost tracking.32,81017MIT
- FlicenseAqualityDmaintenanceMCP server for creating, monitoring, and managing Devin AI sessions.41
- Alicense-qualityBmaintenanceA local-first mission control for AI agent harnesses, providing a unified MCP gateway for shared memory, task queue, and encrypted secrets across multiple agents.01MIT
- Alicense-qualityBmaintenanceHarness-agnostic MCP server for orchestrating deterministic, resumable multi-agent workflows. It lets you start, watch, resume, and cancel agent runs from any MCP client, using agents from Codex, Claude, Cursor, or Kimi.5MIT
Related MCP Connectors
Agent-native collaboration network: orchestrate a team of long-running agents from any MCP client.
A paid remote MCP for AI agent browser MCP session, built to return verdicts, receipts, usage logs,
Remote MCP server for The Colony — a social network for AI agents (posts, DMs, search, marketplace).
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/siddhartha-yz/dsh-mcp-gateway'
If you have feedback or need assistance with the MCP directory API, please join our Discord server