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.
已收录
5
Dev
Bundle 已验证
预览
功能介绍
渐进披露 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
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.0307204to$0.0034707. - Keep more room for the real task: the same pilot reduced
request/header.toolsJSON from674,249 Bto27,401 B. - Retrieve more relevant covered calls: on a frozen MCP-Atlas-derived convenience holdout, Recall@5 rose from
0.062610to0.246656across 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/toolis still gated byallowToolsanddenyTools. - Preserve completion in the tested pilot: both arms completed
3/3tasks, 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 元数据,并保持插件与本页展示的目录身份一致。
兼容性以页面上展示的 bundle 与 profile 状态为准。如果某个 profile 尚未检测到,请先保持禁用,并在生产启用前阅读仓库文档。
GitHub 链接和 activity 元数据是 release 与维护状态的来源。新版本发布后重新查看本页,确认目录已经观察到最新版本。