dsh-control-center: Managing MCP, Skills and Global Profiles in Settings

Introduction

DeepSeek Harness (DSH) combines MCP servers, Skill files, and system prompt fragments via the profile and patch layers. In daily development, these three types of resources are often scattered across YAML, the $DSH_HOME directory, and GitHub repositories. This makes it cumbersome to cross-reference multiple files for a single change and inconvenient to verify at a glance in the UI whether the Loader is connected.

dsh-control-center (repo MYanhui/DSH-plug-in) is a dual-sided plugin maintained by MYanhui: the host side holds the data and contributes on the model side, while the browser side mounts three pages into the Settings shell, corresponding to MCP Management, Skill Management, and Global Persona respectively. The following introduces its positioning, capabilities, and installation usage; facts are subject to the GitHub README.

What is this

In short: It provides visual Settings pages for three areas in DSH: MCP servers, skills, and global personas.

Its location in the Settings tree looks roughly like this:

Settings
├── …
├── MCP 管理          MCP server CRUD
├── Skill 管理        author or pull skills, inspect and delete them
└── 全局人设          a library of persona documents, one active

The plugin is released as a standard DSH bundle with the package name dsh-control-center. The current README shows package.json version 1.0.0, license MIT, requiring Node >=20 and DSH engine >=0.2.0-rc.1 <0.3.0-0.

Core Features

MCP Management

MCP servers are Loader rows in DSH, not ordinary settings key-values. The page writes a marked managed block into the patch layer of the current profile, which is reloaded and composed by dsh-hmr. Content outside the block is preserved as-is, while the payload inside the block is JSON (a strict subset of YAML 1.2) to prevent URLs, parameters, or environment variables from breaking the document structure.

Definitions are stored in $DSH_HOME/control-center/mcp-servers.json; each write regenerates the block from this file. Disabling a server removes the row from the Loader but does not lose the definition. The list reflects the Loader’s live status, distinguishing between configured, enabled, and connected.

Example block form (excerpt from README):

# >>> dsh-control-center:mcp — managed, edit it from Settings instead
- insert: [{"id":"cc-mcp-github","name":"@deepseek-ai/dsh-mcp-client","config":{…}}]
# <<< dsh-control-center:mcp

Skill Management

Skills are ordinary files. This page is a filesystem editor for the scanned root directories of dsh-skill-filesystem, rather than a separate database:

Root Source
$DSH_HOME/skills user-dsh, provider rank 400, default installation location
$DSH_AGENTS_HOME/skills user-agents, rank 500
Any customSkillDirs From live skill-filesystem rows

Project-level roots (.dsh/skills, .agents/skills) vary with the session working directory and are intentionally excluded from this page.

Capabilities include: creating skills (writing <root>/<name>/SKILL.md with frontmatter), raw editing with frontmatter validation, and pulling from GitHub (via codeload archives and built-in tar, no local git required). Supported URL forms:

https://github.com/owner/repo
https://github.com/owner/repo/tree/<branch>
https://github.com/owner/repo/tree/<branch>/<subpath>

The git@github.com:owner/repo.git format is also supported. Existing skills are only replaced when overwrite is enabled. The filesystem provider monitors the root directories, so changes take effect before the next model call without requiring a restart.

Global Persona

Each persona is a Markdown file under $DSH_HOME/control-center/personas/, with metadata in personas.json; only one is active globally, and the page allows clearing the current selection.

The active document is registered as a system-prompt section (order 5, interpolate: false). It stacks with the harness identity, deployment persona, tool instructions, etc., and does not replace the order 0 deployment persona prefix. Switching the active persona disposes and re-registers it, so the next assembly uses the new text.

HTTP API (for integration or debugging)

A single POST route /control-center/api dispatches via the method field, e.g., system.info, mcp.*, skill.*, persona.*. Responses look like { ok: true, value } or { ok: false, error: { code, message } }. Browser calls with an Origin must point to loopback; IPC / shell calls without an Origin are considered to run under user privileges.

Installation and Activation

Choose one of the following channels; the official CLI will write to the profile manifest.

Official CLI:

dsh plugin --profile <name> add dsh-control-center

Windows One-key Script (copies the package, backs up patches, writes the mount block, supports -DryRun preview, -Profile / -DshHome to specify targets):

powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\install.ps1
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\uninstall.ps1   # one-key restore

Manual (when managing the profile’s node_modules yourself): Copy the plugin directory to <profile>/node_modules/dsh-control-center and append to the profile’s cordis.patch.yml:

- insert:
    - id: control-center
      name: 'dsh-control-center'

After saving, dsh-hmr will watch this file; the browser half appears in the client startup graph, and a page refresh is required for the first appearance. The script installation keeps cordis.patch.yml.bak-dsh-control-center as a rollback point.

Typical Usage

  1. Install and refresh Settings, open MCP Management, add/delete or switch MCP rows, and confirm whether the connected status in the list matches expectations.
  2. In Skill Management, create or edit SKILL.md in $DSH_HOME/skills, or paste a GitHub repository URL to pull multiple SKILL.md files (enable overwrite if needed).
  3. In Global Persona, maintain persona documents and activate one; the control-center:persona section will be included when the system prompt is assembled in the next session.

Local self-checks (not dependent on a running harness):

node scripts/selfcheck.mjs     # host half
node scripts/clientsmoke.mjs   # browser half

The network path for skill.pull needs to be verified with real repositories in an actual harness; for Chinese instructions and troubleshooting, see the repository’s README.zh.md.

Use Cases and Notes

Suitable for DSH users who need to maintain MCP Loader rows, global Skill root directories, and cross-session personas within the same Settings interface, without wanting to manually edit marked patch blocks.

The plugin’s host logic reads and writes $DSH_HOME, profile patches, and Skill root directories with the permissions of the current dsh process; pulling skills from GitHub initiates network requests. Before installation, please review the source code and MIT License to ensure compatibility with your existing profile and engines.dsh version range.

The community directory page skillhub.cn/plugins/MYanhui/DSH-plug-in and the GitHub repository are maintained by the community and have no official affiliation with DeepSeek / High-Flyer; the DSH ecosystem emphasizes “everything is a plugin,” and this article does not describe it as an official app store entry.

Conclusion

dsh-control-center consolidates MCP, Skills, and global personas from scattered files into three Settings pages, connecting with dsh-hmr and the next prompt assembly via managed blocks and filesystem providers. For more information, visit GitHub: MYanhui/DSH-plug-in and the SkillHub Directory Page.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye