Extension management (Skills & MCP)
The dsh-skill-mcp plugin manages custom Skill directories and external Model Context Protocol (MCP) servers in DeepSeek Harness (DSH).
When the user asks how to configure MCP servers or add custom Skill roots, describe the available tools and configuration schemas directly without probing the workspace.
Core Management Tools
extensions_list:- Lists all managed Skill sources and MCP configurations along with their enabled/disabled state and transport type.
- Note: An enabled state indicates authorization in configuration, not necessarily active connection health.
extensions_inspect:- Inspects the actual Skill catalog currently snapshot for the caller and all visible MCP tools (
mcp__*). - Requires
cwd. Zero discovered tools does not automatically mean connection failure (servers may still be discovering or starting).
- Inspects the actual Skill catalog currently snapshot for the caller and all visible MCP tools (
extensions_add_skill:- Adds an existing directory containing skill folders (each containing a
SKILL.md). - Parameters:
id(unique internal identifier) anddirectory(absolute local path). - Added sources are created disabled by default; call
extensions_set_enabledto activate.
- Adds an existing directory containing skill folders (each containing a
extensions_add_mcp:- Adds a new MCP server configuration (created disabled by default).
- Parameters:
idandconfiguration(JSON string). - Supported transport configurations:
stdio:{ "transport": "stdio", "command": "node", "args": ["D:/path/to/server.js"], "cwd": "D:/path/to" }streamable-http:{ "transport": "streamable-http", "url": "http://127.0.0.1:9000/mcp" }sse(legacy SSE transport):{ "transport": "sse", "url": "http://127.0.0.1:9000/sse" }
- Security rules:
- Never supply plain-text API secrets, passwords, or authentication tokens in parameters or URLs.
- URLs with user credentials or access tokens are strictly rejected.
extensions_set_enabled:- Toggles an extension (
idandenabled: true|false). - Enabling a stdio server authorizes its executable to run when the DSH profile reloads.
- Toggles an extension (
extensions_update_skill&extensions_update_mcp:- Modifies existing Skill directory paths or updates MCP connection configurations while preserving the existing ID and enabled status.
extensions_remove:- Removes a managed configuration. Removing a Skill source removes its registration in DSH; it does NOT delete any files from the disk.
Recommended Workflows
- Adding a new MCP server:
- Call
extensions_listto check existing IDs and prevent duplicate names. - Call
extensions_add_mcpwith a descriptive ID and valid JSON configuration. - Call
extensions_set_enabledwithenabled: true. - Inform the user that the configuration has been saved to the profile patch and tools will become available upon reload.
- Call
- Mounting custom skills:
- Verify the target directory contains valid Skill folders with
SKILL.md. - Call
extensions_add_skillwith an explicit ID. - Call
extensions_set_enabledto activate.
- Verify the target directory contains valid Skill folders with