JohnXu22786/docs-retriever0

doctrove

面向编码 agent 的版本化库文档检索:检索文档目录、选择版本、按主题提取带相关度排序的文档片段。以 MCP stdio server 形式运行,零运行时依赖,可被 dsh 等插件化 harness 加载

包名
doctrove
版本
1.0.0
许可证
MIT
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JohnXu22786/docs-retriever

Configuration reference

Precedence: command line > environment variables > config file > defaults.

SettingCLIEnvironment variableConfig file keyDefault
Remote index URL--index-url DOCTROVE_INDEX_URLindexUrlnone (offline)
Local index path`--local-index
`DOCTROVE_LOCAL_INDEXlocalIndexbuilt-in data/index.json
Cache lifetime (s)--cache-ttl / --no-cacheDOCTROVE_CACHE_TTLcacheTtl600
Remote timeout (ms)--timeout-ms DOCTROVE_TIMEOUT_MStimeoutMs15000
Debug logging--debugDOCTROVE_DEBUGdebugfalse
Config file`--config
`DOCTROVE_CONFIGnone

The config file is JSON (example: examples/doctrove.config.example.json). All configuration is read-only: the plugin performs no writes and persists no local state. Empty-string environment variables count as unset (defaults apply); cacheTtl: 0 is a valid value (cache disabled).