🔌 Plugin System
CloudBase MCP adopts a plugin-based architecture, supporting the on-demand enabling of tool modules to address the limitation on the number of MCP client tools.
📋 Plugin List
Default Plugin (Out-of-the-Box)
Plugin Name | Description |
---|---|
env | Environment Management (login, logout, environment query) |
database | Database Operations (collections, documents, index management) |
functions | Cloud Function Management (creation, update, invocation, logging) |
hosting | Static Hosting (file upload, domain configuration) |
storage | Cloud Storage Management (file storage, CDN) |
setup | Project Initialization (template download, configuration) |
interactive | Interactive Dialog (user confirmation, selection) |
security-rule | Security Rules Management (read/write security rules for databases, cloud functions, and storage) |
Optional Plugins (Enable as Needed)
Plugin Name | Description |
---|---|
rag | Knowledge Base Search (AI-enhanced Q&A) |
download | Remote File Download |
gateway | API Gateway Management |
miniprogram | Mini Program Release (upload, preview, build) |
⚙️ Plugin Configuration
Specify Plugins to Enable
{
"mcpServers": {
"cloudbase-mcp": {
"command": "npx",
"args": ["npm-global-exec@latest", "@cloudbase/cloudbase-mcp@latest"],
"env": {
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting"
}
}
}
}
Disable Specific Plugins
{
"mcpServers": {
"cloudbase-mcp": {
"command": "npx",
"args": ["npm-global-exec@latest", "@cloudbase/cloudbase-mcp@latest"],
"env": {
"CLOUDBASE_MCP_PLUGINS_DISABLED": "rag,download,gateway"
}
}
}
}
🎯 Common Configurations
Scenario | Recommended Plugins |
---|---|
Basic Development | env,database,functions,hosting |
Full Features | env,database,functions,hosting,storage,setup,interactive,rag,download,gateway,miniprogram |
Backend Only | env,database,functions |
Mini Program | env,database,functions,storage,setup,miniprogram |
AI Applications | env,database,functions,hosting,rag,interactive |
📚 Related Documentation
- MCP Tool Details - View all available tools
- Quick Start - Getting Started Guide
- FAQ - Plugin Configuration Issues