← Back to directory
D

DSH Baton MCP Server

Community
Hand coding tasks to a local DeepSeek Harness and bring back the results.
Category
Dev Tools #61 of 751
Stars
★ 281 Very popular
Transport
stdio (local process)
Runtime
Node.js 22.15+
Credentials
No credential needed
License
MIT
Last commit
Tools
16
61FMRS · C

The supplied sources describe a local DeepSeek Harness task-handoff MCP server; the manifest declares stdio transport and an npm package. The README describes multiple clients, a Harness plugin, task waiting, and result checks. There is no evidence that the server is maintained by an upstream product or protocol owner, so it is marked non-official. Claude Desktop is listed as partial because the README only gives optional manual configuration instructions.

Strongest · Documentation 15/20 Weakest · Reliability 10/20

Reliability
10/20
Security and permissions
11/20
Maintenance
11/20
Documentation
15/20
Setup experience
14/20
Why each score
Reliability 10/20
The README describes stdio MCP, the tool set, wait and error states, a headless fallback, and Harness version requirements, making the overall flow plausible. The supplied material contains no verifiable CI workflow or committed tests, and no evidence of an actual initialization handshake. The server also relies on internal Harness APIs that may require follow-up after upgrades, so key-path reproducibility is unverified.
Security and permissions 11/20
The README says communication uses a local owner-only socket or per-user named pipe, exposes no network port, and remains subject to Harness sandboxing and approvals. It also discloses that processes running as the same OS user can drive Harness through the socket. Approval behavior is described for delegated tasks, but the material does not fully establish the data boundary for task content sent to the selected model service or provide verifiable implementation details about permissions. No red-line evidence is present.
Maintenance 11/20
The material identifies an MIT license, npm version 0.6.20, and a GitHub Releases update path; repository metadata says it is not archived and lists two open issues. Stars do not add points, and the supplied evidence does not show commit activity, issue response, dependency updates, or a security-response channel, so maintenance continuity is only partly established.
Documentation 15/20
The README provides extensive layered guidance and examples for installation, tool behavior and parameters, waiting, model selection, claimed test evidence, platform differences, limits, and troubleshooting scenarios. Points are deducted because important behavior and performance or cost figures are project claims that cannot be cross-checked against source or tests in the supplied material. Reliance on internal Harness APIs also leaves compatibility risk.
Setup experience 14/20
The documentation gives a one-step Harness plugin install and two-step check, covers macOS, Windows, Claude Code, Codex, and Antigravity, and includes manual registration examples. It also states Harness version requirements and some update paths. Setup still depends on a specific Harness plugin and version, with client restart or approval steps; Windows details are in a separate guide, and no execution evidence from CI and committed tests was supplied. The static score therefore remains within the 15-point cap.

Static review · not runReviewed 2026-12-04

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or code

Best for

  • Users with DeepSeek Harness installed and signed in who want to delegate coding work from Claude Code, Codex, or Antigravity.
  • Developers who want delegated work visible in the Harness desktop session and the option to intervene while it runs.

Not for

  • Users without DeepSeek Harness or who do not want to use local Harness sessions.
  • Users seeking a hosted cloud service or a server that performs coding without the local application.
  • Claude Desktop users who require full functionality; the README gives optional manual setup instructions for the desktop app but does not establish full support.

Required permissions

  • Needs access to Harness sessions and their workspaces; the README says new sessions start in the folder being worked in by default.
  • Communicates with the Harness plugin through a local owner-only socket; the README says processes running as the same OS user can drive Harness through that socket.
  • When checks are supplied with a task, the server runs the specified project check commands after the run ends.
  • Harness sandbox and approval settings apply to task execution; the README describes how approvals are handled during hand-offs.

Risks and side effects

  • Handed-off tasks can modify workspace files; review the result and project checks before accepting changes.
  • The README states that any process running as the same OS user can drive Harness through the local socket.
  • The server relies on Harness internal service APIs; the README notes that a major Harness update may require a follow-up release.
  • Token and cost savings reported in the README are based on its stated benchmarks and are not guaranteed for every task.

Setup

Before you start

Runtime:Node.js 22.15+

Other optional settings (9)
DSH_BATON_BACKEND optional Selects the automatic, plugin, or headless backend; set it only to change the default.
DSH_BATON_HOME optional Sets the dsh-baton data directory; defaults to `~/.dsh-baton`.
DSH_BATON_SOCKET optional Sets the plugin communication socket path; it must match the Harness plugin setting.
DSH_BATON_WAIT_S optional Sets the wait time in seconds for each `dsh_wait`; keep it below the client tool timeout.
DSH_BIN optional Sets the path to the Harness CLI used in headless mode.
DSH_HOME optional Sets the Harness data directory read by headless sessions; defaults to `~/.dsh`.
DSH_BATON_ACCOUNT optional Set to `0` to use the API key route in headless mode; by default it reuses desktop account sign-in.
DSH_BATON_PATCHES optional Sets extra patch overlays for headless mode, separated by colons.
DSH_BATON_AUTO_REGISTER optional Set to `0` to disable automatic registration by Harness.

The README's plugin installation flow is: in DeepSeek Harness, open Plugins → Add plugin, enter dsh-baton-host, then choose Install and Enable now. Once enabled, it registers dsh-baton for Claude Code, Codex, and Antigravity. A manual MCP configuration example is provided in install_config; replace the example absolute path with the actual project path and configure command with the local Node.js path.

.mcp.json
{
  "mcpServers": {
    "dsh-baton": {
      "command": "node",
      "args": [
        "/absolute/path/to/dsh-baton/src/server.mjs"
      ]
    }
  }
}

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "dsh-baton": {
      "command": "node",
      "args": [
        "/absolute/path/to/dsh-baton/src/server.mjs"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.dsh-baton]
command = "node"
args = ["/absolute/path/to/dsh-baton/src/server.mjs"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add dsh-baton -- node /absolute/path/to/dsh-baton/src/server.mjs

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

In a new client conversation, call `dsh_list_workspaces`. A returned list of Harness workspaces confirms the connection.

Troubleshooting

  1. Confirm DeepSeek Harness is installed and signed in, and that the dsh-baton-host plugin is enabled.
  2. Start a new Claude Code or Codex conversation to load MCP tools; the README says Antigravity needs one restart after enabling the plugin.
  3. Call dsh_list_workspaces to check server availability and whether Harness workspaces can be listed.
  4. If Codex requests approval, approve the dsh-baton tool calls; long waits also depend on the Codex tool timeout configuration described in the README.
  5. If the plugin is unreachable, the README says the server can fall back to dsh headless, which has session and desktop-sidebar limitations.

Things to try

Once connected, you can ask your AI assistant things like:

  • List my Harness workspaces.
  • Show my recent sessions and their run states.
  • Add tests to the current project and run them, then hand the task to DeepSeek Harness.
  • Show the status and result of the latest run.

Tools 16

dsh_list_workspaces read-only
List Harness workspaces.
dsh_create_workspace writes
Create or register a workspace; available to Codex through dsh_call.
dsh_list_sessions read-only
List Harness sessions, optionally filtered by folder or text.
dsh_list_models read-only
List models available in Harness and the default model.
dsh_read_session read-only
Read recent prompts, replies, and tool calls from a session.
dsh_send writes
Send a task or follow-up message to a Harness session and return a run identifier.
dsh_status read-only
View run or session status, recent activity, and the final reply.
dsh_wait read-only
Wait for a run to finish or need human input; can wait for multiple runs.
Show 8 more tools
dsh_answer writes
Send the user's answer to a question asked by Harness.
dsh_session_activity read-only
View turns, sub-agents, and background jobs in a session; available to Codex through dsh_call.
dsh_update_queued writes
Edit, remove, or bring forward a queued message; available to Codex through dsh_call.
dsh_cancel destructive
Stop work in a run or session.
dsh_rename_session writes
Rename a session; available to Codex through dsh_call.
dsh_rename_workspace writes
Rename a workspace; available to Codex through dsh_call.
dsh_list_runs read-only
List recent runs, optionally filtered by session; available to Codex through dsh_call.
dsh_call writes
Call another dsh_* tool by name, including tools not listed directly.

Use cases

Hand larger coding tasks to a local Harness session and retrieve the result when it finishes.
Inspect available Harness workspaces, sessions, and models, continue a session, or send follow-up work.
Wait for a run, handle a question from Harness, or cancel a run.
According to the README, receive changed-file lists, project check results, and requirement review details.

Supported clients

Claude Code
Codex
Antigravity
Claude DesktopPartial support

Listed from the project's documentation, not tested by this site.

Overview

DSH Baton MCP Server hands tasks from Claude Code, Codex, Antigravity, or another MCP client to a local DeepSeek Harness session, where they run in the Harness window. The README says results include changed files, project check results, and a requirement-by-requirement review. The server communicates with MCP clients over stdio and is paired with a Harness plugin.

Similar servers

Source revision 677d97f55d2a Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/dsh-baton.svg)](https://followmcp.com/en/servers/dsh-baton)