yangfch3/dsh-mcp-mgr 预览 preview

yangfch3/dsh-mcp-mgr

MCP server manager for DeepSeek Harness — workspace mcp.json discovery, hot sync, and a web settings UI.

Project Overview项目介绍

dsh-mcp-mgr is a workspace-level MCP manager for DeepSeek Harness. It scans each workspace's .dsh/dshmm/mcp.json (mcpServers format), auto-registers discovered servers as dsh plugin instances with hot-sync on file changes, and exposes a settings tab to list, inspect, toggle, and remove entries. Use it when you want MCP servers scoped per project rather than globally. Caveat: serverName must be globally unique; duplicates fail loudly, and strict mode (off by default) unloads servers from other workspaces when switching.

dsh-mcp-mgr 是 DeepSeek Harness 的工作区级 MCP 管理插件。它扫描各工作区 .dsh/dshmm/mcp.json(mcpServers 格式),热同步注册为 dsh 插件实例,并提供设置页 UI 统一管理;适用于多工作区开发、希望按项目声明 MCP 而非全局配置的场景。开启严格模式后,仅当前工作区的 MCP 生效,切换时自动卸载其他。注意:serverName 须全局唯一,重复会标记冲突。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

npx @deepseek-ai/dsh@0.1.5-rc.2 plugin --profile web add dsh-mcp-mgr@0.2.0

yangfch3/dsh-mcp-mgr 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-mcp-mgr

English | 中文


0.2.0 Update: Has been verified to be compatible with dsh@0.1.5

npx @deepseek-ai/dsh@0.1.5-rc.2 plugin --profile web add dsh-mcp-mgr@0.2.0

A workspace-level MCP manager for DeepSeek Harness: it reads MCP servers from each workspace's .dsh/dshmm/mcp.json, registers their tools dynamically, and provides a management tab in the Web settings UI.

MCP servers tab

Choose your workflow

User Entry point Source checkouts required
Regular user npm package + npx @deepseek-ai/dsh Neither deepseek-harness nor this repository
Source developer deepseek-harness source + this repository source See Source Developer Guide

Regular users: npm package

Install and start

npx @deepseek-ai/dsh plugin --profile web add dsh-mcp-mgr@latest
npx @deepseek-ai/dsh web

Run the install command again to update:

npx @deepseek-ai/dsh plugin --profile web add dsh-mcp-mgr@latest

Uninstall:

npx @deepseek-ai/dsh plugin --profile web remove dsh-mcp-mgr

Workspace configuration

Create .dsh/dshmm/mcp.json at the workspace root:

{
  "mcpServers": {
    "my-http-server": {
      "type": "http",
      "url": "http://127.0.0.1:8090/mcp"
    },
    "my-stdio-server": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "<mcp-server-package>"]
    }
  }
}

Rules:

  • A missing type is treated as Streamable HTTP; ${VAR} environment expansion is supported.
  • A stdio server without cwd uses the workspace root.
  • serverName is globally unique; duplicates are shown as conflicts.
  • Set "enabled": false to disable an entry without removing it; absent means enabled.

Behavior and limits

  • Workspace tools use the mcp__<serverName>__<tool> naming convention.
  • Settings strict mode is used to mount only the selected workspace's servers.

Source developers

When modifying both deepseek-harness and this plugin from source, see the Source Developer Guide. Both repositories may be anywhere; they do not need to be siblings or use fixed paths.

Design notes live in Doc/requirements.md.

上一个 Prev DSH-element-source 下一个 Next dsh-web-search-searxng