dsh-baton
Lets Claude Code or Codex hand coding tasks to a local DeepSeek Harness and get back changed files and test results.
177 stars on GitHubby JialaoLiuLicense MITUpdated 20 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add dsh-baton -- npx -y dsh-baton-mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Build a command-line task manager with tests and hand it to DeepSeek Harness.
Call dsh_list_workspaces and show me my Harness workspaces.
What it is
dsh-baton passes coding tasks from Claude Code or Codex to DeepSeek Harness running on your machine. The task runs live in the Harness window, and the main agent hears back once when it ends. It returns the changed files, test results and a requirement-by-requirement checklist.
What it can do
dsh_list_workspaces: list your Harness workspacesdsh_send: hand a task to Harness, with optional model and effortdsh_wait: wait for a run to finish (up to 59 minutes in Codex)dsh_status: check a rundsh_list_models: show available models- Steer a running task with a new requirement
When to use
- βΊWhen you have a big or long coding job and want to lower the main agent's cost
- βΊWhen your usage window is running low and you want another model to do the work
- βΊWhen you want the work visible in a window and open to your intervention
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
coding-agentHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.coding-agentHelps your agent hand a larger coding job to a separate coding assistant, such as Codex or Claude Code, and run it in the background.delegateTeaches your agent to split a large task into focused parallel helpers, while keeping planning, integration, and the final check in its own hands.Frequently asked questions
Is it free?
The server is MIT licensed. You pay for the models you use. Its readme reports total costs 51 to 78 percent lower with Claude Code on its tests.
Which systems work?
macOS and Windows.
How do I install it?
In Harness, open Plugins, Add plugin, type dsh-baton-host, Install, then Enable now. Start a new chat in Claude Code or Codex.
How do I check it works?
Ask the agent to call dsh_list_workspaces.
Can I choose the model?
Yes. Say which model, and dsh_send passes it for that session only.
When should I not use it?
The readme says small tasks on Codex with GPT-6.1 Sol are better done directly.
If it does not work
- βΊStart a new conversation after enabling the plugin, since open chats do not see dsh-baton.
- βΊIn Codex, approve the dsh-baton tool calls, and for unattended codex exec runs add --approve-for-me.
- βΊIf the plugin could not register itself, register it by hand using the steps in the readme's install details.
5 new skills a week. 1 minute to read.