Skip to main content

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 NameFeature Description
envEnvironment Management (Login, Logout, Environment Query)
databaseDatabase Operations (collection, document, index management)
functionsCloud Function Management (Creation, Update, Invocation, Logs)
hostingStatic Hosting (file upload, domain configuration)
storageCloud Storage Management (File Storage, CDN)
setupProject Initialization (template download, configuration)
interactiveInteractive Dialogue (user confirmation, selection)
security-ruleSecurity Rule Management (database, cloud function, storage security rule read/write)

Optional Plugin (on-demand)

Plugin NameFeature Description
ragKnowledge Base Search (AI-enhanced Q&A)
downloadRemote File Download
gatewayAPI Gateway Management
miniprogramMini Program Release (upload, preview, build)
cloudrunCloud 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

ScenarioRecommended Plugins
Basic Developmentenv,database,functions,hosting
Full Featuresenv,database,functions,hosting,storage,setup,interactive,rag,download,gateway,miniprogram
Backend Onlyenv,database,functions
Mini Programenv,database,functions,storage,setup,miniprogram
AI Applicationsenv,database,functions,hosting,rag,interactive