labmimors/dsh-mcp-lens4

dsh-mcp-lens

Cut MCP context and API cost in DeepSeek Harness with two model-facing tools, lazy discovery, and exact-schema calls

AI 분석

核心用途是优化 MCP(Model Context Protocol)的上下文占用与 API 开销。适合频繁使用 MCP 工具、希望降低 Token 消耗和费用的用户。

패키지
dsh-mcp-lens
버전
0.1.0-rc.9
라이선스
MIT
최근 업데이트
2026. 8. 16.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:labmimors/dsh-mcp-lens

Configuration reference

Most users only need servers, cachePath, allowTools, and denyTools. The remaining fields already have bounded defaults:

Show all bounded defaults

FieldDefaultPurpose
catalogTtlMs86400000Refresh a catalog after 24 hours
idleDisconnectMs300000Close an idle server after 5 minutes
connectTimeoutMs30000Connection deadline
callTimeoutMs60000Tool-call deadline
discoveryTimeoutMs30000Whole paginated discovery deadline
maxDiscoveryPages1000Maximum pages per discovery
maxToolsPerServer10000Maximum tools accepted from one server
maxBytesPerTool1048576Maximum projected metadata bytes per tool
maxTotalCatalogBytes67108864Maximum total catalog/cache bytes
maxHttpResponseBytes16777216Maximum streamed HTTP response bytes
maxCursorBytes4096Maximum UTF-8 pagination cursor bytes
searchLimitDefault5Default search results
searchLimitMax10Maximum search results

See the shipped cordis.patch.yml for the canonical defaults.