DSH Hub

Zenjibad/dsh-mcp-toggle

dsh-mcp-toggle

UIWorkflow0 GitHub stars· updated 2026-08-25

Enable/disable MCP servers directly from DSH Settings: a 'MCP Servers' page that stops/starts each @deepseek-ai/dsh-mcp-client connection live and persists the change across restarts.

Install

npx @deepseek-ai/dsh plugin --profile web add ./dsh-mcp-toggle

Restart `dsh web` after install. Bundle APIs can change during the developer preview.

README badge

dsh-mcp-toggle DSH Hub badge
[![DSH Hub](https://dshhub.dev/badge/dsh-mcp-toggle.svg)](https://dshhub.dev/plugins/dsh-mcp-toggle)

Paste this into your README. The star count updates with every catalog sync.

From the README

Excerpt from Zenjibad/dsh-mcp-toggle, cleaned of badges and images.

dsh-mcp-toggle · Enable/Disable MCP Servers from DSH Settings

Turn MCP servers on and off directly from Settings → MCP Servers: an additive settings page that stops/starts each @deepseek-ai/dsh-mcp-client connection immediately (its mcp__* tools unregister/register live) and persists the change so it survives a DSH restart. 在 DSH 设置 → MCP 服务器页面直接启用/停用 MCP:即时停止/启动每个 MCP 客户端连接,并持久化,重启后依旧生效。

中文文档: README.zh.md · LLM index: llms.txt · Agent guide: AGENTS.md

Keywords: dsh-plugin · deepseek-harness-plugin · mcp · mcp-client · settings · enable · disable · toggle · MCP 服务器 · 启用 · 停用

Repo

GitHub: Zenjibad/dsh-mcp-toggle · Requires DSH ≥ 0.1 with the web profile.


📑 Table of Contents


✨ Features

FeatureDescription
🎚️ MCP Servers settings pageAdditive Settings page (id mcp-toggle, order 70) listing every @deepseek-ai/dsh-mcp-client server the user has configured — with a toggle per row
🔄 Live toggleFlipping the switch calls the Cordis Loader's Entry.update({disabled}) — the MCP connection fiber is disposed (stop) or started immediately, its mcp__* tools unregister/register live, no DSH restart
💾 Persists across restartsEach change is appended to the home patch layer ($DSH_HOME/cordis.patch.yml) — the layer that outranks every profile, so the state survives a DSH restart regardless of where the MCP row originated
📊 Status at a glanceEach row shows the MCP server name, an Enabled/Disabled tag, and the connection phase (Connected / Stopped / Connecting / Connection failed)
🔒 Safety guardThe loader's include entry, non-MCP entries, and this plugin itself are guarded; unknown ids return 404, locked ids return 403
🌗 Theme-awareAll colors use --dsw-alias-* design tokens; follows light/dark automatically
♨️ Survives restartsReal profile-bundled plugin: install once with dsh plugin add, auto-loads on every DSH boot — no per-session define, no cordis_define

🏗️ How it works

Related plugins