dsh-skills-mcp-manager: Centrally Manage Skills, MCP, and Instruction Files in the DSH Web Settings Page

Preface

When using DeepSeek Harness (dsh) for daily development, skill directories, MCP server configurations, and instruction files such as AGENTS.md are often scattered across multiple paths: some in the project’s .dsh/skills, some in the user directory, MCP requires manually editing JSON, and rule files must be tracked from the project root all the way down to the current working directory. Making changes or toggling items on and off is difficult to do while having a clear view in one interface of “what is actually in effect for the current session.”

The plugin introduced below, sunlitcrack/dsh-skills-mcp-manager, adds a top-level entry “Skills & MCP” under “Settings” in the Web GUI, placing skills, MCP, and the instruction files that DSH reads each turn into a single management panel. Once an MCP server is enabled, it actually connects and registers tools via @deepseek-ai/dsh-mcp-client, rather than merely modifying configuration files.

What Is This

  • Name: dsh-skills-mcp-manager (npm package name @sunlitcrack/dsh-skills-mcp-manager)
  • Maintainer: SunlitCrack
  • Category: admin-security (admin / security-related configuration)
  • Positioning: A standalone Web plugin for DeepSeek Harness, mounted on the profile’s bundle patch, without modifying dsh source code
  • Origin: Maintained independently by this repository after forking from zebbkira/dsh-skills-mcp-manager v0.2.0

The top of the panel always displays the currently active project directory and its source (Current Session / Selected Session / First Workspace / Manually Specified). When identification is inaccurate, click “Select Directory…” to pin the project directory locally, or “Restore Auto” to continue following the session.

Core Features

Skills

  1. Distinguish project-level and user-level, grouped by source: .dsh/skills, .agents/skills, ~/.dsh/skills, ~/.agents/skills.
  2. Enable / Disable: Rewrites disable-model-invocation and user-invocable in the front matter of SKILL.md; reversible.
  3. Delete: Physically deletes the skill directory (bundle) or flat .md file after two-step confirmation.
  4. Details: View description, whenToUse, and full body content.
  5. Import: Specify a directory → scan → select to import into ~/.dsh/skills; supports the system directory picker or manually entered paths.
  6. Search / Filter: Fuzzy search by name, filter by “Enabled / Disabled.”

Note: Only scans the four manageable root directories listed above; does not display built-in or runtime skills. The import destination is fixed to ~/.dsh/skills, with deduplication by directory name / file name.

MCP Servers

  1. Create servers via form or JSON (stdio’s command / args / env / cwd, or streamable-http’s url / headers).
  2. Test Connection: One-click real connection probe.
  3. Enable / Disable: Actually connect or disconnect; status displayed as Connecting / Running / Failed / Stopped.
  4. Search by name, edit, delete (deletion requires two-step confirmation).
  5. Configuration is written to $DSH_HOME/mcp.json; when DSH_HOME is not set, uses ~/.dsh/mcp.json.

Enabled servers are mounted via the host’s @deepseek-ai/dsh-mcp-client, with tool names in the form mcp__<server>__<tool>. The server name must satisfy [A-Za-z0-9_-]{1,32} and be globally unique. Credentials such as env / headers are stored in plaintext in the JSON file mentioned above; please manage file permissions accordingly (recommended 0600).

Instruction Files (AGENTS.md Family)

Lists the rule files that DSH reads into context each turn, grouped by user-level / project-level:

  • User-level: Only ~/.dsh/AGENTS.md (hardcoded single name; other files with the same level of names will not be read by DSH).
  • Project-level: AGENTS.md, CLAUDE.md, AGENTS.local.md, CLAUDE.local.md at every level from the .git project root down to the current working directory. When .git cannot be found going upward, the project root is the same as the session directory (consistent with the kernel’s dsh-agent-instructions behavior).

The panel supports details (inline read-only full text), create, and delete; missing slots display “Not Created” and allow one-click creation. Existing entries display byte count and a “Will Be Read” marker. Files larger than 1 MB are marked with a warning (DSH will ignore them). Body operations are capped at 512 KiB; out-of-bounds paths are rejected.

No enable switch: DSH selects rules by file name; renaming changes semantics, so only file-level operations are performed. No in-place editing (since 0.3.7): Disk is re-read every turn, so use an external editor for modifications. Newly created files only take effect in the next session.

For complete details on slot rules and loading order, see the repository’s docs/instructions.md.

Installation and Activation

Prerequisites: Node.js >= 22.19; dsh installed globally (npm install -g @deepseek-ai/dsh, and dsh --version prints a version).

Recommended installation from GitHub (the repository includes build artifacts in lib/):

dsh plugin --profile web add github:SunlitCrack/dsh-skills-mcp-manager
dsh web

To lock a version, append a tag to the end of the command, e.g.:

dsh plugin --profile web add github:SunlitCrack/dsh-skills-mcp-manager#v0.3.3

The npm package has not yet been published; once published, you can install it with dsh plugin --profile web add @sunlitcrack/dsh-skills-mcp-manager@<version>.

For local source modification and debugging, use link: installation; you need to run pnpm install and pnpm build yourself, and pay attention to the notes in the README regarding the link: and @deepseek-ai/dsh-mcp-client host dependencies. Installing directly from GitHub is not affected by this issue.

Typical Usage

After installing and restarting dsh web:

  1. Open the DeepSeek Harness Web GUI.
  2. Go to “Settings.”
  3. Select the top-level entry “Skills & MCP” on the left, alongside “Plugins.”

Manage skills, MCP, and instruction files in three tabs respectively. For example: create a stdio server in the MCP section → click “Test Connection” to confirm → after enabling, you should see mcp__<server>__<tool> tools on the Agent side; in the instruction files section, one-click create a “Not Created” slot, then use an editor to write content, which will take effect after starting a new session.

Use Cases and Notes

Suitable for: DSH users who want to centrally view and toggle skills, maintain real MCP connections, and cross-reference the AGENTS family files that DSH actually reads, without manually editing multiple directories and JSON files.

Important notes:

  • The plugin reads/writes local files and launches MCP subprocesses under the permissions of the current dsh process; before installing, please read the GitHub repository source code and license to confirm it meets your security policy.
  • MCP credentials are stored in plaintext at ~/.dsh/mcp.json (or $DSH_HOME/mcp.json).
  • The community directory SkillHub plugin page is an independent site with no official affiliation with DeepSeek / High-Flyer; the DSH ecosystem extends via “everything is a plugin,” and this plugin is one such example.

Conclusion

dsh-skills-mcp-manager consolidates skills, MCP, and instruction files into a single entry in the settings page, emphasizing real MCP connections and project directory source display, making it suitable as a daily management panel in the DSH Web environment.

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

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

Xiaoye