一键导入
rai-mcp-add
Register an MCP server conversationally. Use to add a new MCP integration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Register an MCP server conversationally. Use to add a new MCP integration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Interactive adapter setup for Jira and Confluence. Detects available backends, discovers projects/spaces, generates validated YAML config. 3-4 questions max.
Evaluate design proportionality using Beck's four rules. Use after implementation.
Root cause analysis using the method best suited to the bug. Phase 3 of bugfix pipeline.
Push branch, create MR, verify artifacts complete. Phase 7 of bugfix pipeline.
Execute fix tasks with TDD and all validation gates. Phase 5 of bugfix pipeline.
Decompose fix into atomic TDD tasks. Phase 4 of bugfix pipeline.
| name | rai-mcp-add |
| description | Register an MCP server conversationally. Use to add a new MCP integration. |
| allowed-tools | ["Read","Edit","Write","Grep","Glob","Bash(rai:*)"] |
| license | MIT |
| metadata | {"raise.work_cycle":"utility","raise.frequency":"on-demand","raise.fase":"","raise.prerequisites":"","raise.next":"","raise.gate":"","raise.adaptable":"true","raise.version":"1.0.0","raise.visibility":"public","raise.inputs":"- server_intent: string, optional, argument (e.g. \"Context7\", \"GitHub MCP\")\n","raise.outputs":"- config_path: file_path (.raise/mcp/<name>.yaml)\n"} |
Guide a developer through MCP server registration without requiring CLI knowledge. Collect intent, resolve details conversationally, delegate to CLI.
When to use: Developer wants to add an MCP server to their project.
When to skip: Developer already knows the exact CLI command and prefers to run it directly.
Ask the developer what MCP server they want to add. Accept free-text descriptions:
If the developer provides a name as an argument (e.g. /rai-mcp-add context7), skip this question.
Based on the intent, determine:
@upstash/context7-mcp, mcp-github)For known servers, read .raise/mcp/catalog.yaml:
If the developer's intent matches a server name in the catalog, pre-fill all fields (package, type, env, module) from the catalog entry. No need to ask questions already answered by governance data.
If the catalog is missing or the server isn't in it, ask the developer for each field individually.
If uncertain, ask. Never guess package names.
All required fields collected: type, package, name, env (if any), module (if pip).Present a summary of what will be installed:
I'll set up the following MCP server:
Name: {name}
Package: {package}
Type: {type}
Env: {env_vars or "none"}
Config: .raise/mcp/{name}.yaml
Proceed?
Wait for confirmation.
Developer confirmed installation.Run the appropriate CLI command:
rai mcp install {package} --type {type} --name {name} [--env {env}] [--module {module}]
If the config file already exists, ask whether to overwrite (adds --force).
For a locally running server (no package to install), use scaffold instead:
rai mcp scaffold {name} --command {command} --args "{args}" [--env {env}]
CLI command executed successfully. Config file created.
After installation, report:
If health check failed, suggest troubleshooting:
rai mcp health {name} manually✓ MCP server '{name}' added successfully!
Config: .raise/mcp/{name}.yaml
Health: healthy
Tools: {count} available
- {tool1}
- {tool2}
Use `rai mcp call {name} <tool> --args '{{...}}'` to invoke tools.
Result reported. Developer knows the server is ready (or what to fix).
| Item | Destination |
|---|---|
| MCP config | .raise/mcp/{name}.yaml |
| Next | Use the server via rai mcp call or reference via server.ref in adapters |
.raise/mcp/catalog.yaml for known server defaultsrai mcp install, rai mcp scaffold, rai mcp health, rai mcp tools.raise/mcp/catalog.yaml (governance — known servers + package details)/rai-mcp-remove, /rai-mcp-status