AI Agent Hub
Back to plugins
🤖

dsh-mcp-lazy

Model Inference Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install leaforbook/dsh-mcp-lazy

Paste the following prompt into your AI chat to install this plugin:

To install the dsh-mcp-lazy plugin in DeepSeek Harness, please run the installation command, as the source code is available at https://github.com/leaforbook/dsh-mcp-lazy.

About this plugin

When multiple MCPs (such as file systems, browsers, and databases) are installed in DeepSeek Harness, the model is forced to read the documentation for all tools in every round, which wastes significant token resources—even if the current question only involves a subset of them.

The dsh-mcp-lazy plugin solves this problem perfectly by introducing a "Schema on-Demand Disclosure" mechanism. It intercepts compatible MCPs to hide their tool descriptions initially, revealing them dynamically only when the model needs to invoke a specific function, and automatically hiding them again after the current round ends.

This approach not only significantly reduces token consumption in the model's context but also improves inference efficiency. It is particularly suitable for engineers and developers who need to frequently switch between multiple tools in a single session, making it an excellent tool for optimizing the DeepSeek Harness experience and reducing costs.

Use Cases

  • Frequently switching between multiple MCP tools in a session
  • Significantly reducing token consumption in the model context
  • Improving DeepSeek Harness inference efficiency

Best For

  • Developers needing to use multiple MCPs simultaneously
  • Users concerned about API call costs
  • Users looking to optimize their DeepSeek Harness experience