Skip to main content

Dsh Any Agent

io.github.xmtlzzz/dsh-any-agent

v0.7.9Updated Nov 25, 2026stdio · npm

Drive DeepSeek Harness (DSH) as a long-lived, resumable coding agent from any MCP client.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add dsh-any-agent -e DSH_MCP_DAEMON=0 -e DSH_MCP_PERMISSION=workspace-write -e DSH_MCP_APPROVAL=auto-deny -- npx -y [email protected]

Configuration

6 settings.

  • DSH_RUNTIME
    Env var· optional
    Executable used to launch DSH. Leave unset to use the runtime selected for the detected installation.
  • DSH_MCP_DAEMON
    Env var· optional
    Set to 1 to keep active turns running when the MCP client disconnects.Default: 0
  • DSH_BIN
    Env var· optional
    Path to @deepseek-ai/dsh/lib/bin.js. Leave unset to auto-detect the DeepSeek Harness desktop app, an npm global install, or the npx cache.
  • DSH_MCP_PERMISSION
    Env var· optional
    Default permission tier for dsh_start: read-only, workspace-write, or danger-full-access (setting it as the default allows full access on this machine; asking for it per conversation under another default also needs DSH_MCP_ALLOW_FULL_ACCESS=1).Default: workspace-write
  • DSH_MCP_APPROVAL
    Env var· optional
    Machine-side approval ceiling for sandbox escalation: auto-deny, ask, or auto-allow. The default workspace-write tier denies escalation. Read-only always denies.Default: auto-deny
  • DSH_MCP_LANG
    Env var· optional
    Language of the tool descriptions and server instructions: en or zh. Unset follows the system locale.

Listed in the official MCP Registry since Nov 25, 2026. Mirrored daily; last checked Nov 26, 2026.