dsh plugins中文
← Back to popular plugin directory

Click on the workspace to load the MCP server (agent scope)

Momojie-S/dsh-workspace-mcp · skills

DSH plugin: Click the workspace to load the MCP server (agent-scoped).

★ 3GitHub stars
0Forks
2026-08-16Last updated
TypeScriptLanguage
MITLicense

Project overview

DSH 插件:按 workspace(session cwd) 自动加载/卸载 MCP server——每个项目自己的 .dsh/mcp.servers.yml 只在自己的会话生效,MCP 工具注册到 agent scope,随 agent 生灭自动回收,不同项目的 MCP 互不干扰。 环境要求 DSH 0.1.0-rc.6(已验证) 用法

编译 npm install && npm run build,profile 的 cordis.patch.yml 手动加行(name 用 file:/// URL 指向 lib/index.js): 配置

插件级(patch config 字段): 字段 · 默认值 · 说明 字段: configFile · 默认值: .dsh/mcp.servers.yml · 说明: 相对 workspace 根的配置文件路径 字段: verbose · 默认值: false · 说明: 输出连接/注册详细日志,排查用 字段: reconnect.enabled · 默认值: true · 说明: 断线/启动失败是否自动重连 字段: reconnect.initialDelayMs · 默认值: 500 · 说明: 首次重连延迟,此后指数翻倍 字段: reconnect.maxDelayMs · 默认值: 30000 · 说明: 退避封顶;连接存活超此值则重置尝试预算(偶发崩的能无限恢复,crash-loop 的被掐掉) 字段: reconnect.maxAttempts · 默认值: 10 · 说明: 一次断线周期内最大连续失败次数,耗尽后卸载该 server 全部工具;改配置文件或重启恢复

Install command

dsh plugin --profile web add github:Momojie-S/dsh-workspace-mcp
View GitHub repository ↗Back to popular plugin directory