labmimors/dsh-mcp-lens

DeepSeek Harness MCP tool search for large catalogs: 1,000 MCP tools behind 2 MCP-facing schemas, exact-schema calls, allow/deny controls, and a local calculator.

Bundle 已验证 MIT TypeScript 未知
Bundle 已验证

已收录

5

Dev

Bundle 已验证

版本未知
语言TypeScript
许可证MIT
在 GitHub 查看

预览

第 1 个预览,共 2 个:labmimors/dsh-mcp-lens
第 2 个预览,共 2 个:labmimors/dsh-mcp-lens

功能介绍

渐进披露 MCP 网关:用 `mcp_search` 检索大型远程工具目录,再由 `mcp_call` 按精确 schema 调用,并采用惰性连接与有界缓存。

适合

  • 需要管理数十到数千个工具及多个 MCP 服务器的 DeepSeek Harness 用户。
  • 适合先检索、再仅披露少量高相关精确工具 schema 的工作流。
  • 需要通过允许/拒绝规则约束最终服务器与工具选择的团队。

不适合

  • 只有少量工具且几乎每次请求都会使用这些工具的小型目录。
  • 无法满足文档所列 DeepSeek Harness rc.6、Node.js 与 pnpm 前置条件的环境。
  • 额外检索步骤相比直接选用工具没有实际收益的工作流。

README

MCP Lens for DeepSeek Harness

English 简体中文

Website · Local schema calculator · Install rc.9

verify release license DeepSeek Harness

Shrink large MCP catalogs to a two-tool model surface.

MCP Lens lets DeepSeek Harness search and call 1,000 remote tools through two stable model-facing interfaces. Instead of sending every tool schema on every turn, it reveals exact schemas only for a small ranked set when a tool is actually needed.

If this keeps a large MCP catalog manageable for you, star the repository so more DeepSeek Harness users can find it.

Why users install it:

  • Spend less on input-heavy turns: in the dated three-task pilot, estimated DeepSeek V4 Flash cost fell from $0.0307204 to $0.0034707.
  • Keep more room for the real task: the same pilot reduced request/header.tools JSON from 674,249 B to 27,401 B.
  • Retrieve more relevant covered calls: on a frozen MCP-Atlas-derived convenience holdout, Recall@5 rose from 0.062610 to 0.246656 across 304 untouched prompts. This is lexical retrieval evidence, not an official MCP-Atlas or end-to-end score.
  • Avoid rebuilding the same search index on every query: rc.9 reuses the tokenized index for each Lens-owned frozen catalog and policy generation, then invalidates it when the catalog changes.
  • Narrow the tool-choice surface: search reveals only a small ranked set of exact schemas, and the final server/tool is still gated by allowTools and denyTools.
  • Preserve completion in the tested pilot: both arms completed 3/3 tasks, while Lens used one extra search step.

Use MCP Lens if you have dozens to thousands of MCP tools, multiple servers, or long-tail tools that are expensive to advertise on every turn. Skip it if you have only a handful of tools that are used almost every request.

Install rc.9

Prerequisites: DeepSeek Harness 0.1.0-rc.6, Node.js ^22.19.0 or >=24.0.0, and pnpm on PATH. The dsh plugin command delegates installation to pnpm.

Fastest install:

dsh plugin --profile web add dsh-mcp-lens@next

For a reproducible install, pin the reviewed version:

dsh plugin --profile web add dsh-mcp-lens@0.1.0-rc.9

The npm next tag currently resolves to 0.1.0-rc.9. The registry tarball was downloaded after publication and verified byte-for-byte against the reviewed GitHub rc.9 asset (SHA-256 a8e4bf8389d0107379c13c845feb3c7c0c26d4aa3312391640e1fed074d39dbc), then installed in a fresh DeepSeek Harness rc.6 profile.

常见问题常见问题

在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:labmimors/dsh-mcp-lens。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。