# DSH Baton MCP Server

> Hand coding tasks to a local DeepSeek Harness and bring back the results.

- **URL**: https://followmcp.com/en/servers/dsh-baton
- **Category**: Dev Tools
- **Origin**: Community
- **Stars**: 281
- **FMRS Score**: 61/100 (Grade C)
- **Source**: https://github.com/JialaoLiu/dsh-baton
- **Transports**: stdio (local process)
- **Runtimes**: Node.js 22.15+
- **Auth**: No credential needed

## 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.

## 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
- 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.

## Client config (JSON)
```json
{
  "mcpServers": {
    "dsh-baton": {
      "command": "node",
      "args": [
        "/absolute/path/to/dsh-baton/src/server.mjs"
      ]
    }
  }
}
```

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