Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Dsh Any Agent

MCP server by xmtlzzz Verified · npm:dsh-any-agent

Dsh Any Agent is an MCP server that drives DeepSeek Harness as a long-lived coding agent. It lets MCP clients such as Claude Code, Cursor and VS Code dispatch long tasks, steer them mid-flight and collect results later. It suits developers who want a background coding agent that survives restarts.

  • Score 84
  • 8 stars
  • 2.6k a week
  • MIT
  • Updated

Install Dsh Any Agent

Built from the published package, never by AI.

claude mcp add dsh-any-agent -- npx -y dsh-any-agent

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Dsh Any Agent in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the dsh-any-agent block.

About

Dsh Any Agent is an MCP server that makes DeepSeek Harness (DSH) usable as a background coding agent from any MCP client. You give it a goal, it writes code and runs scripts, and you can steer it while it works or collect the result when it finishes.

The conversation state lives on disk, so a crash, an idle reap or a restart of the server does not lose the conversation. Long tasks return a run_id at once, and a sentinel file is written when the turn ends. The server also offers incremental reads, interjections, interrupts, approval handling and a caller review step. It is written for developers who want to hand off multi-hour coding jobs from their editor.

Written from the project's README and checked against it.

Tools it gives your assistant

  • dsh_startCreates a conversation with workspace, permission tier, approval policy, reasoning effort and model.
  • dsh_sendSends a task. By default it returns a run_id and sentinel_file at once and runs the turn in the background.
  • dsh_listLists conversations with live state such as running, idle or detached, and can filter to running ones.
  • dsh_readReads output from a running conversation incrementally, using a revision-based cursor.
  • dsh_getReturns conversation details and, with a run_id, the final result and review ticket of that dispatch.
  • dsh_reviewRecords a pass, partial or fail verdict for a completed run. The review is advisory and does not block the next dispatch.
  • dsh_interjectStops and redirects a busy conversation, or queues a remark for after the current turn.
  • dsh_interruptStops the current turn while keeping the conversation healthy.
  • dsh_approval_decideDecides a pending approval when the approval policy is set to ask.
  • dsh_doctorRuns a read-only health check covering DSH version, profile, directories, locks and configuration.

What you need

  • Node.js 22.15 or newer
  • DeepSeek Harness (DSH) installed
  • A working DSH model route and credentials
  • An MCP client such as Claude Code, Cursor or VS Code

Try asking

  • Start a DSH conversation in my project and dispatch a refactoring task.
  • List my running DSH conversations and show the output so far.
  • Interject in the running DSH task and tell it to stop and fix the tests first.

Good to know

  • External MCP tools bypass DSH's sandbox.
  • Team mode is off by default and must be turned on explicitly.
  • Run records are kept in memory for the last 20 runs, so use the sentinel file after a restart.
  • The read-only tier auto-denies approvals, which suits working on untrusted samples.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Dsh Any Agent

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Dsh Any Agent: common questions

Does a DSH conversation survive an editor restart?

Yes. The conversation identity lives on disk, so the next call resumes it with memory intact, according to the source.

How does the caller know a long task has finished?

When the turn ends, the server writes a sentinel file atomically, so a background task in the host can wake up. The source says this replaces polling.

Does this server add its own file or shell tools?

No. The source says DSH owns file I/O, shell, search and editing, and the server only exposes dispatch-related tools.

How do I install Dsh Any Agent?

In Claude Code run claude mcp add dsh-any-agent -- npx -y dsh-any-agent. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Dsh Any Agent the official server?

Dsh Any Agent is published by npm:dsh-any-agent from its verified domain in the official MCP Registry.

Is Dsh Any Agent free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Dsh Any Agent safe to use?

It scores 84 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Dsh Any Agent?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Dsh Any Agent work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Dsh Any Agent Install

Add to stack

Loading.