YanzuoLu/dsh-mcp-toggle
Per-session MCP server selection in the composer, off by default — select only the servers this conversation actually needs.
Adds an MCP dropdown immediately right of the composer permission control, whose count is the number of selected servers rather than the number of tools. MCP is off by default, including for sessions that already existed when you installed the plugin and for newly added servers. Turning a server off removes its tools from subsequent native tool definitions and generated PTC SDKs, hides its attributed server instructions, removes it from the resource-server hint and blocks resource access through the shared MCP resource tools, while ordinary DSH tools are unchanged. Server connections stay shared and running — selecting one does not launch, restart, disconnect or reload it, and availability means a provider is registered, not that a health probe passed. Subagents follow the ordinary session at the root of their parent chain; a new side chat copies its main session's selection and then owns an independent choice.
Install
dsh plugin --profile web add github:YanzuoLu/dsh-mcp-toggleTargets DSH 0.2.0-rc.2 and needs no DSH restart for install or ordinary updates; refresh the browser to load changed client code. Choices are stored per session in DSH's mcp_toggle storage domain, so they survive a restart and are not a browser-only preference.
Compatibility
DSH 0.2.0-rc.2. The README is precise about timing: changes made while idle apply immediately, a running session adopts them at its next safe step boundary and the menu says so while selected and effective choices differ, already executing MCP calls are not cancelled, and on first installation a step already in flight can finish with its existing servers.
Details
- Repo: YanzuoLu/dsh-mcp-toggle
- Category: Tools & Capabilities
- Stars: 0
- Version: not published to npm; installs from the GitHub default branch
Alternatives
hrygo/dsh-ptc-tool-search · A3Boy/dsh-web-tools · anht3889/dsh-mcp-management