dsh-baton
Delegate coding tasks from Claude Code or Codex to a local DeepSeek Harness
- Pricing
- Open source
- Platforms
- CLI, macOS, Windows
- Runs
- Locally
- Version
- 0.6.15
- Listing updated
- today
Similar MCP servers
About dsh-baton
dsh-baton is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
The main agent keeps its own model and passes a coding job to a normal DeepSeek Harness session on your machine. You can watch the run in the Harness window and type into it at any point; each message is labelled with who sent it. When Harness stops with a question, the main agent either answers it or brings it to you with a recommendation.
The main agent does not poll. It hears back once when the run ends and receives the changed files, the output of your project's own tests and a requirement-by-requirement checklist, so anything missing can be sent back for another round. The README also argues that splitting the work this way keeps hundreds of file-reading and editing steps out of the main conversation.
It is an MCP server plus a small Harness plugin, installed from inside Harness by adding the dsh-baton-host plugin. It needs DeepSeek Harness 0.2.1-rc.2 or newer, signed in, and Claude Code or Codex. The cost and quota savings in the README come from the author's own benchmarks on three test tasks.
Install
Run in a terminal
claude mcp add dsh-baton -- npx -y dsh-baton-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"dsh-baton": {
"command": "npx",
"args": [
"-y",
"dsh-baton-mcp"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"dsh-baton": {
"command": "npx",
"args": [
"-y",
"dsh-baton-mcp"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"dsh-baton": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"dsh-baton-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"dsh-baton": {
"command": "npx",
"args": [
"-y",
"dsh-baton-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"dsh-baton": {
"command": "npx",
"args": [
"-y",
"dsh-baton-mcp"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Tools this server provides (1)
Taken from the project documentation; the running server may differ.
- dsh_list_workspaces
- Lists your Harness workspaces.
What it does
- Live Harness window
- Watch the delegated run and step in at any time.
- Single result callback
- The main agent waits without polling and gets one result.
- Evidence with the result
- Returns changed files, your test output and a checklist.
- Question routing
- Harness questions go to the main agent or to you with a recommendation.
- Labelled messages
- Each message says it was sent from another chat.
- Plugin install
- Add dsh-baton-host from the Harness plugin page.
Good for
- Hand long coding jobs to DeepSeek to save main-model quota
- Run several delegated tasks at once and collect each result
- Review a run's test results before accepting it
- Keep Claude Code or Codex for planning while Harness writes the code
Pricing
Open source
dsh-baton FAQ
What do I need installed?
DeepSeek Harness 0.2.1-rc.2 or newer, signed in, and Claude Code or Codex.
How do I check it works?
Open a new chat in Claude Code or Codex and ask it to call dsh_list_workspaces.
How do I hand over a task?
End the request with the phrase 'hand it to DeepSeek Harness'.
Can I interrupt a delegated run?
Yes. You can type into the Harness window at any time, or the main agent can steer it.
Is dsh-baton free?
Yes. dsh-baton is open source, so you can use and self-host it for free.
How do I add dsh-baton to Claude Code?
Run this command in your terminal: claude mcp add dsh-baton -- npx -y dsh-baton-mcp
What are the best alternatives to dsh-baton?
The closest alternatives to dsh-baton are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


