安装
npx @deepseek-ai/dsh plugin --profile web add dsh-mcp-mgr@latest dsh-mcp-mgr-ui@latest此命令根据 GitHub 仓库地址生成。运行前请检查上游 README 与源代码;需要可复现安装时,请固定 release 或 commit。
README
维护者编写的文档快照。
dsh-mcp-mgr
English | 中文
A workspace-level MCP manager for DeepSeek Harness: declare MCP servers in each workspace's .dsh/dshmm/mcp.json (Claude/Codex-style mcpServers format), auto-discovered and dynamically registered as dsh plugin instances, with a management UI in the settings page.
Features
- Workspace MCP: auto-discovers
mcp.jsonunder every registered workspace, hot-syncs on file changes, and unloads on workspace removal - Profile MCP display: unified display and management of non-workspace mcp-client registrations (profile patch / bundle /
--patch) - Settings tab: MCP server list — source, status, inspect and remove
- Strict mode: when checked, only the current workspace's (the sidebar-selected session's workspace) MCP servers are enabled; switching workspaces unloads the others. Off by default (all workspaces coexist)
- Workspace MCP servers are registered under dsh's standard
mcp__<serverName>__<tool>naming, so multiple servers and sources are naturally isolated

Install, update & uninstall
Install/Update:
npx @deepseek-ai/dsh plugin --profile web add dsh-mcp-mgr@latest dsh-mcp-mgr-ui@latest
Start:
npx @deepseek-ai/dsh web
Uninstall:
npx @deepseek-ai/dsh plugin --profile web remove dsh-mcp-mgr dsh-mcp-mgr-ui
Workspace configuration
The plugin auto-detects .dsh/dshmm/mcp.json at the workspace root, for example:
{
"mcpServers": {
"unity-mcp": { "type": "http", "url": "http://localhost:8090/" },
"filesystem": { "type": "stdio", "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "/data"] }
}
}
- A missing
typeis treated as remote Streamable HTTP;${VAR}environment expansion is supported - The stdio server's cwd defaults to the workspace root
serverNamemust be globally unique; a later duplicate fails loudly (flagged as a conflict in the UI)- Set
"enabled": falseon an entry to disable it without removing it (absent means enabled); the settings tab's toggle writes this field
Development
Build:
# host plugin
tsc -p packages/dsh-mcp-mgr && node gen.mjs
# UI plugin (from the ui package directory)
tsc -p packages/dsh-mcp-mgr-ui && tsdown --config-loader tsx --env.DSH_BUILD_FACE client
# regression
node verify.mjs
Note: after changing src/types.ts (wire fields) you MUST re-run gen.mjs and rebuild the UI bundle — a stale typert client codec silently strips unknown fields (e.g. a lost connected keeps the status wrong forever).
Local (source) install verification and uninstall:
# install
node scripts/install.mjs
# uninstall
node scripts/uninstall.mjs
Design docs live in Doc/requirements.md.
项目文件与信号
以下项目是目录快照中检测到的公开仓库信号。
仓库信息
- 开发语言
- TypeScript
- 许可证
- 未提供
- 最后更新
- 2026年8月17日 05:51
谨慎安装
请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。