add-mcp SKILL.md skillB
add-mcp from riot-org/riot is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add riot-org/riot/add-mcp@git:20261014.9c3854aPins git:20261014.9c3854a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- riot-org/riot
- Path
crates/riot-kernel/builtin/skills/add-mcp/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261014.9c3854a, committed Oct 14, 2026
- Size
- 10,313 bytes
- Repository stars
- 22
- License
- a license file GitHub does not identify
用户想加、改、排查 MCP 服务器,或从 Cursor / Claude Desktop / VS Code 搬 MCP 配置过来时用。用户级只认 stdio(远程走 mcp-remote 桥)、config.json 的形状、ReloadConfig 验证和常见连不上的原因。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# MCP 服务器
MCP 不是 `.riot/` 下的文件,也没有项目级。配置在**设置 → MCP**,落在
`<配置目录>/config.json` 的 `mcpServers` 数组。应用只在启动和设置页保存
时读这个文件:你直接改了它,**必须调 `ReloadConfig` 工具**才会生效,否则
要等重启,而且用户下次在设置页保存时会被旧配置整份覆盖掉。连接是应用级
的(所有会话共用同一批进程),工具每轮快照,连上之后的下一轮才进清单。
`ReloadConfig` 连上了新工具时,结果里会让你收尾:照做,用一句话结束本轮,
Riot 会自动用新清单续一轮,不用请用户再发「继续」。
设置页 JSON 视图认 Claude Desktop / Cursor / Cline / VS Code 的通用形状,
保存是**整体替换**当前列表。根形状认三种:`{"mcpServers":{…}}`、
`{"servers":{…}}`(VS Code)、不带包装的裸映射。只贴内层
`{"command":"npx"}` 会报「每个服务器要有名字」。
## 参数(用户级只认这些)
| 字段 | 要不要 | 含义 |
| --- | --- | --- |
| (对象的键) | 必填 | 变成服务器 id。字母数字、`-`、`_` 以外的字符导入时换成 `-` |
| `command` | 必填 | **单个 token**:`npx` / `uvx` / 可执行文件路径。别把参数写进来 |
| `args` | 可选 | 字符串数组,每个元素一个参数 |
| `env` | 可选 | 对象。密钥和服务器要读的变量写这里,进 `config.json`(不是 `auth.json`)。设置 → 环境变量里的值**不会**传给 MCP 服务器 |
| `disabled` | 可选 | `true` = 不启动。表单里对应「启用」开关(`enabled`) |
表单比 JSON 多两个 Riot 自己的字段:`name`(显示名,空 = 显示 id;标准
格式没有,导出丢、导入按 id 捡回)、`enabled`(和 `disabled` 反着)。
表单里 `args` 一行一个、`env` 一行一个 `KEY=VALUE`。
不认、写了会怎样:
- **`url` / `serverUrl`,或 `type` / `transport` 为 `http` / `sse` /
`streamable-http`** → 整段拒掉,报「暂不支持远程」。Cursor 那种
`{"url":"https://…","headers":{…}}` 不能原样贴,见下面「远程」。
- `type: "stdio"` 可以写,等于没写。
…Read the whole file at its exact version.
How to install
mdr add riot-org/riot/add-mcp@sha256:25ddaf258f31058cThe line at the top of this page pins the label git:20261014.9c3854a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_wvtcvfdmnwvcia72)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 14, 2026.
Audit of the latest version
- fail: No link to a raw IP address (matched: http://127.0.0.1:8080)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (10313 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 script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
riot-org/riot · 22 stars · license a license file GitHub does not identify · pushed 2026-10-29 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_wvtcvfdmnwvcia72 GET https://markdownregistry.com/api/v1/resolve?ref=riot-org/riot/add-mcp GET https://markdownregistry.com/api/v1/blob/25ddaf258f31058cc7dbb588300ac68b9b0a174987ad70ebd021bb071ee9119c
Your AI assistant 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.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.