Skip to main content

Connection Modes: Remote vs Local

CloudBase MCP supports two connection modes: Remote Mode (the server runs in the cloud and the IDE connects over HTTP) and Local Mode (the server runs on your machine via npx, with the IDE connecting over stdio). Both use the same code and the same tools. The difference is where the server runs, and which tools that take away — the ones that touch your local file system.

If you are unsure, start with Remote Mode: enter one endpoint, and an OAuth-capable client walks you through authorization.

⚠️ MCP hands the AI real write access — deleting collections, functions, and stored files is within reach. Read Dangerous Operations and Confirmation before you connect. The confirmation prompt only appears in clients that support elicitation, and it is a guardrail, not a security boundary.


Choosing a Mode​

Your situationRecommended modeNotes
You want the fastest setup and do not want to maintain Node.js locallyRemote Mode · Tencent Cloud-hosted serviceEnter one endpoint; interactive clients complete authorization automatically
Your team needs a consistent connection methodRemote Mode · Tencent Cloud-hosted serviceNo operations overhead; capabilities are upgraded centrally without requiring each client to track versions
Cloud agent / platform integration where the caller does not run on the developer's machineRemote Mode · Tencent Cloud-hosted serviceA cloud-based caller can connect only over HTTP
CI/CD, scripted, or unattended useRemote Mode + static credentialsUse API credentials when interactive authorization is unavailable; see Authentication. Local Mode also works with npx + CLOUDBASE_API_KEY
You need to upload local files or download templates to your machineLocal Mode (npx)Tools involving the local filesystem or local processes are registered only in Local Mode
You already have a server and need private-network access or self-managed credentialsRemote Mode · self-hostedCloud Mode must be enabled

Remote Mode has explicit capability gaps because tools that require the developer's local filesystem are not registered. See Remote Mode capability boundaries. Recommend it only together with these limitations, rather than implying that both modes are identical in every respect.


Site and Region (site / region)​

Two Separate Account Systems​

CloudBase has two mutually independent account systems: the China site (domestic, cloud.tencent.com) and the International site (intl, tencentcloud.com). Their environments, consoles, API credentials, and login sessions are not shared.

Before connecting, confirm which site hosts your environment, then choose the matching endpoint. The typical symptom of choosing the wrong site is “login succeeded, but my environment is missing”, not an explicit error.

China siteInternational site
Remote MCP endpointhttps://tcb-api.cloud.tencent.com/mcp/v1https://tcb-api.tencentcloud.com/mcp/v1
Consoletcb.cloud.tencent.comtcb.tencentcloud.com
Default regionap-shanghaiap-singapore
Supported regionsap-shanghai, ap-guangzhou, ap-singaporeap-singapore
NoSQL (document database) toolsAvailableNot currently available

In Remote Mode, the hostname determines the site—the China-site endpoint always selects the China site, while the International-site endpoint selects the International site. A single hostname cannot switch between the two sites, and no additional declaration is required.

How Local Mode Determines the Site​

Local Mode has no hostname from which to infer the site. MCP resolves it in the following order:

Explicit cloudBaseOptions.site/region
> Environment variables TCB_SITE / TCB_REGION
> Project-level config .cloudbase/project.json
> cloudbaserc.json (field-level fallback; site is an MCP extension field)
> Global default: domestic + ap-shanghai

When inferring the site from region:

regionResolution when site is not configured
ap-shanghai / ap-guangzhoudomestic (China site)
ap-singaporeAmbiguous: both sites provide this region; defaults to intl when site is omitted for backward compatibility

How the tcb CLI Determines the Site​

The tcb CLI uses a different switch from MCP's TCB_SITE. Setting the wrong switch fails silently:

ToolSwitchScopeVerification
tcb CLIEnvironment variable TCB_IS_INTL=true (this process only); persist with tcb login --intl true|false or tcb config set isIntl trueMachine-wide: affects China-site projects on the same machine as welltcb config get isIntl
MCP (Local Mode)TCB_SITE + TCB_REGIONOne IDE's MCP configurationauth(action="status")

To use the International site only for the current command without leaving global state:

TCB_IS_INTL=true tcb login
TCB_IS_INTL=true tcb env list

If you have confirmed that the entire machine should use the International site, persist the setting (this also affects China-site projects on the machine):

tcb config set isIntl true

# Or switch during login; use tcb login --intl false to switch back
tcb login --intl true

⚠️ If tcb login succeeds but tcb env list is empty, the site is wrong; it does not mean the account has no environments. Check isIntl before logging in again.

⚠️ Change both sides when switching sites. MCP resolves environment variables before .cloudbase/project.json, so changing only the project record while leaving the client's env unchanged still uses the old site. The project record is repository-scoped, can be committed, and is loaded automatically after restart; tcb config isIntl is machine-scoped and must not be treated as project configuration.

International Site Users​

{
"mcpServers": {
"cloudbase": {
"command": "npx",
"args": ["@cloudbase/cloudbase-mcp@latest"],
"env": {
"TCB_SITE": "intl",
"TCB_REGION": "ap-singapore"
}
}
}
}

Singapore Environments on the China Site​

The China site supports the Singapore region, but setting only TCB_REGION=ap-singapore is treated as the international site — login redirects there and NoSQL tools are skipped. Set the site too:

"env": { "TCB_SITE": "domestic", "TCB_REGION": "ap-singapore" }

Or write it into the project-level .cloudbase/project.json (a separate file, not merged into cloudbaserc.json), and every session in that directory picks it up:

{
"site": "domestic",
"region": "ap-singapore",
"envId": "your-env-id"
}
Environment ID resolution order, and fallback for existing CLI projects

The envId becomes the project's default environment. Resolution order:

Explicit cloudBaseOptions.envId
> Environment variable CLOUDBASE_ENV_ID
> Environment currently bound in the process (result of auth(action="set_env"))
> envId in project-level config .cloudbase/project.json
> envId in cloudbaserc.json (field-level fallback)
> Environment in account login state
> Return ENV_REQUIRED and direct the caller to auth(action="set_env")

cloudbaserc.json fallback notes for existing CLI projects, which do not need duplicate binding configuration:

  • Field-level fallback: project.json and cloudbaserc.json complement each other field by field. For example, if project.json contains only site and cloudbaserc.json contains only envId, both take effect; for the same field, project.json takes precedence.
  • envId / region support literal values and {{env.KEY}} templates: templates are resolved from .env / .env.local at the project root, using the same source as the CLI. {{private.X}} and templates that fail to resolve are skipped and resolution continues to the next level without an error.
  • MCP does not write cloudbaserc.json: it is a human-maintained deployment configuration managed by the CLI, which may also update it after deployment. Machine-managed binding persistence uses .cloudbase/project.json.

Because this file lives in and can be committed with the repository, newly started MCP processes and every Git worktree of the same repository automatically use the same environment; you do not need to run set_env for each worktree. Different repositories read their own files, so bindings do not leak between projects.

Multi-Site Credential Coexistence​

Login credentials are stored in site-specific slots (credential.domestic / credential.intl in ~/.config/.cloudbase/auth.json). China-site and International-site login sessions can coexist, and switching environments does not require signing in again. Legacy single-slot data is treated as domestic when read and is automatically upgraded to the site-specific format on the first write.


Remote Mode (Recommended)​

Quick Start​

  1. Add the endpoint to your client's MCP config (China site):
{
"mcpServers": {
"cloudbase": {
"type": "http",
"url": "https://tcb-api.cloud.tencent.com/mcp/v1"
}
}
}
  1. On first connect the client opens a browser: sign in to Tencent Cloud and pick an environment to authorize.
  2. Ask the AI to look something up to confirm the connection, for example "list my cloud functions".

For the international site, use https://tcb-api.tencentcloud.com/mcp/v1. The site is determined by the domain — there is no site parameter.

Clients without OAuth support will get 403 Forbidden: Missing credentials from the config above; use static credentials instead.

What It Means and When to Use It​

  • Meaning: the MCP server runs remotely and your IDE connects over HTTP; Node.js does not need to be installed or running locally.
  • Use cases: fast initial setup, consistent team access, cloud agents or platform integrations where the caller does not run on the developer's machine, and self-hosted deployments that require infrastructure control.
  • Advantages: no local environment dependency; one endpoint is enough; interactive clients complete authorization in the browser without storing API credentials in the configuration file; capabilities are upgraded centrally without requiring each client to track versions.
  • Limitations: capabilities that depend on the local filesystem are unavailable, as described below.

Remote services have two deployment sources with the same capabilities; the only difference is who operates them:

  • Tencent Cloud-hosted MCP service: no operations overhead. Configure the endpoint and authentication method below. This is the path for most users.
  • Self-hosted on your own server: deploy and enable Cloud Mode yourself. Use this when you need private-network access or self-managed credentials.

Remote Mode Capability Boundaries​

Because the MCP server does not run on the developer's machine, tools involving the local filesystem or local processes are not registered. Calling them fails because the tool is not present:

ToolWhy it is unavailable
authLogin requires reading and writing local credential files
manageStorageInvolves local file upload/download
downloadTemplateDownloads project templates to the local machine
manageCloudRunInvolves starting a local service (action="run")
deployBuildReads local cloudbaserc and builds upload artifacts from the current working directory
deployPlanSame as above
deployApplySame as above

Some tools remain registered but have action-level restrictions: actions that depend on the local filesystem return an explicit error when called.

  • manageFunctions: actions that upload local source code
  • manageApps: deployApp cannot use filePath / localPath; call getUploadUrl for a presigned URL, upload the archive, then call the action with cosTimestamp
  • manageStorage: actions that read from or write to local files

There is also a site-level capability difference: the International site does not currently provide NoSQL (document database) tools. See Site and Region.

These restrictions are implemented consistently through Cloud Mode. Tencent Cloud-hosted MCP has Cloud Mode enabled on the server. Enable it yourself when deploying on your own server; see Self-Hosting on Your Own Server.

Enter only the endpoint; do not place API credentials in the configuration file:

{
"mcpServers": {
"cloudbase": {
"type": "http",
"url": "https://tcb-api.cloud.tencent.com/mcp/v1"
}
}
}

On the first connection, the client automatically performs dynamic client registration (DCR), opens the browser for login, lets you select an environment and approve access, and obtains a token.

OAuth-capable clients such as Cursor, VS Code, and WorkBuddy can use this method. Compared with storing API credentials in configuration, it prevents credentials from being written to disk or committed accidentally.

For the International site, change url to https://tcb-api.tencentcloud.com/mcp/v1.

⚠️ In clients without OAuth support, this endpoint-only configuration returns 403 Forbidden: Missing credentials. Use Method 2: Static Credentials instead.

Method 2: Static Credentials​

Use this method for clients without OAuth support and for CI/CD or other environments that cannot complete interactive authorization. The remote service authenticates the caller through request headers and currently supports Tencent Cloud API credentials:

HeaderValueHow to obtain it
X-TencentCloud-SecretIdTencent Cloud SecretIdTencent Cloud API Keys
X-TencentCloud-SecretKeyTencent Cloud SecretKeySame as above

Both headers must be provided together. Replace <env_id> with your environment ID from the CloudBase Console:

{
"mcpServers": {
"cloudbase": {
"type": "http",
"url": "https://tcb-api.cloud.tencent.com/mcp/v1?env_id=<env_id>",
"headers": {
"X-TencentCloud-SecretId": "<Tencent Cloud Secret ID>",
"X-TencentCloud-SecretKey": "<Tencent Cloud Secret Key>"
}
}
}
}

⚠️ These are account-level credentials with permissions covering the Tencent Cloud account. Never commit them to a repository or share them with others. For CI, inject them through a secret-management system.

For the International site, change url to https://tcb-api.tencentcloud.com/mcp/v1?env_id=<env_id> and use International-site credentials.

URL Parameters (Remote Mode Only)​

Remote MCP configuration has no env block, so the following values can be passed only through URL parameters.

The remote endpoint accepts exactly four query parameters; all other parameters are ignored:

ParameterRequiredPurpose
env_id (or envId)Required with static credentials; optional with OAuth because the token binds the environmentSelect the environment to operate on
enable_pluginsNoEnable only the specified plugins, separated by commas
disable_pluginsNoDisable specified plugins from the default set, separated by commas
use_internal_endpointNoUse an internal endpoint; available only in specific deployments
# Enable only specified plugins
https://tcb-api.cloud.tencent.com/mcp/v1?env_id=YOUR_ENV_ID&enable_plugins=env,database

# Disable specified plugins
https://tcb-api.cloud.tencent.com/mcp/v1?env_id=YOUR_ENV_ID&disable_plugins=rag,env

The available plugin names are defined by mcp/src/server.ts. Prefer these canonical names: env, database, pg_database, pg_storage, mysql_database, functions, hosting, storage, setup, rag, download, gateway, cloudrun, app-auth, permissions, logs, agents, apps, capi, feedback, database-nosql, database-sql, data-model.

⚠️ There is no site parameter and no region parameter. The hostname determines the site—the China-site endpoint selects the China site even when the environment is in ap-singapore; adding site=domestic has no effect. The environment determines the region: with OAuth, it comes from the environment bound to the token. To query another region, pass region in the relevant tool call.

Environment Variables in Remote Mode​

In Remote Mode, environment variables are configured on the server. When using Tencent Cloud-hosted MCP, pass env_id and credentials through the URL and headers as described above; no server-side environment configuration is needed.

If you self-host the remote service, see MCP Tools - Hosted MCP Configuration for optional environment variables such as TENCENTCLOUD_SECRETID, TENCENTCLOUD_SECRETKEY, and CLOUDBASE_ENV_ID. You can also select the site server-side with TCB_SITE (domestic / intl), using the same behavior as Local Mode.

Self-Hosting on Your Own Server (Cloud Mode)​

How to Enable It​

Enable Cloud Mode in any one of these ways:

# Method 1: Environment variable
export CLOUDBASE_MCP_CLOUD_MODE=true

# Method 2: Alternative environment variable
export MCP_CLOUD_MODE=true

# Method 3: CLI argument
npx @cloudbase/cloudbase-mcp@latest --cloud-mode

The server then exposes a Streamable HTTP endpoint. Tools that read or write local files or start local processes are disabled individually; see Remote Mode capability boundaries. This prevents remote callers from accessing the server's local resources through these tools.

Security Architecture​

CloudBase MCP provides layered protection for each deployment mode:

┌─────────────────────────────────────────────────────┐
│ Local Mode │
│ - All tools available │
│ - Caller = developer (already controls the machine)│
│ - Transport: stdio / localhost │
└─────────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────────┐
│ Remote Mode / Cloud Mode │
│ - Local file/process tools disabled automatically │
│ - Three-layer filtering: server-side registration │
│ filtering + client-side allowlist (redundant) │
│ - Remote callers cannot access server-local files │
│ - Transport: HTTPS (Streamable HTTP) │
└─────────────────────────────────────────────────────┘

Important: In Local Mode, tools such as manageCloudRun(action="run") are normal product capabilities, equivalent to the developer running curl or node app.js in a terminal. They run only on the developer's machine and do not create a privilege-escalation risk. If you deploy MCP on a remote server and expose it externally, Cloud Mode must be enabled. Tencent Cloud-hosted MCP enables it by default.


Local Mode​

What It Means and When to Use It​

  • Meaning: the MCP server runs on your machine via npx, alongside your IDE.
  • Use cases: capabilities that depend on the local filesystem, such as uploading local code or directories and downloading templates to your machine; offline or restricted-network environments.
  • Advantages: the complete feature set, including upload, download, and template-installation capabilities that depend on the local filesystem.
  • Requirements: Node.js is installed and npx is available.

Quick Start​

Add this to your IDE's MCP configuration (for example, Cursor or WindSurf):

{
"mcpServers": {
"cloudbase": {
"command": "npx",
"args": ["@cloudbase/cloudbase-mcp@latest"],
"env": {}
}
}
}

💡 Local Mode has no hostname from which to infer the site. International-site users must set TCB_SITE=intl in env; the China site is the default and does not need to be specified. See How Local Mode Determines the Site.

Optional Environment Variables in Local Mode​

In Local Mode, behavior can be controlled through environment variables. All variables below are optional; omitted values use the default behavior.

Environment variableDescriptionDefault / Notes
CLOUDBASE_API_KEYCloudBase environment-level API Key (recommended for CI/CD and MCP Server)Use with CLOUDBASE_ENV_ID; takes priority over TENCENTCLOUD_* credentials. CLOUDBASE_APIKEY is also read for compatibility with @cloudbase/js-sdk / @cloudbase/node-sdk, but the underscore form CLOUDBASE_API_KEY takes precedence. Create one in the console
CLOUDBASE_ENV_IDCloudBase environment IDIf omitted, the first call guides you through login and environment selection
CLOUDBASE_API_ENDPOINTCustom endpoint for API Key credential exchange (advanced)Defaults to https://<envId>.<region>.tcb-api.tencentcloudapi.com
CLOUDBASE_LOCAL_ENDPOINTRedirects Cloud APIs to a local process origin, for example http://127.0.0.1:8797When unset, calls go to Tencent Cloud. The value is an origin — do not include /capi, it is appended automatically. Once set, login is skipped, no credentials are required, and the environment ID is local. This is not the same address as CLOUDBASE_API_ENDPOINT above
TENCENTCLOUD_SECRETIDTencent Cloud SecretIdIf omitted, obtained through the login flow. Get Tencent Cloud API credentials
TENCENTCLOUD_SECRETKEYTencent Cloud SecretKeySame as above
TENCENTCLOUD_SESSIONTOKENTencent Cloud temporary credential tokenRequired only for temporary credentials. See STS
TCB_REGIONTencent Cloud region, such as ap-shanghaiUses the SDK default when omitted
TCB_SITESite: domestic (China site) or intl (International site)If omitted, inferred from region; ambiguous ap-singapore defaults to intl. China-site Singapore users must explicitly set domestic
TCB_AUTH_OAUTH_ENDPOINTCustom device-code login endpoint (advanced)Uses the default login endpoint when omitted
TCB_AUTH_CLIENT_IDCustom device-code login client_id (advanced)Uses the default client_id when omitted
TCB_AUTH_OAUTH_CUSTOMCustom endpoint response-format switch (advanced)Defaults to false without a custom endpoint and true when one is configured
TCB_TCR_USERNAMEPersonal-edition TCR push username, which is the Tencent Cloud account UINRequired only for personal-edition HTTP Cloud Function image builds (imageType=personal with local / cloud). It shares the name {{env.TCB_TCR_USERNAME}} with cloudbaserc, so the CLI and MCP use the same variable
TCB_TCR_PASSWORDPersonal-edition TCR fixed passwordSame as above. Once configured, credentials do not need to be passed in tool parameters, keeping the password out of the AI context. Get the personal-edition registry password
INTEGRATION_IDECurrent IDE identifier, such as Cursor or CodeBuddyUsed for logging and capability adaptation
CLOUDBASE_MCP_PLUGINS_ENABLEDComma-separated enabled plugin listUses the default plugin set when omitted
CLOUDBASE_MCP_PLUGINS_DISABLEDComma-separated disabled plugin listEquivalent to the disable_plugins URL parameter
WORKSPACE_FOLDER_PATHS / PROJECT_ROOTProject root for template downloads, remote files, and related operationsDefaults to the current working directory; CI can use GITHUB_WORKSPACE and similar variables
CLOUDBASE_MCP_TELEMETRY_DISABLEDSet to true to disable telemetryTelemetry is enabled by default
CLOUDBASE_LOG_DIRLog directoryDefaults to ~/.cloudbase-mcp/logs

Telemetry: CloudBase MCP reports usage statistics by default for product improvement and usage analysis. These include tool name, result and duration, the tool-level action (for example status / set_env on auth), truncated error summary, environment ID, region/site, IDE and MCP client identifiers together with the capabilities they declare (such as whether interactive input is supported), device identifier, and the environment owner's root-account UIN (login_uin, consistent with CloudBase CLI). When a client reads a ui:// panel resource, one extra resource-read event is reported (event name toolkit_resource_read, carrying the resource URI, MIME type, content byte size, duration and outcome, reusing the same environment / site / client fields as above). Reported values are truncated and filtered for sensitive fields and are not used for other purposes. Set CLOUDBASE_MCP_TELEMETRY_DISABLED=true to disable telemetry completely.

Which Login Environment Variables Should I Set?​

In most cases, you do not need to configure these three variables: TCB_AUTH_OAUTH_ENDPOINT, TCB_AUTH_CLIENT_ID, and TCB_AUTH_OAUTH_CUSTOM.

Configure them only when integrating an enterprise or platform-specific login middleware. See Isolation without CAM sub-accounts.

  • Personal development and standard teams: use the default device-code login; no configuration is needed
  • Servers, CI/CD, MCP Server, and AI Agents: use CLOUDBASE_API_KEY + CLOUDBASE_ENV_ID (environment-level long-lived credentials that are exchanged automatically for temporary credentials)
  • Traditional API credentials: set TENCENTCLOUD_SECRETID, TENCENTCLOUD_SECRETKEY, optional TENCENTCLOUD_SESSIONTOKEN, and CLOUDBASE_ENV_ID
  • Enterprise custom login middleware: usually start by configuring only TCB_AUTH_OAUTH_ENDPOINT

Credential Priority​

When multiple credentials are available, MCP selects them in this order:

  1. CLOUDBASE_API_KEY + CLOUDBASE_ENV_ID — CloudBase environment-level API Key; if CLOUDBASE_API_KEY is absent, CLOUDBASE_APIKEY is read for compatibility
  2. TENCENTCLOUD_SECRETID + TENCENTCLOUD_SECRETKEY — Tencent Cloud permanent or temporary credentials
  3. Locally stored Device Flow credentials (~/.config/.cloudbase/auth.json)

Login Modes and Query Scope​

The login methods have different visible-environment scopes. This is a credential boundary, not a missing environment:

Login methodauth(status) fieldVisible environments
Account-level (device / web / Tencent Cloud SecretId)credential_scope=accountEnvironments the account can access in the current region; query other regions explicitly
Environment-level API Key (CLOUDBASE_API_KEY + CLOUDBASE_ENV_ID)credential_scope=single_envOnly the bound envId; other environments and regions cannot be listed

Cross-region queries with account-level credentials:

  • MCP: queryEnv(action="list", region="ap-singapore") (formerly envQuery)
  • MCP management plane: callCloudApi(service="tcb", action="DescribeEnvs", region="ap-singapore"). Do not put Region in params, which causes The parameter Region is not recognized
  • CLI: tcb env list -r ap-singapore --json

When using account-level login, auth(action="set_env", envId="<EnvId>") can bind an environment even when the envId is not present in the current region's candidate list. An environment-level API Key cannot be rebound to another envId.

API Key Mode Example​

{
"mcpServers": {
"cloudbase": {
"command": "npx",
"args": ["@cloudbase/cloudbase-mcp@latest"],
"env": {
"CLOUDBASE_API_KEY": "<your-api-key>",
"CLOUDBASE_ENV_ID": "<your-env-id>"
}
}
}
}

💡 Create and manage API Keys in the environment settings of the CloudBase Console.

⚠️ API Keys grant environment-level operation permissions. Keep them secure, inject them through environment variables, and do not hardcode them in configuration files.

Custom Login Middleware​

Minimal example:

TCB_AUTH_OAUTH_ENDPOINT=https://auth.your-domain.com/oauth

Notes:

  • TCB_AUTH_CLIENT_ID: set only when the custom login service requires a fixed client_id
  • TCB_AUTH_OAUTH_CUSTOM: use true with a custom TCB_AUTH_OAUTH_ENDPOINT; it now defaults to true automatically when an endpoint is configured

Dangerous Operations and Confirmation​

Destructive actions request confirmation before they run (MCP elicitation). Whether that prompt appears depends on the client — it is not a security boundary.

Actions that trigger confirmation​

Resourcetool.action
FunctionsmanageFunctions.deleteFunction, deleteFunctionTrigger, deleteLayerVersion
DatabasewriteNoSqlDatabaseStructure.deleteCollection, writeNoSqlDatabaseContent.delete, manageMysqlDatabase.destroyMySQL
Storage and hostingmanageStorage.delete, manageHosting.delete
CloudRunmanageCloudRun.delete
MigrationsmanagePgDatabase.execute, applyMigration — judged by the SQL statement, not the action name
Domains and routingenvDomainManagement.delete, manageEnv.removeSecurityDomain, manageGateway.deleteRoute, deleteCustomDomain
Accounts and releasesmanageAgents.deleteAgent, manageAppAuth.deleteProvider, deleteApiKey, manageApps.deleteApp, deleteAppVersion

Boundaries​

Client behaviourResult
No elicitation supportNo prompt; the call runs
Supported but auto-answered (< 500 ms)Treated as not asked; the call runs
User declinesNormal result, not an error — an error would make the model retry the same delete

⚠️ A guardrail, not a boundary. Do not rely on it in production: use read-only credentials, or narrow the plugin set with enable_plugins.

Switches​

VariableEffect
CLOUDBASE_MCP_SKIP_ELICITATIONSComma-separated skip list; tool or tool.action, case-sensitive, no wildcards
CLOUDBASE_MCP_ELICIT_AUTO_APPROVE=blockAlso block when the client answers automatically

Supported Plugins​

The current plugin names, default-enabled set, and compatible aliases are defined by mcp/src/server.ts. The table below lists every supported canonical name:

PluginEnabled by defaultDescription
envYesEnvironment login, environment queries, and security-domain management
databaseYesNoSQL database + data models (combined registration)
pg_databaseYesPostgreSQL database
pg_storageYesPostgreSQL storage
mysql_databaseYesMySQL database
functionsYesCloud Function queries, creation, updates, and invocation
hostingYesStatic Hosting and domain management
storageYesCloud Storage file management
setupYesTemplates, IDE rules, and configuration downloads
ragYesKnowledge base, skills, OpenAPI, and official documentation search
downloadYesDownload remote files locally
gatewayYesCloud Function access endpoints and route management
cloudrunYesCloudBase Run service initialization, deployment, and management
app-authYesApplication-side authentication configuration
permissionsYesPermissions, roles, and security rules
logsYesLog service status and log search
agentsYesAgent queries and management
appsYesCloudApp application and version management
capiYesGeneric Cloud API calls
feedbackYesRegisters prepareFeedback by default, which drafts a case study or retrospective and returns a submission link after confirmation; it never submits on your behalf
database-nosqlNoNoSQL database only (subset of database)
database-sqlNoSQL database only (subset of mysql_database)
data-modelNoData models only (subset of database)

Compatible aliases (prefer canonical names):

Alias→ canonical
access-controlpermissions
auth-configapp-auth
security-rule / security-rulespermissions
secret-rule / secret-rulespermissions
userspermissions
mysql / mysql-databasemysql_database
sql-databasemysql_database

When no plugin scope is configured, plugins marked “Yes” above are enabled by default. You can control the scope with environment variables or URL parameters. Multiple values for enable_plugins / disable_plugins and CLOUDBASE_MCP_PLUGINS_ENABLED / CLOUDBASE_MCP_PLUGINS_DISABLED are comma-separated.

Supported Tools​

Tool names and counts evolve between versions. For complete parameters and descriptions, see MCP Tools. To confirm that a tool or plugin actually exists, use the registrations in mcp/src/server.ts and mcp/src/tools/*.ts as the source of truth.