dsh-mcp-toggle
Enable/disable MCP servers directly from DSH Settings: a 'MCP Servers' page that stops/starts @deepseek-ai/dsh-mcp-client connections live and persists the change across restarts.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Zenjibad/dsh-mcp-toggle说明文档
阅读完整 README ↗⚙️ Configuration
No config file, no persisted settings of its own. Behaviour is fixed by constants in the source:
| Knob | Location | Default |
|---|---|---|
| HTTP route | src/index.ts | `GET |
| MCP plugin filter | MCP_CLIENT_PLUGIN in src/index.ts | @deepseek-ai/dsh-mcp-client |
| Locked entries | LOCKED / LOCKED_NAMES in src/index.ts | include, cordis:include, dsh-mcp-toggle |
| Settings page | src/client/index.tsx | settings.section id mcp-toggle, order 70 |
| Toast duration | src/client/index.tsx | 6 s |
| Persistence target | $DSH_HOME/cordis.patch.yml (home patch layer) | appended rows |