qian-dsh/dsh-as-mcp-server

Exposes DSH itself as an MCP server so another MCP client can watch what the agent is doing and steer it mid-flight — shared intent, a floor lock, alerts and review handoff.

Two agents on one workspace normally overwrite each other; this bridge gives them a protocol. The other client sees thinking deltas, tool calls and write/edit targets as notifications, shares intent through tools that are injected into DSH's system prompt every turn, and can take a floor lock that physically denies DSH's write/edit/git while held. dsh_inject_alert reaches the running step through agent/pre-step, and dsh_review_request drops a request into an on-disk inbox whose result is written back to inbox/done.

Tools & Capabilities ★ 0
View on GitHub ↗

Install

dsh plugin --profile web add dsh-as-mcp-server

The npm line from the README's Install section; the package resolves on the public registry and its registry metadata points back at this repository. It is half the setup: the README then has you add the bridge as a streamableHttp MCP server (http://127.0.0.1:51630/mcp) in the other client and restart DSH, after which the log should show the MCP server ready line. A self-test mode runs a demo server on port 51999 without installing anything.

Compatibility

Works with any client that speaks Streamable HTTP, which the README illustrates with WorkBuddy, Claude Desktop through an MCP-HTTP adapter, Cursor and Cline. Eight tools: dsh_get_status, dsh_get_intent, dsh_set_intent, dsh_lock_acquire, dsh_lock_release, dsh_lock_status, dsh_inject_alert and dsh_review_request. Server-to-client notifications cover status, thinking, tool, file, intent, lock, alert-queued and review over SSE, with thinking deltas throttled to 200 ms.

Details

Alternatives

MCviseron/dsh-eda-mcp · YpipaQ/dsh-s-m-c-center · Q1hangL/dsh-ask-guard

More plugins in Tools & Capabilities

Browse more in Tools & Capabilities

Guides for Tools & Capabilities plugins