Plugin System
CloudBase MCP adopts a plugin-based architecture, supporting on-demand enabling of tool modules to thus address the limitation on the number of MCP client tools.
📋 Plugin List
Default Plugin (out-of-the-box)
| Plugin Name | Feature Description |
|---|---|
env | Environment Management (Login, Logout, Environment Query) |
database | Database Operations (collection, document, index management) |
functions | Cloud Function Management (Creation, Update, Invocation, Logs) |
hosting | Static Hosting (file upload, domain configuration) |
storage | Cloud Storage Management (File Storage, CDN) |
setup | Project Initialization (template download, configuration) |
interactive | Interactive Dialogue (user confirmation, selection) |
security-rule | Security Rule Management (database, cloud function, storage security rule read/write) |
Optional Plugin (on-demand)
| Plugin Name | Feature Description |
|---|---|
rag | Knowledge Base Search (AI-enhanced Q&A) |
download | Remote File Download |
gateway | API Gateway Management |
miniprogram | Mini Program Release (upload, preview, build) |
cloudrun | Cloud Hosting Service (container deployment, service management) |
⚙️ 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 Configuration
| 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 Tools Details - View all available tools
- Quick Start - Getting Started Guide
- FAQ - Plugin Configuration Issues