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.
Install Dsh Any Agent
Built from the published package, never by AI.
claude mcp add dsh-any-agent -- npx -y dsh-any-agentRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"dsh-any-agent": {
"args": [
"-y",
"dsh-any-agent"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"dsh-any-agent": {
"args": [
"-y",
"dsh-any-agent"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"dsh-any-agent": {
"args": [
"-y",
"dsh-any-agent"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add dsh-any-agent -- npx -y dsh-any-agent{
"mcpServers": {
"dsh-any-agent": {
"args": [
"-y",
"dsh-any-agent"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add dsh-any-agent npx -y dsh-any-agentGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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
ANo 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 →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
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.
