@cloudbase/cloudbase-mcp 2.17.1 → 2.18.0
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.
- package/README.md +13 -6
- package/dist/cli.cjs +2 -2
- package/dist/index.cjs +219 -49
- package/dist/index.d.ts +1 -0
- package/dist/index.js +219 -49
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -118,15 +118,22 @@ AI 编程工具(如 OpenClaw、Cursor、CodeBuddy)解决了**代码生成**
|
|
|
118
118
|
}
|
|
119
119
|
```
|
|
120
120
|
|
|
121
|
-
**托管模式可选:通过 URL
|
|
121
|
+
**托管模式可选:通过 URL 控制插件启用范围**
|
|
122
122
|
|
|
123
|
-
在 `url`
|
|
123
|
+
在 `url` 里可通过 query 参数控制插件启用范围:
|
|
124
|
+
|
|
125
|
+
- `enable_plugins`:仅启用指定插件,多个插件使用逗号分隔,例如只启用 `env` 和 `database`
|
|
126
|
+
- `disable_plugins`:从默认插件集合中禁用指定插件,多个插件使用逗号分隔,例如禁用 `rag` 和 `env`
|
|
124
127
|
|
|
125
128
|
```
|
|
126
|
-
|
|
129
|
+
# 只启用指定插件
|
|
130
|
+
https://tcb-api.cloud.tencent.com/mcp/v1?env_id=YOUR_ENV_ID&enable_plugins=env,database
|
|
131
|
+
|
|
132
|
+
# 禁用指定插件
|
|
133
|
+
https://tcb-api.cloud.tencent.com/mcp/v1?env_id=YOUR_ENV_ID&disable_plugins=rag,env
|
|
127
134
|
```
|
|
128
135
|
|
|
129
|
-
|
|
136
|
+
当前可配置的插件名以 `mcp/src/server.ts` 为准,建议优先使用 canonical 名称:`env`, `database`, `functions`, `hosting`, `storage`, `setup`, `rag`, `download`, `gateway`, `cloudrun`, `app-auth`, `permissions`, `logs`, `agents`, `invite-code`, `capi`, `apps`。
|
|
130
137
|
|
|
131
138
|
> [!TIP]
|
|
132
139
|
> **推荐使用 CloudBase AI CLI**
|
|
@@ -431,9 +438,9 @@ CodeBuddy 已内置 CloudBase MCP,无需配置即可使用。
|
|
|
431
438
|
| **官方文档** | [查看文档](https://docs.cloudbase.net/) | 完整的云开发文档 |
|
|
432
439
|
| **Issue 反馈** | [提交问题](https://github.com/TencentCloudBase/CloudBase-AI-ToolKit/issues) | Bug 反馈和功能请求 |
|
|
433
440
|
|
|
434
|
-
##
|
|
441
|
+
## 项目活跃度
|
|
435
442
|
|
|
436
|
-
|
|
443
|
+

|
|
437
444
|
|
|
438
445
|
## Contributors
|
|
439
446
|
|