rush-ai 0.11.1 → 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +26 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -130,6 +130,8 @@ rush-ai task status <id> --json
130
130
  | `agent info <name>` | 查某个 agent 的描述、技能、MCP 配置 |
131
131
  | `mcp list` / `mcp ls` | 列出 MCP server |
132
132
  | `mcp list-tools <id>` | 列 MCP server 提供的工具 |
133
+ | `mcp install <id>` | 从 Registry 安装 MCP 到 Claude Desktop / Claude Code |
134
+ | `mcp uninstall <id>` | 从 Claude Desktop / Claude Code 移除 MCP |
133
135
  | `mcp serve` | 把 rush-ai 当成 MCP stdio server 启动 |
134
136
 
135
137
  ### 插件分发
@@ -207,6 +209,30 @@ rush-ai plugin install rush --dry-run
207
209
 
208
210
  这条路径和每个 IDE 自己的 `/plugin install` 等价 —— 装完之后 IDE 的 `/plugin list` 能看到、`/plugin uninstall` 也能卸载。不用这条路径就忽略;日常的 `task create` / `task push` 和插件分发完全独立。
209
211
 
212
+ ### MCP 安装
213
+
214
+ ```bash
215
+ # 列出可用的 MCP server
216
+ rush-ai mcp list
217
+
218
+ # 安装到 Claude Desktop + Claude Code(默认两个都装)
219
+ rush-ai mcp install octopus-cli-mcp
220
+
221
+ # 只装到 Claude Desktop
222
+ rush-ai mcp install octopus-cli-mcp --target claude-desktop
223
+
224
+ # 跳过交互 + JSON 输出
225
+ rush-ai mcp install octopus-cli-mcp -y --json
226
+
227
+ # 安装未验证的 MCP(需明确确认)
228
+ rush-ai mcp install some-mcp --allow-unverified
229
+
230
+ # 卸载
231
+ rush-ai mcp uninstall octopus-cli-mcp
232
+ ```
233
+
234
+ stdio MCP 写入 `claude_desktop_config.json`;http/sse MCP 写入 `configLibrary`(managed server,工具自动 allow)。安装后需重启 IDE 生效。
235
+
210
236
  ### CI / 脚本
211
237
 
212
238
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rush-ai",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "Rush CLI - Command-line interface for the Rush AI platform",
5
5
  "private": false,
6
6
  "type": "module",