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