dsh-skills-mcp: Unified Management of Skills and MCP in DSH

Introduction

When running Agents in DeepSeek Harness (DSH), Skills are often scattered across ~/.dsh/skills, ~/.agents/skills, or the .dsh and .agents directories within a project. Meanwhile, MCP configurations might be duplicated in mcp.json, Claude Code’s ~/.claude.json, or the project’s .mcp.json. Modifying configurations requires manually editing JSON and memorizing paths, and there lacks a unified entry point for Web sessions.

The following introduces the community plugin dsh-skills-mcp (maintainer BrokenDreamStar): it provides unified management for both system-level and project-level Skills and MCP via the Settings → Skills & MCP page in DSH Web, as well as through the model tools skills_manager and mcp_manager. Classified as a workflow plugin, its documentation and source code can be found on the SkillHub Directory and its GitHub Repository.

What is this

dsh-skills-mcp is a Web-oriented plugin for DSH: it consolidates the Skills root directories natively scanned by DSH and the MCP configurations from DSH/Claude Code into the settings page and two management tools. System-level configurations apply to all sessions; project-level configurations are mounted only in sessions matching the project root.

It is compatible with DSH version >=0.2.1-rc.2 <0.3.0 (the README badge specifies 0.2.1-rc.2 ~ 0.2.x). The current package version is 0.4.1, licensed under MIT.

Core Features

Scopes and Directories

Capability System Level Project Level
Skills Directories $DSH_HOME/skills, $AGENTS_HOME/skills (default ~/.dsh/skills, ~/.agents/skills) <project>/.dsh/skills, <project>/.agents/skills
MCP Config $DSH_HOME/mcp.json + external ~/.claude.json <project>/.dsh/mcp.json + external Claude project config / .mcp.json
Scope All sessions Only sessions matching the project root
Loading Method Globally mounted by plugin Mounted within the Cordis scope of each Agent
Activation Immediate reload upon save Reloads active sessions upon save; loaded before new sessions are created

Skills

  • Merges and displays skills from both DSH and Shared Agents root directories, marking the source on each row; skills with the same name can exist in both roots.
  • Supports directory bundles (<name>/SKILL.md) and single files (<name>.md), consistent with the DSH native provider.
  • When creating/editing a full SKILL.md, users can choose which root directory to save to; the management page validates YAML frontmatter (at least name, description; optional whenToUse, disable-model-invocation, user-invocable, etc.).
  • Enable/Disable in DSH: Only writes a status file without moving or rewriting source files, and does not affect other Agents; disabling works by registering a non-callable runtime skill with the same name in the agent scope to shadow the filesystem provider.
  • Deletion moves items to a trash bin ($DSH_HOME/.skills-mcp-trash/...) which can be restored; symbolic links to skills outside the root directory are read-only.

To make Agents actually “see” the skills, @deepseek-ai/dsh-skill-filesystem must still be enabled in the profile/preset (the skill-filesystem provider scans the aforementioned root directories).

MCP

  • Displays DSH-managed servers and external servers discovered from Claude Code on the same page, grouped as “DSH Managed / Claude Code Discovered / Other Claude Projects”.
  • Supports stdio and streamable-http (transport or type can be used; HTTP alias is http), including env, headers, cwd, and toolCallTimeoutMs.
  • External entries are enabled in DSH by default and can be disabled individually; they can be “imported” as DSH-managed mcp.json entries for editing. External card secrets do not appear in WebUI snapshots or model tool list outputs.
  • Automatically writes mcp.json.bak before saving, with new file permissions set to 0600. OAuth flow is not implemented; keys are written in plain text within headers/env in the config, requiring manual control of file permissions.

Model Tools

Aligned with the capabilities of the settings page:

  • skills_manager: list / read / save / delete / enable / disable
  • mcp_manager: list / save / delete / enable / disable / reload / enable_external / disable_external / import_external

Both accept scope: "system" | "project" and optional project. Write operations other than list / read require danger-full-access, otherwise approval will be requested before each call.

Installation and Activation

Prerequisites: Node.js ≥ 22.19, and the dsh command-line tool installed.

Standard installation from GitHub (the repository includes the dist/ build artifacts, no local build is needed):

dsh plugin --profile web add github:BrokenDreamStar/dsh-skills-mcp

For local development and debugging, run npm install --legacy-peer-deps and npm run build in the plugin directory, then mount using link: (profile uses a hoisted linker, development requires link: instead of file:):

dsh plugin --profile web add link:/path/to/dsh-skills-mcp

Verify if the configuration is loaded:

dsh --profile web --dump-config | grep -A3 'id: dsh-skills-mcp'

After installation, open DSH Web Settings, navigate to the Skills & MCP section to use the interface. Both write operations and model management tools read/write host files with the current dsh process permissions. Please review the source code and LICENSE before installation.

Typical Usage

Writing and Saving Skills

Frontmatter example (validated by the management page before saving):

---
name: my-skill
description: What this skill does and when to use it.
whenToUse: Optional, supplementary trigger scenarios.
---

# My Skill

Content...

In the Web editor, select system or project level, and the DSH or Shared Agents root directory before saving. If you only want to temporarily not use a skill in DSH, use “Disable in DSH” without needing to delete the file.

Configuring MCP Servers

Edit the mcp.json content in the corresponding scope. For example, for stdio and streamable-http:

{
  "mcpServers": {
    "filesystem": {
      "transport": "stdio",
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path"],
      "env": { "TOKEN": "..." },
      "cwd": "/optional/cwd",
      "toolCallTimeoutMs": 60000
    },
    "remote": {
      "transport": "streamable-http",
      "url": "https://example.com/mcp",
      "headers": { "Authorization": "Bearer ..." }
    }
  }
}

For project-level stdio, if cwd is not filled, the project root is the default. MCP reloads immediately after saving; after manually changing files, click “Reload MCP” or create a new session. If Claude Code MCPs already exist locally, view external entries on the same page and import them as DSH-managed entries as needed.

Managing with Model Tools (Write operations require approval)

In sessions with danger-full-access, you can use skills_manager and mcp_manager to perform list/read-write/enable-disable/reload/import-external-mcp operations identical to the UI. Project level resolves the project root based on the current session cwd by default.

Use Cases and Notes

Who it is for: Teams and individual developers who frequently switch projects in DSH Web, need unified maintenance of Skills and MCP, or want to make existing Claude Code MCPs visible and importable in DSH.

Notes:

  • The plugin operates on ~/.dsh, mcp.json, and project .dsh directories with the current dsh process permissions; do not commit configurations containing secrets to Git.
  • Project-level MCP holds connections and child processes for each active session, which is the cost of project isolation.
  • The community directory SkillHub is an independent site with no official affiliation with DeepSeek/High-Flyer; stars and versions are based on the repository (GitHub stars were 0 at the time of data collection).

Conclusion

dsh-skills-mcp consolidates Skills and MCP from multi-path, multi-tool configuration methods into the DSH Web settings page and skills_manager / mcp_manager, distinguishing between system-level and project-level scopes. For further information, please visit the SkillHub Plugin Page and GitHub: BrokenDreamStar/dsh-skills-mcp.

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

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

Xiaoye