Plugin System
CloudBase MCP uses a plugin-based architecture that supports enabling tool modules on demand, addressing MCP client tool count limitations.
Plugin List
Default Plugins (Ready Out of the Box)
| Plugin Name | Description |
|---|---|
env | Environment management (login, logout, environment queries) |
database | Database operations (collections, documents, index management) |
functions | Cloud Functions management (create, update, invoke, logs) |
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 rule management (read/write security rules for DB, 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 publishing (upload, preview, build) |
cloudrun | CloudBase Run service (container deployment, service management) |
Plugin Configuration
Enable Specific Plugins
{
"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 Dev | 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 App | env,database,functions,hosting,rag,interactive |
Related Documentation
- MCP Tools Reference - View all available tools
- Quick Start - Getting started guide
- FAQ - Plugin configuration questions