Skip to main content

Plugin System

CloudBase MCP uses a plugin-based architecture that supports enabling tool modules on demand. The plugin names, default enabled set, and compatible aliases are subject to DEFAULT_PLUGINS, AVAILABLE_PLUGINS, and PLUGIN_ALIASES in mcp/src/server.ts.

Currently Available Plugins

Plugin NameDefault EnabledDescriptionCompatible Aliases
envYesEnvironment login, environment queries, security domain management-
databaseYesNoSQL / SQL / data model capabilities-
functionsYesCloud function queries, creation, updates, invocation-
hostingYesStatic hosting and domain management-
storageYesCloud storage file management-
setupYesProject templates, IDE rules, and configuration downloads-
ragYesKnowledge base search and web search-
cloudrunYesCloudBase Run service initialization, deployment, and management-
gatewayYesCloud function access entry and route management-
app-authYesApp-side authentication configurationauth-config
permissionsYesPermissions, roles, and security rule managementaccess-control, security-rule, security-rules, secret-rule, secret-rules, users
logsYesLog service status and log search-
agentsYesAgent list, details, logs, and management-
downloadYesDownload remote files to local project-
invite-codeYesAI coding incentive invite code activation-
capiYesGeneric Cloud API calls-
appsNoCloudApp application and version management-

It is recommended to consistently use the canonical names in the table above for new documentation, examples, and configurations; compatible aliases are only used for backward compatibility with old configurations or old prompts.

Plugin Configuration

Enable Specific Plugins

CLOUDBASE_MCP_PLUGINS_ENABLED is used to only enable specified plugins, with multiple plugins separated by commas:

{
"mcpServers": {
"cloudbase-mcp": {
"command": "npx",
"args": ["npm-global-exec@latest", "@cloudbase/cloudbase-mcp@latest"],
"env": {
"CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,permissions,logs"
}
}
}
}

Disable Specific Plugins

CLOUDBASE_MCP_PLUGINS_DISABLED is used to disable specified plugins from the default plugin set, with multiple plugins separated by commas:

{
"mcpServers": {
"cloudbase-mcp": {
"command": "npx",
"args": ["npm-global-exec@latest", "@cloudbase/cloudbase-mcp@latest"],
"env": {
"CLOUDBASE_MCP_PLUGINS_DISABLED": "rag,download,agents"
}
}
}
}

Hosted Mode URL Parameters

In Hosted Mode, you can control the plugin scope via URL query parameters:

  • enable_plugins: only enable specified plugins
  • disable_plugins: disable specified plugins from the default plugin set
  • Multiple plugin names use comma separation

See connection-modes.mdx for complete examples.

Common Configurations

ScenarioRecommended Plugins
Basic Developmentenv,database,functions,hosting,storage
App Authenticationenv,app-auth,permissions
Backend Onlyenv,database,functions,permissions,logs
AI Applicationenv,database,functions,hosting,rag,agents
CloudBase Run Servicesenv,cloudrun,gateway,logs
WeChat Mini Program ProjectEnable env,database,functions,storage,permissions as needed; for project initialization and development workflow, see Project Templates and WeChat Mini Program Skill