dsh-as-mcp

Exposes a running DeepSeek Harness as an MCP server over Streamable HTTP or a bundled stdio bridge, so an external agent can create workspaces and sessions, prompt, fork, rename and switch the model on them, read and write files, run foreground and background shell commands, call the instance's own agent tools by name, and read per-turn and cumulative token usage with a cost receipt when a price plugin is installed.

Overview

Exposes a running DeepSeek Harness as an MCP server over Streamable HTTP or a bundled stdio bridge, so an external agent can create workspaces and sessions, prompt, fork, rename and switch the model on them, read and write files, run foreground and background shell commands, call the instance's own agent tools by name, and read per-turn and cumulative token usage with a cost receipt when a price plugin is installed.

Installation

Install from npm

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

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:xiseliuli/dsh-as-mcp

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Independent install test

Install result
Installed and registered
Tested Harness version
0.2.2-rc.1
Tested plugin version
Not reported
Test date

Installation notes

  • May run terminal commands
  • May require credentials