dsh-baton MCP

dsh-baton hands tasks from Claude Code or Codex to a local DeepSeek Harness and brings the result back with checks.

  • 216 ★ on the repository
  • Last commit
  • MIT
MCP server

Broad access

Why this level

  • A `dsh_send` call starts an agent in Harness that edits files and runs commands in the chosen folder.
  • Any process of your user can drive Harness through the same channel.
All reasons and checks

jialaoliu/dsh-baton

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add mcp/dsh-baton

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • A `dsh_send` call starts an agent in Harness that edits files and runs commands in the chosen folder.
  • Any process of your user can drive Harness through the same channel.

This is third-party code. Review the repository files before installing.

What it does

dsh-baton is an MCP server plus a small plugin for DeepSeek Harness. The main agent (Claude Code or Codex) hands a task to an ordinary Harness session on your machine with one call. The work runs live in the Harness window, you can step in at any time and every message is labelled "Sent by ChatGPT / Claude from another chat". The main agent does not poll: it waits and receives the result once, when the run ends. The result comes with the list of changed files, your project own test results (commands are set in `checks`) and a point-by-point check against the original requirement. When Harness asks a question, the main agent answers itself if told to decide, or brings the question to you with a recommendation. The tool list has ten tools: `dsh_list_workspaces`, `dsh_list_sessions`, `dsh_read_session`, `dsh_list_models`, `dsh_send`, `dsh_status`, `dsh_wait`, `dsh_answer`, `dsh_cancel`, `dsh_call`. Rare operations (creating and renaming workspaces and sessions, activity, queue, run list) go through `dsh_call`.

Who it is for. Claude Code or Codex users who have DeepSeek Harness installed and want to hand it long coding tasks.

Good fit when

  • A long implementation from a spec goes to Harness while the main agent works on the next task.
  • Several runs go in parallel and each returns within a second of finishing.
  • The result is accepted on evidence: file list, project tests and a check against the requirement.
  • A Harness question reaches the owner with the main agent recommendation.

Not a fit when

  • Harness is not installed or its version is below 0.2.1-rc.2: the plugin will not connect.
  • A direct bridge that swaps the model in the chat is needed: here the main agent keeps its own.
  • Other processes of the user must not reach Harness: the channel is shared by all processes under your account.

Example request

Hand the export function implementation to DeepSeek Harness, run the project tests after it finishes and show the list of changed files.

MCP

Transport
stdio
Authentication
not required

Limitations

DeepSeek Harness 0.2.1-rc.2 or newer, signed in, and Claude Code or Codex are required. dsh-baton relies on internal Harness service APIs (versions 0.2.1 and 0.2.2), so a major Harness update may need a new release. The channel is owner-only (socket with 0600 permissions on macOS and Linux, a named pipe on Windows) and has no network port, but any process of your user can drive Harness the same way as the `dsh` command. Harness sandbox and approvals apply.

How to disable. In Harness open Plugins, pick dsh-baton-host and disable it. The Claude Code and Codex entry disappears.

FAQ

How do I install dsh-baton?

In Harness: Plugins, Add plugin, enter `dsh-baton-host`, Install, Enable now. The plugin registers the server for Claude Code and Codex.

Is Node.js required?

No, neither Node.js nor a terminal is needed and there are no dependencies.

How do I check that it works?

Open a new conversation in Claude Code or Codex and ask it to call `dsh_list_workspaces`: the server returns your Harness workspaces.

Can you see who sent a message?

Yes, in Harness each message is marked as sent by Claude or ChatGPT from another conversation.

Does the plugin work on Windows?

Yes, the README has a separate Windows guide and installation through Harness plugins is the same on macOS and Windows.

Discussion

No questions or reviews yet.

A DeepSeek Harness plugin: Claude Code, Codex, Antigravity and Grok dispatch work to DSH agents, progress in the native task panel

PluginExtended access212Repository stars

A DeepSeek Harness plugin for a standing team of agents with memory, projects, task owners and verification by a second member

PluginBroad access92Repository stars
Official

The Harness MCP server: one agent starts other Claude Code and Codex sessions on your computer, waits for them, reads their answers and closes them

MCP serverBroad access1.5KRepository stars
Official

DeepSeek Harness is an open-source AI agent from DeepSeek where every feature is a plugin. It runs in the browser, on macOS and on Windows.

CLIBroad access279.3KRepository stars

A plugin opening DeepSeek Harness, Codex, Cursor and Claude Code workspaces from a phone or browser over encrypted P2P.

PluginBroad access2.7KRepository stars

A DeepSeek Harness plugin that imports chat history from Claude Code, Codex, Cursor and other agents to continue in DSH.

PluginExtended access309Repository stars

README in short

The README explains the hand-over idea, compares it with a model-swap gateway and a background sub-agent, gives a one-step install through Harness plugins, describes the ten tools, command line settings, security and limits.

README badge

Report a problem