@cloudbase/cloudbase-mcp 2.17.1 → 2.19.4
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 +83 -26
- package/dist/cli.cjs +3 -3
- package/dist/index.cjs +2758 -676
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2021 -658
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
<div align="center"><a name="readme-top"></a>
|
|
2
|
+
|
|
2
3
|
|
|
3
|
-
<a href="https://
|
|
4
|
+
<a href="https://cloud.tencent.com/developer/article/2649588" target="_blank"><img width="3094" height="654" alt="banner" src="https://github.com/user-attachments/assets/37982d04-274a-4b6c-85b8-06983c615d9a" /></a>
|
|
4
5
|
|
|
5
6
|

|
|
6
7
|
|
|
7
8
|
<h1>CloudBase MCP</h1>
|
|
8
9
|
|
|
9
10
|
**🪐 AI 编程,一键上线**<br/>
|
|
10
|
-
连接 AI IDE 与腾讯云 CloudBase 的部署桥梁,让你的 AI
|
|
11
|
+
连接 AI IDE 与腾讯云 CloudBase 的部署桥梁,让你的 AI 应用即刻上线<br/>
|
|
12
|
+
<sup>💡 像 Vercel + Supabase,但全程 AI 驱动——从提示词直达生产环境</sup>
|
|
11
13
|
|
|
12
14
|
[English](./README-EN.md) · **简体中文** · [文档][docs] · [更新日志][changelog] · [反馈问题][github-issues-link]
|
|
13
15
|
|
|
@@ -23,7 +25,8 @@
|
|
|
23
25
|
![][github-contributors-shield]
|
|
24
26
|
[![][cnb-shield]][cnb-link]
|
|
25
27
|
[![][deepwiki-shield]][deepwiki-link]
|
|
26
|
-
|
|
28
|
+
|
|
29
|
+
⭐ 喜欢这个项目?点个 Star,新版本发布时你会收到通知~
|
|
27
30
|
|
|
28
31
|
**发现了一个让 AI 编程一键上线的神器,推荐给正在用 AI 编程的朋友**
|
|
29
32
|
|
|
@@ -35,7 +38,7 @@
|
|
|
35
38
|
|
|
36
39
|
<img width="1148" height="389" alt="Clipboard_Screenshot_1764660604" src="https://github.com/user-attachments/assets/86294f88-632e-46b5-958f-94d8c8b85070" />
|
|
37
40
|
|
|
38
|
-
[![][github-trending-shield]](https://github.com/TencentCloudBase/CloudBase-
|
|
41
|
+
[![][github-trending-shield]](https://github.com/TencentCloudBase/CloudBase-MCP)
|
|
39
42
|
|
|
40
43
|
[<img width="791" height="592" alt="Clipboard_Screenshot_1763724670" src="https://github.com/user-attachments/assets/f769beb7-5710-4397-8854-af2b7e452f70" />](https://docs.cloudbase.net/ai/cloudbase-ai-toolkit/tutorials)
|
|
41
44
|
|
|
@@ -118,15 +121,22 @@ AI 编程工具(如 OpenClaw、Cursor、CodeBuddy)解决了**代码生成**
|
|
|
118
121
|
}
|
|
119
122
|
```
|
|
120
123
|
|
|
121
|
-
**托管模式可选:通过 URL
|
|
124
|
+
**托管模式可选:通过 URL 控制插件启用范围**
|
|
125
|
+
|
|
126
|
+
在 `url` 里可通过 query 参数控制插件启用范围:
|
|
122
127
|
|
|
123
|
-
|
|
128
|
+
- `enable_plugins`:仅启用指定插件,多个插件使用逗号分隔,例如只启用 `env` 和 `database`
|
|
129
|
+
- `disable_plugins`:从默认插件集合中禁用指定插件,多个插件使用逗号分隔,例如禁用 `rag` 和 `env`
|
|
124
130
|
|
|
125
131
|
```
|
|
126
|
-
|
|
132
|
+
# 只启用指定插件
|
|
133
|
+
https://tcb-api.cloud.tencent.com/mcp/v1?env_id=YOUR_ENV_ID&enable_plugins=env,database
|
|
134
|
+
|
|
135
|
+
# 禁用指定插件
|
|
136
|
+
https://tcb-api.cloud.tencent.com/mcp/v1?env_id=YOUR_ENV_ID&disable_plugins=rag,env
|
|
127
137
|
```
|
|
128
138
|
|
|
129
|
-
|
|
139
|
+
当前可配置的插件名以 `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
140
|
|
|
131
141
|
> [!TIP]
|
|
132
142
|
> **推荐使用 CloudBase AI CLI**
|
|
@@ -414,6 +424,53 @@ CodeBuddy 已内置 CloudBase MCP,无需配置即可使用。
|
|
|
414
424
|
- [Agent Skills实战分享:AI编程最后一公里,别让代码死在localhost里](https://mp.weixin.qq.com/s/soIEU5DG01xfrKMaCetGAA)
|
|
415
425
|
- [查看更多视频与教程](https://docs.cloudbase.net/ai/cloudbase-ai-toolkit/tutorials)
|
|
416
426
|
|
|
427
|
+
## ❓ 常见问题
|
|
428
|
+
|
|
429
|
+
<details>
|
|
430
|
+
<summary><b>跟 Vercel / Railway / Netlify 有什么不同?</b></summary>
|
|
431
|
+
|
|
432
|
+
这些平台解决的是"部署",CloudBase MCP 解决的是"从 AI 生成代码到部署上线"的完整链路。你不需要离开 IDE,不需要写配置文件,AI 自动帮你搞定云函数、数据库、CDN、域名等所有云资源。一句话:它们是部署工具,我们是 AI 原生的全栈开发+部署平台。
|
|
433
|
+
|
|
434
|
+
</details>
|
|
435
|
+
|
|
436
|
+
<details>
|
|
437
|
+
<summary><b>不用 Cursor / Copilot 这些 AI IDE 也能用吗?</b></summary>
|
|
438
|
+
|
|
439
|
+
CloudBase MCP 基于标准 MCP 协议,支持所有兼容 MCP 的工具——包括 Claude Code、Gemini CLI、OpenCode 等命令行工具。只要你的工具能配置 MCP Server,就能用。[查看完整支持列表](#支持的-ai-ide)。
|
|
440
|
+
|
|
441
|
+
</details>
|
|
442
|
+
|
|
443
|
+
<details>
|
|
444
|
+
<summary><b>我的代码会被上传到哪里?安全吗?</b></summary>
|
|
445
|
+
|
|
446
|
+
代码只会部署到**你自己的**腾讯云开发环境,不经过任何第三方。本地模式下 MCP 服务运行在你本机,代码不会离开你的电脑直到你主动部署。所有云端通信均走 HTTPS 加密。
|
|
447
|
+
|
|
448
|
+
</details>
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
<details>
|
|
452
|
+
<summary><b>支持哪些类型的项目?</b></summary>
|
|
453
|
+
|
|
454
|
+
几乎所有主流场景:React/Vue/Next.js 等 Web 应用、微信小程序、Node.js/Python/Go/Java 后端服务。AI 会自动检测项目类型并选择合适的部署策略(静态托管、云函数、云托管容器)。
|
|
455
|
+
|
|
456
|
+
</details>
|
|
457
|
+
|
|
458
|
+
<details>
|
|
459
|
+
<summary><b>免费吗?需要付费吗?</b></summary>
|
|
460
|
+
|
|
461
|
+
CloudBase MCP 工具本身完全开源免费(MIT)。云开发环境有免费额度,个人开发和小项目通常够用。超出免费额度后按量计费,详见 [计费说明](https://cloud.tencent.com/document/product/876/39095)。
|
|
462
|
+
|
|
463
|
+
</details>
|
|
464
|
+
|
|
465
|
+
<details>
|
|
466
|
+
<summary><b>登录提示"环境不存在"怎么办?</b></summary>
|
|
467
|
+
|
|
468
|
+
1. 确认已在 [云开发控制台](https://tcb.cloud.tencent.com/) 开通环境
|
|
469
|
+
2. 检查环境是否处于正常运行状态(非欠费/隔离)
|
|
470
|
+
3. 重新执行"登录云开发"让 AI 引导选择正确的环境
|
|
471
|
+
|
|
472
|
+
</details>
|
|
473
|
+
|
|
417
474
|
## 💬 社区
|
|
418
475
|
|
|
419
476
|
### 微信交流群
|
|
@@ -429,17 +486,17 @@ CodeBuddy 已内置 CloudBase MCP,无需配置即可使用。
|
|
|
429
486
|
| 平台 | 链接 | 说明 |
|
|
430
487
|
|------|------|------|
|
|
431
488
|
| **官方文档** | [查看文档](https://docs.cloudbase.net/) | 完整的云开发文档 |
|
|
432
|
-
| **Issue 反馈** | [提交问题](https://github.com/TencentCloudBase/CloudBase-
|
|
489
|
+
| **Issue 反馈** | [提交问题](https://github.com/TencentCloudBase/CloudBase-MCP/issues) | Bug 反馈和功能请求 |
|
|
433
490
|
|
|
434
|
-
##
|
|
491
|
+
## 项目活跃度
|
|
435
492
|
|
|
436
|
-
|
|
493
|
+

|
|
437
494
|
|
|
438
495
|
## Contributors
|
|
439
496
|
|
|
440
497
|
感谢所有为 CloudBase MCP 做出贡献的开发者!
|
|
441
498
|
|
|
442
|
-
[](https://github.com/TencentCloudBase/CloudBase-MCP/graphs/contributors)
|
|
443
500
|
|
|
444
501
|
---
|
|
445
502
|
|
|
@@ -496,31 +553,31 @@ CodeBuddy 已内置 CloudBase MCP,无需配置即可使用。
|
|
|
496
553
|
<!-- Links -->
|
|
497
554
|
[docs]: https://docs.cloudbase.net/ai/cloudbase-ai-toolkit/
|
|
498
555
|
[changelog]: https://github.com/TencentCloudBase/CloudBase-MCP/releases
|
|
499
|
-
[github-issues-link]: https://github.com/TencentCloudBase/CloudBase-
|
|
500
|
-
[github-stars-link]: https://github.com/TencentCloudBase/CloudBase-
|
|
501
|
-
[github-forks-link]: https://github.com/TencentCloudBase/CloudBase-
|
|
556
|
+
[github-issues-link]: https://github.com/TencentCloudBase/CloudBase-MCP/issues
|
|
557
|
+
[github-stars-link]: https://github.com/TencentCloudBase/CloudBase-MCP/stargazers
|
|
558
|
+
[github-forks-link]: https://github.com/TencentCloudBase/CloudBase-MCP/network/members
|
|
502
559
|
[github-trending-url]: https://github.com/trending
|
|
503
560
|
[npm-link]: https://www.npmjs.com/package/@cloudbase/cloudbase-mcp
|
|
504
|
-
[cnb-link]: https://cnb.cool/tencent/cloud/cloudbase/CloudBase-
|
|
505
|
-
[deepwiki-link]: https://deepwiki.com/TencentCloudBase/CloudBase-
|
|
561
|
+
[cnb-link]: https://cnb.cool/tencent/cloud/cloudbase/CloudBase-MCP
|
|
562
|
+
[deepwiki-link]: https://deepwiki.com/TencentCloudBase/CloudBase-MCP
|
|
506
563
|
|
|
507
564
|
<!-- Shields -->
|
|
508
565
|
[npm-version-shield]: https://img.shields.io/npm/v/@cloudbase/cloudbase-mcp?color=3B82F6&label=npm&logo=npm&style=flat-square
|
|
509
566
|
[npm-downloads-shield]: https://img.shields.io/npm/dw/@cloudbase/cloudbase-mcp?color=10B981&label=downloads&logo=npm&style=flat-square
|
|
510
|
-
[github-stars-shield]: https://img.shields.io/github/stars/TencentCloudBase/CloudBase-
|
|
511
|
-
[github-forks-shield]: https://img.shields.io/github/forks/TencentCloudBase/CloudBase-
|
|
512
|
-
[github-issues-shield]: https://img.shields.io/github/issues/TencentCloudBase/CloudBase-
|
|
567
|
+
[github-stars-shield]: https://img.shields.io/github/stars/TencentCloudBase/CloudBase-MCP?color=F59E0B&label=stars&logo=github&style=flat-square
|
|
568
|
+
[github-forks-shield]: https://img.shields.io/github/forks/TencentCloudBase/CloudBase-MCP?color=8B5CF6&label=forks&logo=github&style=flat-square
|
|
569
|
+
[github-issues-shield]: https://img.shields.io/github/issues/TencentCloudBase/CloudBase-MCP?color=EC4899&label=issues&logo=github&style=flat-square
|
|
513
570
|
[github-license-shield]: https://img.shields.io/badge/license-MIT-6366F1?logo=github&style=flat-square
|
|
514
|
-
[github-contributors-shield]: https://img.shields.io/github/contributors/TencentCloudBase/CloudBase-
|
|
515
|
-
[github-contributors-link]: https://github.com/TencentCloudBase/CloudBase-
|
|
571
|
+
[github-contributors-shield]: https://img.shields.io/github/contributors/TencentCloudBase/CloudBase-MCP?color=06B6D4&label=contributors&logo=github&style=flat-square
|
|
572
|
+
[github-contributors-link]: https://github.com/TencentCloudBase/CloudBase-MCP/graphs/contributors
|
|
516
573
|
[cnb-shield]: https://img.shields.io/badge/CNB-CloudBase--AI--ToolKit-3B82F6?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHJ4PSIyIiBmaWxsPSIjM0I4MkY2Ii8+PHBhdGggZD0iTTUgM0g3VjVINSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNNSA3SDdWOUg1IiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEuNSIvPjwvc3ZnPg==&style=flat-square
|
|
517
574
|
[deepwiki-shield]: https://deepwiki.com/badge.svg
|
|
518
|
-
[github-trending-shield]: https://img.shields.io/github/stars/TencentCloudBase/CloudBase-
|
|
575
|
+
[github-trending-shield]: https://img.shields.io/github/stars/TencentCloudBase/CloudBase-MCP?style=social
|
|
519
576
|
|
|
520
577
|
<!-- Share Links -->
|
|
521
|
-
[share-x-link]: https://x.com/intent/tweet?hashtags=cloudbase,ai,devtools&text=AI%20编程%2C%20一键上线!告别繁琐的%20DevOps%20配置%2C%20从提示词到应用上线的最短路径%20🚀&url=https://github.com/TencentCloudBase/CloudBase-
|
|
578
|
+
[share-x-link]: https://x.com/intent/tweet?hashtags=cloudbase,ai,devtools&text=AI%20编程%2C%20一键上线!告别繁琐的%20DevOps%20配置%2C%20从提示词到应用上线的最短路径%20🚀&url=https://github.com/TencentCloudBase/CloudBase-MCP
|
|
522
579
|
[share-x-shield]: https://img.shields.io/badge/-share%20on%20x-black?labelColor=black&logo=x&logoColor=white&style=flat-square
|
|
523
580
|
[share-telegram-shield]: https://img.shields.io/badge/-share%20on%20telegram-black?labelColor=black&logo=telegram&logoColor=white&style=flat-square
|
|
524
|
-
[share-telegram-link]: https://t.me/share/url?url=https://github.com/TencentCloudBase/CloudBase-
|
|
525
|
-
[share-weibo-link]: http://service.weibo.com/share/share.php?sharesource=weibo&title=AI%20编程%2C%20一键上线!告别繁琐的%20DevOps%20配置%2C%20从提示词到应用上线的最短路径%20🚀&url=https://github.com/TencentCloudBase/CloudBase-
|
|
581
|
+
[share-telegram-link]: https://t.me/share/url?url=https://github.com/TencentCloudBase/CloudBase-MCP&text=AI%20编程%2C%20一键上线!告别繁琐的%20DevOps%20配置%2C%20从提示词到应用上线的最短路径%20🚀
|
|
582
|
+
[share-weibo-link]: http://service.weibo.com/share/share.php?sharesource=weibo&title=AI%20编程%2C%20一键上线!告别繁琐的%20DevOps%20配置%2C%20从提示词到应用上线的最短路径%20🚀&url=https://github.com/TencentCloudBase/CloudBase-MCP
|
|
526
583
|
[share-weibo-shield]: https://img.shields.io/badge/-share%20on%20weibo-black?labelColor=black&logo=sinaweibo&logoColor=white&style=flat-square
|