@cloudbase/cloudbase-mcp 1.8.13 → 1.8.15
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 +265 -13
- package/dist/cli.cjs +7 -7
- package/dist/cli.js +7 -7
- package/dist/index.cjs +7 -7
- package/dist/index.js +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
|
-
##
|
|
45
|
+
## 🌟 核心特性
|
|
46
46
|
|
|
47
47
|
- **🤖 AI 原生** - 专为 AI 编程工具设计的规则库,生成代码符合云开发最佳实践
|
|
48
48
|
- **🚀 一键部署** - MCP 自动化部署到腾讯云开发 CloudBase 平台,Serverless 架构无需购买服务器
|
|
@@ -50,6 +50,21 @@
|
|
|
50
50
|
- **🔧 智能修复** - AI 自动查看日志并修复问题,降低运维成本
|
|
51
51
|
- **⚡ 极速体验** - 国内 CDN 加速,比海外平台访问速度更快
|
|
52
52
|
- **📚 知识检索** - 内置云开发、微信小程序等专业知识库的智能向量检索
|
|
53
|
+
- **🔌 插件化架构** - 支持按需启用工具插件,解决 MCP 工具数量限制问题
|
|
54
|
+
|
|
55
|
+
## 🔌 插件系统
|
|
56
|
+
|
|
57
|
+
CloudBase MCP 采用插件化架构,支持按需启用工具模块。[查看插件详细文档](../doc/plugins.md)
|
|
58
|
+
|
|
59
|
+
### 快速配置
|
|
60
|
+
|
|
61
|
+
```json
|
|
62
|
+
{
|
|
63
|
+
"env": {
|
|
64
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
```
|
|
53
68
|
|
|
54
69
|
|
|
55
70
|
## 🚀 快速开始
|
|
@@ -175,7 +190,25 @@ npx -y clear-npx-cache
|
|
|
175
190
|
"mcpServers": {
|
|
176
191
|
"cloudbase-mcp": {
|
|
177
192
|
"command": "npx",
|
|
178
|
-
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"]
|
|
193
|
+
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"],
|
|
194
|
+
"env": {
|
|
195
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting,storage,setup,interactive"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
**插件配置示例:**
|
|
203
|
+
```json
|
|
204
|
+
{
|
|
205
|
+
"mcpServers": {
|
|
206
|
+
"cloudbase-mcp": {
|
|
207
|
+
"command": "npx",
|
|
208
|
+
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"],
|
|
209
|
+
"env": {
|
|
210
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting"
|
|
211
|
+
}
|
|
179
212
|
}
|
|
180
213
|
}
|
|
181
214
|
}
|
|
@@ -208,7 +241,25 @@ npx -y clear-npx-cache
|
|
|
208
241
|
"mcpServers": {
|
|
209
242
|
"cloudbase-mcp": {
|
|
210
243
|
"command": "npx",
|
|
211
|
-
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"]
|
|
244
|
+
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"],
|
|
245
|
+
"env": {
|
|
246
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting,storage,setup,interactive"
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
**插件配置示例:**
|
|
254
|
+
```json
|
|
255
|
+
{
|
|
256
|
+
"mcpServers": {
|
|
257
|
+
"cloudbase-mcp": {
|
|
258
|
+
"command": "npx",
|
|
259
|
+
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"],
|
|
260
|
+
"env": {
|
|
261
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting"
|
|
262
|
+
}
|
|
212
263
|
}
|
|
213
264
|
}
|
|
214
265
|
}
|
|
@@ -244,7 +295,25 @@ npx -y clear-npx-cache
|
|
|
244
295
|
"mcpServers": {
|
|
245
296
|
"cloudbase": {
|
|
246
297
|
"command": "npx",
|
|
247
|
-
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"]
|
|
298
|
+
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"],
|
|
299
|
+
"env": {
|
|
300
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting,storage,setup,interactive"
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
**插件配置示例:**
|
|
308
|
+
```json
|
|
309
|
+
{
|
|
310
|
+
"mcpServers": {
|
|
311
|
+
"cloudbase": {
|
|
312
|
+
"command": "npx",
|
|
313
|
+
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"],
|
|
314
|
+
"env": {
|
|
315
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting"
|
|
316
|
+
}
|
|
248
317
|
}
|
|
249
318
|
}
|
|
250
319
|
}
|
|
@@ -285,7 +354,31 @@ npx -y clear-npx-cache
|
|
|
285
354
|
"@cloudbase/cloudbase-mcp@latest"
|
|
286
355
|
],
|
|
287
356
|
"transportType": "stdio",
|
|
288
|
-
"disabled": false
|
|
357
|
+
"disabled": false,
|
|
358
|
+
"env": {
|
|
359
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting,storage,setup,interactive"
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
```
|
|
365
|
+
|
|
366
|
+
**插件配置示例:**
|
|
367
|
+
```json
|
|
368
|
+
{
|
|
369
|
+
"mcpServers": {
|
|
370
|
+
"cloudbase": {
|
|
371
|
+
"autoApprove": [],
|
|
372
|
+
"timeout": 60,
|
|
373
|
+
"command": "npx",
|
|
374
|
+
"args": [
|
|
375
|
+
"@cloudbase/cloudbase-mcp@latest"
|
|
376
|
+
],
|
|
377
|
+
"transportType": "stdio",
|
|
378
|
+
"disabled": false,
|
|
379
|
+
"env": {
|
|
380
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting"
|
|
381
|
+
}
|
|
289
382
|
}
|
|
290
383
|
}
|
|
291
384
|
}
|
|
@@ -319,7 +412,27 @@ npx -y clear-npx-cache
|
|
|
319
412
|
"command": "npx",
|
|
320
413
|
"args": [
|
|
321
414
|
"@cloudbase/cloudbase-mcp@latest"
|
|
322
|
-
]
|
|
415
|
+
],
|
|
416
|
+
"env": {
|
|
417
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting,storage,setup,interactive"
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
```
|
|
423
|
+
|
|
424
|
+
**插件配置示例:**
|
|
425
|
+
```json
|
|
426
|
+
{
|
|
427
|
+
"servers": {
|
|
428
|
+
"cloudbase": {
|
|
429
|
+
"command": "npx",
|
|
430
|
+
"args": [
|
|
431
|
+
"@cloudbase/cloudbase-mcp@latest"
|
|
432
|
+
],
|
|
433
|
+
"env": {
|
|
434
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting"
|
|
435
|
+
}
|
|
323
436
|
}
|
|
324
437
|
}
|
|
325
438
|
}
|
|
@@ -353,7 +466,25 @@ npx -y clear-npx-cache
|
|
|
353
466
|
"mcpServers": {
|
|
354
467
|
"cloudbase-mcp": {
|
|
355
468
|
"command": "npx",
|
|
356
|
-
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"]
|
|
469
|
+
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"],
|
|
470
|
+
"env": {
|
|
471
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting,storage,setup,interactive"
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
```
|
|
477
|
+
|
|
478
|
+
**插件配置示例:**
|
|
479
|
+
```json
|
|
480
|
+
{
|
|
481
|
+
"mcpServers": {
|
|
482
|
+
"cloudbase-mcp": {
|
|
483
|
+
"command": "npx",
|
|
484
|
+
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"],
|
|
485
|
+
"env": {
|
|
486
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting"
|
|
487
|
+
}
|
|
357
488
|
}
|
|
358
489
|
}
|
|
359
490
|
}
|
|
@@ -385,7 +516,25 @@ npx -y clear-npx-cache
|
|
|
385
516
|
"mcpServers": {
|
|
386
517
|
"cloudbase-mcp": {
|
|
387
518
|
"command": "npx",
|
|
388
|
-
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"]
|
|
519
|
+
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"],
|
|
520
|
+
"env": {
|
|
521
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting,storage,setup,interactive"
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
```
|
|
527
|
+
|
|
528
|
+
**插件配置示例:**
|
|
529
|
+
```json
|
|
530
|
+
{
|
|
531
|
+
"mcpServers": {
|
|
532
|
+
"cloudbase-mcp": {
|
|
533
|
+
"command": "npx",
|
|
534
|
+
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"],
|
|
535
|
+
"env": {
|
|
536
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting"
|
|
537
|
+
}
|
|
389
538
|
}
|
|
390
539
|
}
|
|
391
540
|
}
|
|
@@ -420,7 +569,28 @@ npx -y clear-npx-cache
|
|
|
420
569
|
"args": [
|
|
421
570
|
"@cloudbase/cloudbase-mcp@latest"
|
|
422
571
|
],
|
|
423
|
-
"disabled": false
|
|
572
|
+
"disabled": false,
|
|
573
|
+
"env": {
|
|
574
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting,storage,setup,interactive"
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
```
|
|
580
|
+
|
|
581
|
+
**插件配置示例:**
|
|
582
|
+
```json
|
|
583
|
+
{
|
|
584
|
+
"mcpServers": {
|
|
585
|
+
"cloudbase": {
|
|
586
|
+
"command": "npx",
|
|
587
|
+
"args": [
|
|
588
|
+
"@cloudbase/cloudbase-mcp@latest"
|
|
589
|
+
],
|
|
590
|
+
"disabled": false,
|
|
591
|
+
"env": {
|
|
592
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting"
|
|
593
|
+
}
|
|
424
594
|
}
|
|
425
595
|
}
|
|
426
596
|
}
|
|
@@ -455,7 +625,28 @@ npx -y clear-npx-cache
|
|
|
455
625
|
"args": [
|
|
456
626
|
"@cloudbase/cloudbase-mcp@latest"
|
|
457
627
|
],
|
|
458
|
-
"disabled": false
|
|
628
|
+
"disabled": false,
|
|
629
|
+
"env": {
|
|
630
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting,storage,setup,interactive"
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
```
|
|
636
|
+
|
|
637
|
+
**插件配置示例:**
|
|
638
|
+
```json
|
|
639
|
+
{
|
|
640
|
+
"mcpServers": {
|
|
641
|
+
"cloudbase": {
|
|
642
|
+
"command": "npx",
|
|
643
|
+
"args": [
|
|
644
|
+
"@cloudbase/cloudbase-mcp@latest"
|
|
645
|
+
],
|
|
646
|
+
"disabled": false,
|
|
647
|
+
"env": {
|
|
648
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting"
|
|
649
|
+
}
|
|
459
650
|
}
|
|
460
651
|
}
|
|
461
652
|
}
|
|
@@ -494,7 +685,29 @@ npx -y clear-npx-cache
|
|
|
494
685
|
"command": "npx",
|
|
495
686
|
"args": [
|
|
496
687
|
"@cloudbase/cloudbase-mcp@latest"
|
|
497
|
-
]
|
|
688
|
+
],
|
|
689
|
+
"env": {
|
|
690
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting,storage,setup,interactive"
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
```
|
|
697
|
+
|
|
698
|
+
**插件配置示例:**
|
|
699
|
+
```json
|
|
700
|
+
{
|
|
701
|
+
"augment.advanced": {
|
|
702
|
+
"mcpServers": {
|
|
703
|
+
"cloudbase": {
|
|
704
|
+
"command": "npx",
|
|
705
|
+
"args": [
|
|
706
|
+
"@cloudbase/cloudbase-mcp@latest"
|
|
707
|
+
],
|
|
708
|
+
"env": {
|
|
709
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting"
|
|
710
|
+
}
|
|
498
711
|
}
|
|
499
712
|
}
|
|
500
713
|
}
|
|
@@ -530,7 +743,28 @@ npx -y clear-npx-cache
|
|
|
530
743
|
"args": [
|
|
531
744
|
"-y",
|
|
532
745
|
"@cloudbase/cloudbase-mcp@latest"
|
|
533
|
-
]
|
|
746
|
+
],
|
|
747
|
+
"env": {
|
|
748
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting,storage,setup,interactive"
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
```
|
|
754
|
+
|
|
755
|
+
**插件配置示例:**
|
|
756
|
+
```json
|
|
757
|
+
{
|
|
758
|
+
"mcpServers": {
|
|
759
|
+
"cloudbase": {
|
|
760
|
+
"command": "npx",
|
|
761
|
+
"args": [
|
|
762
|
+
"-y",
|
|
763
|
+
"@cloudbase/cloudbase-mcp@latest"
|
|
764
|
+
],
|
|
765
|
+
"env": {
|
|
766
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting"
|
|
767
|
+
}
|
|
534
768
|
}
|
|
535
769
|
}
|
|
536
770
|
}
|
|
@@ -576,7 +810,25 @@ npx @google/gemini-cli
|
|
|
576
810
|
"mcpServers": {
|
|
577
811
|
"cloudbase-mcp": {
|
|
578
812
|
"command": "npx",
|
|
579
|
-
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"]
|
|
813
|
+
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"],
|
|
814
|
+
"env": {
|
|
815
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting,storage,setup,interactive"
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
```
|
|
821
|
+
|
|
822
|
+
**插件配置示例:**
|
|
823
|
+
```json
|
|
824
|
+
{
|
|
825
|
+
"mcpServers": {
|
|
826
|
+
"cloudbase-mcp": {
|
|
827
|
+
"command": "npx",
|
|
828
|
+
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"],
|
|
829
|
+
"env": {
|
|
830
|
+
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting"
|
|
831
|
+
}
|
|
580
832
|
}
|
|
581
833
|
}
|
|
582
834
|
}
|