yangfch3/dsh-mcp-mgr--packages-dsh-mcp-mgr ↗★ 0
dsh-mcp-mgr
DSH 工作区级 MCP 管理器,可自动检测工作区根目录的 mcp.json 并动态注册 mcp-client 实例。
AI 分析
核心用途是实现项目级 MCP(Model Context Protocol)服务的动态加载。适合需要在不同项目工作区中无缝切换和调用特定 MCP 工具的开发者。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yangfch3/dsh-mcp-mgr#e35fc9d3cb8203dddc47bc34924586090b05e8ac&path:packages/dsh-mcp-mgr說明文件
閱讀完整 README ↗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