Lazy MCP gateway for DeepSeek Harness: one stable proxy tool instead of N tool schemas, servers connect on first use and idle out, metadata cached to disk.
A lazy MCP gateway for DeepSeek Harness. It puts one tool in front of the model instead of N MCP tool schemas: servers start on first use, idle out again, and their tool metadata is cached on disk so search and describe never spawn anything.
@deepseek-ai/dsh-mcp-client connects every configured server at startup and registers every one of its tools as a native tool. As its own README puts it, tool descriptions and input schemas "enter every request while the tools are registered". A handful of servers therefore costs thousands of tokens on every request and one resident child process each — whether or not the model ever calls them.
This plugin keeps the model-facing surface at exactly one tool whose schema never changes, discovers tools on demand from a disk cache, and only spawns a server when a call needs it.
Measured against chrome-devtools-mcp@1.6.0 (29 tools), both sides rendered the same way — JSON bytes of the tool definitions, then four bytes per token:
per request --- --- native registration 21252 bytes ≈ 5313 tokens this gateway 1525 bytes ≈ 381 tokens saved 92.8%
The gateway figure is constant: configuring ten more servers does not move it, because their schemas are read on demand rather than sent every request.
The honest counterweight. The gateway costs a fixed 1525 bytes, so it wins only when a server's rendered tool definitions exceed that. The bundled fixture offers 7 small tools and the saving drops to 1.7%. A server with a couple of tiny tools would make the gateway a net loss. Measure your own before assuming:
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/wings1848--dsh-mcp-lazy.html)
TypeSafe Jev for DeepSeek Harness, the Model Context Protocol, and plain Node: typed judgments instead of prose, offline by default.
Dominic789654/awesome-deepseek-harnessA curated list of plugins, skills, MCP servers, patch/profile layers, orchestrators & UIs for DeepSeek Harness (DSH). Visualization · PPT · Coding · Agents · Loops (auto-research) and more. #dsh
kairoz9/dsh-mcp-admindsh plugin for MCP status inspection and server management | dsh 的 MCP状态查看与服务管理插件
labmimors/dsh-mcp-lensShrink MCP schema overhead in DeepSeek Harness: 1,000 remote tools behind 2 exact-schema interfaces, plus a local calculator and CI budget Action.
sandbaseai/deepseek-harness-handbookIndependent, source-backed handbook for DeepSeek AI's official DeepSeek Harness (dsh): agents, plugins, security, troubleshooting, and runbooks.
pazz11/Jnpz改配置+重启才能加 MCP?DeepSeek Harness (DSH) 插件「技能配置」解决:设置页粘贴 JSON 即连 MCP 服务器、热加载免重启;上传 zip/.skill 自动识别 SKILL.md,创建/编辑/启停技能,即点即用
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.