接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
npx -y [email protected]Claude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
claude mcp add dsh-workspace-scope -- npx -y dsh-workspace-scope@0.5.4在終端機中執行。
{ "mcpServers": { "dsh-workspace-scope": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
为 DeepSeek Harness 按工作区启用或禁用当前 Agent 已拥有的 Skill 与 Host 全局 MCP。
本插件只做能力范围控制,不负责安装、发现或提供 Skill / MCP。不同工程可以通过各自的 .dsh-scope.json 暴露不同的能力集合。
English: README.en.md
[!IMPORTANT]
dsh-workspace-scope v0.5.3仅针对 DeepSeek Harness0.1.6-alpha.2完成适配与实测。这不是“0.1.6-alpha.2及以上均兼容”的声明;后续 DSH 版本可能继续调整 Client / Host contract,升级 DSH 前请单独验证本插件兼容性。
需要已安装 dsh CLI:
dsh plugin --profile web add dsh-workspace-scope
卸载:
dsh plugin --profile web remove dsh-workspace-scope
在新建会话的空白 Session 中,点击输入卡右侧的「工作区能力」。
界面会显示当前 Agent 可由模型调用的 Skill,以及 Host 全局 MCP 服务器。切换 Agent Preset 后,列表会随当前 Agent 更新。开关、搜索、全部启用和全部禁用都会立即保存到工作区根目录的 .dsh-scope.json。
配置在会话第一次真正发起模型请求时锁定。因此开始对话前的修改会应用到该会话;之后的修改只影响新的会话。
通常直接使用 UI 即可。也可以手动编辑工作区根目录的 .dsh-scope.json:
{
"default": {
"mode": "whitelist",
"skills": ["<skill-name>"],
"mcps": ["<server-name>"]
}
}
default:全部启用。whitelist:仅启用列表中的能力。blacklist:禁用列表中的能力。skills:Skill 名称。mcps:Host 全局 MCP server 名称。/skill-name 手动调用,由该 Skill 自身的 DSH userInvocable 策略决定。__ 的 MCP serverName;普通 tool name 可以包含 __。实现细节、数据流与 C4 图见 docs/architecture.md。版本变化见 CHANGELOG.md。
发现 bug 或有想法可以直接开 issue。提交 PR 前请阅读 CONTRIBUTING.md。
MIT
Per-workspace policy for the current Agent's Skills and inherited Host-global MCP servers in DeepSeek Harness.
{ "mcpServers": { "dsh-workspace-scope": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Dsh Workspace Scope 透過 stdio 在本機執行。
上次檢查時間:2026-11-10。 Per-workspace policy for the current Agent's Skills and inherited Host-global MCP servers in DeepSeek Harness.