lilyblessing/dsh-mcp-skill-panel
MCP 与技能管理面板:设置页展示 MCP 服务器与 Skill 目录,随时启停释放上下文占用。
Project Overview项目介绍
This is a native web plugin built exclusively for DeepSeek Harness (DSH) that adds a dedicated settings panel for managing MCP servers and Skill directories. It can be installed directly from the DSH marketplace, and requires no extra build steps or manual dependencies beyond a compatible DSH runtime. Each entry in the panel has a toggle switch for real-time start/stop, so disabling an entry immediately releases its context tokens without needing a full DSH restart. It also supports importing and migrating existing MCP server configurations from other agents like Claude Code and Codex with one click.
This plugin is targeted at DSH users who manage dozens or hundreds of MCP tools and custom skills, and want to avoid unnecessary bloat in the model's context window. The typical workflow starts with opening the DSH settings menu, navigating to the MCP & Skill panel section, and toggling the entries you want to enable or disable. You can set a tool budget limit to get an alert if your total number of enabled tools exceeds your desired token limit. If you enable the optional AI auto-management layer, the model will automatically enable and call disabled MCP tools on demand, leaving your overall context clean.
The plugin is released under the permissive MIT open source license, so it is free to use, modify, and redistribute without any cost or restriction. It requires a DSH runtime of version 0.1.2-rc.1 or newer to work correctly, and it aligns its dependencies with the DSH core to avoid version conflicts. All your configuration and toggle state is persisted to the ~/.dsh/dsh-mcp-skill-panel/state.json file in your user directory, so your settings are retained across DSH restarts. After installing the plugin from the DSH marketplace, it is ready to use immediately with no extra setup steps for first run.
这是一个专为 DeepSeek Harness(DSH)开发的原生 Web 插件,提供MCP服务器与Skill技能目录的可视化管理面板,支持对每个条目进行实时启停,停用后立即释放上下文占用,启用无需重启DSH。它内置可选的AI中间层,可让模型按需临时调用停用的MCP工具,同时支持从Claude Code、Codex等其他 agent 迁移导入MCP配置。
本插件面向需要管理大量MCP服务器和技能、希望控制模型上下文 token 占用的DSH用户。典型工作流程是:在DSH设置面板打开本插件页面,通过开关启停对应条目,可设置工具数量红线超量告警,开启AI中间层后模型会自动按需调用停用的MCP,无需用户手动干预启停,手动开启的条目始终保持可见。
本插件采用MIT许可,完全免费开源。它依赖DSH运行环境,要求DSH版本不低于0.1.2-rc.1,所有配置和状态都会持久化存储在用户目录的~/.dsh/dsh-mcp-skill-panel/文件夹下,重启DSH后设置会保留。插件安装后即可直接使用,无额外的配置或依赖步骤,第一次启动就能正常工作。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-mcp-skill-panel(lilyblessing/dsh-mcp-skill-panel)
仓库:https://github.com/lilyblessing/dsh-mcp-skill-panel
本站详情页:https://www.yhbd.top/plugins/lilyblessing-dsh-mcp-skill-panel/
本站登记:类型 bundle · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 7 · 最近提交 2026-09-16 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add "github:lilyblessing/dsh-mcp-skill-panel#main"
把 lilyblessing/dsh-mcp-skill-panel 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
🧩 MCP 与技能管理面板
DeepSeek Harness(DSH)Web 插件 · MCP 服务器与 Skill 目录的实时启停 · 可选中间层(让AI按需调用)
🌐 English · 中文
✨ 是什么
一个把 MCP 服务器 与 Skill 目录 变成可操作清单的设置页面板:每个条目一个启停开关,停用即释放上下文占用,启用无需重启。
还内置可选的 AI 中间层(autoManage):开启中间层时,停用的 MCP 立即释放上下文,被中间层接管;模型需要 MCP 工具时,由中间层临时开启 MCP,按需调用工具;用户手动打开的 MCP 全程对模型保持可见以维持高灵敏调用 —— 上下文占用完全由你的开关决定。

🎯 核心能力
| 能力 | 说明 |
|---|---|
| 🟢 MCP 实时启停 | 停用 → loader entry 卸载(断开连接 + 注销全部 mcp__<server>__* 工具),工具从模型目录立即消失、schema token 即时释放;启用 → 重新连接 + 恢复工具,无需重启 |
| 🧠 Skill 启停 | 往 SKILL.md frontmatter 注入/移除 disable-model-invocation: true,模型 catalog 实时失效 |
| 📊 停用态回填 | 停用的 MCP 卡片仍显示「目录中有多少工具、约多少 token」(来自私有 catalog 的 last-good 快照),决策是否启用更有依据 |
| 🤖 AI 中间层(可选) | autoManage 开启后:停用的 MCP 对模型隐藏,模型经 dsh_mcp_search / dsh_mcp_call 按需使用;用户打开的 MCP 保持模型可见;AI 临时启用不污染上下文 |
| 🔒 用户启停不被模型干预 | 回收器只回收「AI 从停用态临时启用」的 server;用户手动打开的 server 永不被自动关闭 |
| 💾 重启保持 | 启停意图持久化(~/.dsh/dsh-mcp-skill-panel/state.json)并在启动早期物化进预设组合文件;catalog 快照(catalog.json)重启后仍可回填 |
| ⚡ 响应快 | 开关点击即翻转(乐观更新 + 服务端确认),分域缓存 + 事件驱动失效(tools/change / skills/change),MCP 页不触发 skill 目录扫描 |
| 🌐 双语界面 | 全部文案 zh/en 双语,跟随 DSH 界面语言;明暗主题适配 |
| 🪶 零上下文占用 | 插件自身不注册任何模型工具,不消耗模型注入面(开关关闭时与未安装无异) |
| ⏱️ 生效时机选项 | 手动开关可选「立即生效」或「下次会话生效」,后者零缓存失效、零额外费用;AI 中间层按需调用始终不触发缓存 miss |
| ➕ 快速迁移添加 | 面板粘贴其它 harness 的 mcpServers JSON(Claude Code / Codex 等)→ 转换预览 → 一键添加为全局(写入 profile patch)或项目(.dsh/mcps/mcp.json);type/transport 自动推断、${VAR} 环境变量自动插值 |
| 📁 项目级 MCP | 读取 <工作空间>/.dsh/mcps/**/mcp.json(根目录先读、子目录按 serverName 覆盖),仅该项目工作空间的会话可见(按会话 cwd 过滤);文件改动热更新 |
| 🛠️ 工具级禁用 | 在 server 级启停之上按工具精确控制:被禁工具从 dsh_mcp_search 检索结果过滤、dsh_mcp_call 直接拒绝;项目 MCP 按工作区作用域隔离(A 区禁用不影响 B 区) |
| 🧮 工具级批量启停 | POST /mcp/toolBulk 一次读-改-写落整批(不写 N 次盘):toolNames 三态 —— 省略=该 server 当前目录里的全部工具 / 数组=精确集合([] 为空操作)/ 非数组、或非空却 0 命中=400(不静默降级成「全部」,也不静默 no-op);响应含 ignoredToolNames,把「点名了但不在当前目录」的项回传,目录漂移可见化 |
| 📈 有效统计 | 工具数 / token 数同时给「目录总数」与「工具级启用数」:面板按与装配过滤同源的谓词(isToolDisabled + 会话工作区)复算,禁用 400 个工具后不再仍显示 450。口径边界:只扣「工具级禁用」,不覆盖 server 级隐藏(AI 临时启用 / middleLayerHides='all')与 project-mcp 工作区过滤 |
| 🎯 工具预算 | toolBudget 设一条工具数红线(如 350),超线卡片变红;比较对象是全部工具(含 read/edit/bash/skill 等非 MCP 工具),数据源优先请求面真值 —— toolsAllSource='request'(会话上一次已落盘请求的装配后工具表),取不到时回退注册表 'registry',且口径来源在卡片上标注(注册表口径是近似值,不得混同) |
| 🧭 AI 中间层按模型分流 | autoManageByRoute:按 provider 或 provider/model 分别开中间层;查表序 provider/model → provider → autoManage 总开关。覆盖项为真时即使总开关关也会挂载中间层(被覆盖的模型可用 dsh_mcp_search / dsh_mcp_call),其余模型维持直用形态 |
🙈 middleLayerHides |
中间层隐藏范围,默认 'disabled'(只隐藏停用的 server);'all' 时连已启用的 server 也从模型装配面隐藏,模型统一改经中间层取用 —— 只改「本次装配的可见性」,工具注册表与 dsh_mcp_call 执行通道不受影响 |
| 🪄 创建技能 | 面板填写名称/描述/指令即可创建技能(全局 ~/.dsh/skills 或项目根 .dsh/skills),可上传 SKILL.md 自动解析 frontmatter 预填,创建后立即可见 |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Jungod1121/dsh-anchored-standard
SaiSenBox/dsh-prompt-manager
jiesou/dsh-stream-rules