dsh-project-mcp

按项目挂载 MCP 服务器:项目在自己的文档里声明服务器(默认 `.dsh/mcp.json`,本地与全局文件列表均为配置项),只对在该项目中工作的会话挂载——会话首个 turn 时挂载,空闲后释放。右侧栏标签页与设置页列出每个有活动会话的项目、各服务器状态以及持有挂载的会话,并提供 `Sync` / `Retry` / `Release`、`enabled` 开关和对某个既有条目的编辑器;按项目的工具策略(`disclosure` / `direct` / `off`)配合固定项与 `mcp_search_tools` 决定模型可见范围;`${VAR}` 引用依次从项目 `.env` 文件与凭据文件解析;按服务器统计的调用次数不随会话消失。

插件介绍

按项目挂载 MCP 服务器:项目在自己的文档里声明服务器(默认 `.dsh/mcp.json`,本地与全局文件列表均为配置项),只对在该项目中工作的会话挂载——会话首个 turn 时挂载,空闲后释放。右侧栏标签页与设置页列出每个有活动会话的项目、各服务器状态以及持有挂载的会话,并提供 `Sync` / `Retry` / `Release`、`enabled` 开关和对某个既有条目的编辑器;按项目的工具策略(`disclosure` / `direct` / `off`)配合固定项与 `mcp_search_tools` 决定模型可见范围;`${VAR}` 引用依次从项目 `.env` 文件与凭据文件解析;按服务器统计的调用次数不随会话消失。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-project-mcp

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:borgez/dsh-project-mcp

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令