chimneyQ/dsh-mcp-context-mode ↗★ 0
dsh-mcp-context-mode
提供原生沙箱工具、路由网关及上下文报告的套件 适合需要安全沙箱执行、HTTPS修复及上下文管控的深度用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:chimneyQ/dsh-mcp-context-mode说明文档
阅读完整 README ↗Configuration
Every adjustable value lives in the plugin's Config, so setting it in cordis.patch.yml persists:
| Key | Default | Meaning |
|---|---|---|
storageDir | '' | Knowledge-base root; empty = /context-mode |
enginePath | '' | Explicit engine entry; empty = resolve automatically |
caPemPath | 'auto' | TLS trust source: 'auto' writes a PEM into storageDir/ca; an absolute path is used as-is; '' disables |
routing | true | Master switch for the routing gate |
denyCurlWget | true | Block curl/wget outright |
bashNudgeMinCommandBytes | 4096 | Long-command nudge threshold (bytes) |
maxReadBytesBeforeAsk | 51200 | Oversized whole-file read nudge threshold (bytes) |
contextReport | true | Register ctx_context_report |
compressNudgeTokens | 120000 | Occupancy warning threshold (tokens) |
trustedReadBasenames | 4 names | Filenames exempt from the whole-read nudge |
tools.* | all true except upgrade | Per-tool switches |