dsh-vscodemode-mcp skillA
dsh-vscodemode-mcp is agent-read markdown (skill) from lenonss/dsh_vscodemode: 配置、新增、启用或排查 dsh-vscode-mode 插件(VSCodeMode 设置页)的 MCP 服务——全局「我的 MCP」与项目级 `.mcp.json` 两种作用域、stdio / streamable-http 传输写法、`mcp.*` RPC 方法、serverName 命名与冲突规则、项目 MCP 的工作区隔离边界,以及连接失败/工具数为 0 等故障的定位路径。当用户提到「加个 MCP」「配置 MCP」「MCP 连不上」「项目 MCP」「.mcp.json」「VSCodeMode 的 MCP 管理」时加载本技能。.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# dsh-vscodemode-mcp — dsh-vscode-mode 的 MCP 配置与使用
本技能覆盖 **dsh-vscode-mode 插件**(DSH 上的类 VSCode 编码体验)提供的 MCP 可视化管理能力。
它管理的是 `@deepseek-ai/dsh-mcp-client` 的 loader 条目,连接由 DSH Host 维护,**不在浏览器侧连接 MCP**。
## 1. 两种作用域(先判断用户要哪一种)
| | 全局「我的 MCP」 | 项目 MCP |
|---|---|---|
| 配置位置 | profile 的 loader 树(`~/.dsh/profiles/<profile>/cordis.yml`) | 项目根 `.mcp.json` 的 `mcpServers` |
| 生效范围 | 该 profile 下所有工作区 | 仅该 workspace(+ 其子路径可匹配到的工作区) |
| 随仓库共享 | 否 | 是(`.mcp.json` 入库即团队共享) |
| 持久真相 | loader 条目 | `.mcp.json` 文件(重启后由插件 reconcile 恢复激活) |
| 受工作区隔离约束 | 否 | **是**(见 §5) |
判断规则:
- 用户说「全局都能用」「所有项目都要」→ 全局。
- 用户说「这个项目需要」「跟仓库一起提交」→ 项目级。
- 不确定且该 MCP 只在某个仓库有意义 → 默认项目级。
## 2. UI 路径
设置 → **VSCodeMode** → **「MCP 管理」** Tab,其下三个子页签:
- **我的 MCP** — 全局服务列表(可查看状态/工具、添加、刷新 ⟳、启用/禁用、删除 ⌫)。
- **项目 MCP** — 先选项目(带路径与 MCP 计数),再管理该项目的服务。
- **MCP 市场** — 占位,暂未接入。
「+ 添加全局 MCP」按钮在子页签栏右侧;项目 MCP 的新增入口在所选项目的分组内。
表单字段:名称 / 传输方式 / (stdio)命令·参数·工作目录 / (streamable-http)URL·请求头。
按钮文案为「保存并连接」——**保存后会立刻尝试连接**。
## 3. 配置写法
### 3.1 项目级 `.mcp.json`
对齐 Claude Code / Cursor 格式,存于项目根:
```json
{
"mcpServers": {
"codegraph": {
"command": "codegraph",
"args": ["serve", "--mcp", "--path", "D:/Work/MyProject"]
},
…Read the whole file at its exact version.
How to install
mdr add lenonss/dsh_vscodemode/dsh-vscodemode-mcp@git:20260911.ee87d65mdr add lenonss/dsh_vscodemode/dsh-vscodemode-mcp@sha256:5238dea42f694e54Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_x3h45yakahmfkkzm)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (10525 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
lenonss/dsh_vscodemode · 12 stars · license MIT · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_x3h45yakahmfkkzm GET https://markdownregistry.com/api/v1/resolve?ref=lenonss/dsh_vscodemode/dsh-vscodemode-mcp GET https://markdownregistry.com/api/v1/blob/5238dea42f694e5453c1a60de26b9de81c1229af06ea1a82b6cddce60b0ac5b3
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.