Back to search
dsh-plugin-switch
MCP serverGitHub
DeepSeek Harness plugin: sidebar panel to stop/start any plugin or MCP server at runtime
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Checked today
Badge for your README
Markdown
[](/listings/attiv--dsh-plugin-switch)HTML
<a href="/listings/attiv--dsh-plugin-switch"><img src="/api/listings/attiv--dsh-plugin-switch/badge.svg" alt="findsafeskills safety rating" /></a>Install
i
Install instructions from the README
As written by the repo's author. findsafeskills has not verified these steps.
dsh plugin --profile <profile> add link:/path/to/dsh-plugin-switch
or from GitHub:
dsh plugin --profile <profile> add github:Attiv/dsh-plugin-switch
The panel needs `dsh-better-sidebar` (optional peer). Without it the host half still works; there is just no sidebar page.
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
README.md · README · 51 lines
- # dsh-plugin-switch
- DeepSeek Harness plugin: a sidebar panel that lists every loader entry — plugins and MCP servers — and stops or starts each one at runtime. No config edits, no Host restart.
- ## What you get
- A **插件开关** tab in the sidebar (registered through `dsh-better-sidebar`):
- - search by package name or loader id;
- - running / total counter;
- - one row per entry: status dot, package name, loader id, and a 停用 / 启用 button;
- - the choice is remembered in `~/.dsh/plugin-switch-state.json` and re-applied on the next boot.
- A `plugin_switch` tool is also registered for scripted sessions and the CLI:
- ```
- plugin_switch action=list
- plugin_switch action=disable id=rea-mcp
- plugin_switch action=enable id=rea-mcp
- ```
- ## Semantics
- - Stop = `entry.update({ disabled: true })` on the loader entry: the running fiber is disposed, an MCP client disconnects and its tools leave the registry.
- - Start = the reverse; the fiber re-applies and tools come back.
- - **Patch files are never rewritten** — comments and hand formatting in `cordis.patch.yml` stay intact.
- - Switches are recorded in a sidecar file and replayed at startup. Delete `~/.dsh/plugin-switch-state.json` to fall back to whatever the profile declares.
- - `id` resolves by exact loader id, exact package name, then a unique substring; ambiguous keys are rejected with the candidate list instead of guessing.
- - The plugin refuses to switch itself off.
- ## Install
- ```bash
- dsh plugin --profile <profile> add link:/path/to/dsh-plugin-switch
- ```
- or from GitHub:
- ```bash
- dsh plugin --profile <profile> add github:Attiv/dsh-plugin-switch
- ```
- The panel needs `dsh-better-sidebar` (optional peer). Without it the host half still works; there is just no sidebar page.
- ## Development
- ```bash
- node --test test.mjs
- ```
- Tests cover listing, toggling, restore-on-boot, id resolution, ambiguous keys, cross-site rejection and self-protection.
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.