DeepSeek Harness Plugin: dsh-mcp-lazy
`dsh-mcp-lazy` is a plugin for DeepSeek Harness designed to address the problem of native MCP plugins consuming a large number of tokens and maintaining a persistent memory footprint. It introduces a single proxy tool that uses lazy loading and idle disconnection mechanisms to start the corresponding server only when invoked. It supports metadata disk caching, token savings measurement, and configuration migration, significantly reducing context space consumption. Users should note the Node.js version requirements and token savings thresholds, and it is recommended to validate the setup before enabling it.
Read Moredsh-mcp-lazy: DSH's Lazy-Loading MCP Plugin, Reducing Token Waste by Disclosing Tool Schemas on Demand
# Introduction The philosophy of DSH (DeepSeek Harness) is "everything is a plugin." Developers often install multiple MCPs on it, such as files, browsers, and databases. This incurs a specific cost: even if the current problem only requires file tools, all MCP tool names, descriptions, and parameters may enter the model context simultaneously. The more MCPs installed, the more tokens are consumed per round. Below is an introduction to leaforbook/dsh-mcp-lazy, a DSH plugin designed to hide descriptions of temporarily unused tools and load them when the task requires them. # What is it dsh-mcp-lazy (npm package name `@yilinxiao/dsh-mcp-lazy`) is an MCP for DeepSeek Harness (DSH).
Read More