Dsh Baton logo

Dsh Baton

Hands coding tasks from Claude Code or Codex to a local DeepSeek Harness session and returns results, tests, and changed files.

Install Dsh Baton

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "dsh-baton": {
      "command": "npx",
      "args": [
        "-y",
        "dsh-baton-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 10 tools correctly ().

Overview

dsh-baton connects Claude Code or Codex to a local DeepSeek Harness through MCP, handing off coding tasks and returning the completed run. Its tools list workspaces, sessions, models, and recent messages, then send, monitor, wait for, answer, or cancel Harness work. The Harness window remains visible while the task runs, and the main agent receives the result after completion. Reach for it when a long coding task should run in a separate Harness session while the primary agent reviews the outcome.

Use cases

  • Delegate long coding tasks to DeepSeek Harness
  • Continue work in an existing Harness session
  • Run independent implementation parts in parallel sessions
  • Review returned test results and changed files
  • Answer Harness questions from the originating agent

Key features

  • Hands off tasks from Claude Code or Codex
  • Lists Harness workspaces, sessions, and models
  • Waits for runs without repeated polling
  • Queues follow-ups or steers active turns
  • Supports human-input requests and approvals
  • Cancels active and queued session work

Tools10

What Dsh Baton lets your agent do. Expand a tool for its parameters.

Verified live~2.6k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

10/10 checks healthy over the last 19d

What it can do

From the 10 tools this server returned when we ran it; 10 declare their own safety hints.

Can delete or modify data · 2Makes network requests · 2Read-only tools · 8
Tool definitions changed on 2026-11-14. Review them if you approved this server earlier.
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age23 days
Maintainers1

Observed 2026-11-14 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · dsh-baton-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars228Stargazers on the source repository.
npm downloads10kPackage downloads in the last 30 days.
Last commit3d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed10Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Dsh Baton works

What dsh-baton does

dsh-baton MCP server passes coding work from Claude Code or Codex to DeepSeek Harness on the same machine. A task runs inside a normal Harness session, where a person can watch or intervene, while the originating agent receives the final response through MCP. Results can include changed files, project test results, and a requirement checklist when the Harness task produces them.

The split is intended for larger or longer tasks. The main agent can turn a broad request into a concrete specification, delegate independent parts to separate sessions, and review the returned evidence before requesting fixes. Follow-up messages can continue an existing session rather than starting over.

How it works

Install and enable the dsh-baton-host plugin from the Plugins area in DeepSeek Harness. The plugin registers the MCP server for Claude Code and Codex. Start a new conversation in the client after enabling it; previously open conversations do not see the newly registered tools. Codex may ask for approval before calling them.

A call to dsh_send starts work and immediately returns a run_id. The originating agent can wait with dsh_wait, preferably using the background wait command returned by dsh_send when available. A wait call can return a completed result, a timeout, or a request for human input. Timeouts should be handled by calling dsh_wait again with the same run ID, without sending a progress message.

A session can be selected by session_id, workspace ID, or working directory. Without those values, a new session uses the folder where the conversation is working. Messages can follow a busy session, steer its active turn, or use the Harness-configured mode. Queued work and active sessions can be cancelled without deleting the session.

Setup and configuration

The required environment is DeepSeek Harness at least 0.2.1-rc.2, with the user signed in, plus Claude Code or Codex. The documented setup does not require Node.js, a terminal installation, or additional dependencies, and applies on macOS and Windows.

In Harness, open Plugins, choose Add plugin, enter dsh-baton-host, install it, and enable it. Then open a new Claude Code or Codex conversation and ask the client to call dsh_list_workspaces as a basic check. For unattended Codex exec runs, approve MCP tools with Codex's --approve-for-me option.

Tools and capabilities

  • dsh_list_workspaces finds Harness project folders and their workspace IDs.
  • dsh_list_sessions lists recent sessions and supports filtering by working directory or query.
  • dsh_list_models reports available Harness models and the default model.
  • dsh_read_session reads recent messages and tool names without tool output.
  • dsh_send starts or continues work and returns a run ID.
  • dsh_status inspects a run without waiting.
  • dsh_wait waits for completion or reports a human-input request.
  • dsh_answer submits answers required by a waiting run.
  • dsh_cancel stops activity and can remove queued messages.
  • dsh_call invokes a tool added after the client saw its initial tool list.

Limitations and notes

dsh_list_sessions has no pagination, so use a higher limit or narrow the search with cwd or query. Sessions absent from that result should be treated as archived or gone rather than searched for on disk. dsh_status is for inspection only; it cannot replace dsh_wait. Reading a session omits tool output.

Each dsh_wait call waits for up to 50 seconds according to the tool behavior, while the background wait command may let a supported client wait without spending additional turns. A run can pause for a Harness approval or a question that must be answered with dsh_answer. Messages sent to Harness should be self-contained because Harness does not receive the surrounding client conversation.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Dsh Baton

dsh-baton is an MCP server that connects Claude Code or Codex to a local DeepSeek Harness. Its main tools list workspaces, sessions, and models; send tasks; wait for or inspect runs; answer Harness questions; continue or cancel sessions; and call newly added dsh-baton tools.

Install and enable the `dsh-baton-host` plugin from DeepSeek Harness's Plugins area. Then start a new Claude Code or Codex conversation. No Node.js, terminal installation, or extra dependencies are required.

Use `dsh_send` with a self-contained message, optionally including a `session_id`, `workspace_id`, or working directory. The tool returns a `run_id`; use `dsh_wait` or its returned background wait command to collect the result.

Pass the session's `session_id` to `dsh_send`. Use `dsh_list_sessions` to find session IDs and `dsh_read_session` to review recent messages before sending the next request.

Call `dsh_answer` with the requested choices or free-text answers, then wait for the same run again with `dsh_wait`. The answer is submitted after every open question has a response.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDsh Baton AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/dsh-baton?style=directory)](https://allmcps.com/mcp/dsh-baton)
HTML Embed
<a href="https://allmcps.com/mcp/dsh-baton"><img src="https://allmcps.com/api/badge/dsh-baton?style=directory" alt="Dsh Baton on AllMCPs" /></a>