dsh-mcp-lens: A DeepSeek Harness MCP Plugin for Tool Routing and Cost Optimization

`dsh-mcp-lens` is a plugin for DeepSeek Harness (DSH) designed to address the challenges of large context size, high cost, and slow response times when connecting over 1,000 MCP tools. By leveraging data compression and routing technologies, it consolidates a vast number of tool instructions into two concise interfaces, reducing data size by 90%, improving response times by more than 50%, and supporting local computation as well as secure, compliance-friendly processing. Users can download and run it directly, making it suitable for developers who need to optimize cost, enhance performance, and manage large numbers of tools.

Read More
DSH-MCP-Lens: Converging MCP Tool Context with Two Model Interfaces

dsh-mcp-lens is a community plugin for DeepSeek Harness (DSH), designed to reduce the context pressure and API costs associated with large-scale MCP tools. By providing two stable interfaces, `mcp_search` and `mcp_call`, this plugin replaces the direct exposure of the full tool catalog, enabling lazy loading of tool discovery. It only presents precise `inputSchema` for a small set of candidate tools when needed, significantly reducing the amount of data processed by the model in each round. The plugin also includes an authorization control mechanism based on `allowTools` and `denyTools`, where `denyTools` takes precedence, ensuring the safety of final invocations. Additionally, it supports lazy activation, starting MCP processes only when necessary, and comes with a dependency-free utility for auditing tool payload sizes.

Read More