Nigheart/dsh-mcp-relay

Exposes a running DSH instance over MCP so an external agent can list, delegate to and answer questions inside that instance's own sessions.

Two halves, deliberately split: a DSH host plugin (lib/index.js) that runs inside the Web GUI process, reads and writes the sessions that instance already has and registers an HTTP route at 127.0.0.1:<port>/dsh-relay; and a standalone stdio MCP server (bin/dsh-mcp-relay.mjs) that your agent spawns and which polls the plugin. From the caller's side a DSH session behaves like a subagent - it keeps its own context across calls, works in the workspace you name and returns a final answer - and the relay also lets the caller answer the questions the DSH agent asks, with approval modes gui (leave them to a human), deny (resolve every request as rejected) and auto-approve (one-shot grant). Waiting and polling happen in the MCP server so the model spends one tool call. It serves loopback callers only and answers 403 to anything else, with an optional DSH_RELAY_TOKEN header requirement.

Tools & Capabilities ★ 0 updated 2026-10-17
View on GitHub ↗

Install

dsh plugin --profile web add github:Nigheart/dsh-mcp-relay

Copied verbatim from the README's "Install the plugin" block, which states the package is not published to npm and is installed straight from the repository. A manual-install path and the MCP client configuration are documented separately.

Compatibility

Requires a DSH Web profile (dsh web or the desktop app) and Node.js 18 or newer on the same machine as DSH, plus an MCP client that can spawn a stdio server. The MCP client only needs the port and token configuration when DSH is not on the default port or when a token is set.

Details

Alternatives

vitas/dsh-ocr-free · MicroHEROX/dsh-exa-mcp · stuarthu/dsh-chrome

More plugins in Tools & Capabilities

Browse more in Tools & Capabilities

Guides for Tools & Capabilities plugins