CloudBase MCP

Manage Tencent CloudBase environments, databases, functions, hosting and deployments from an MCP client

Official · Tencent CloudBase TypeScript Remote (hosted) · Streamable HTTPLocal · stdio Cloud platformsDatabasesFiles and storage

91 popularity score ★ 1.2k ↓ 74k/wk

Connect your client

Remote (hosted)

Add in one click

Opens the app, which asks before it adds the server.

Or add it by command or config

Its docs show no set-up for a particular client: add this address in your client the way it adds a remote MCP server.

Addressits hosted endpoint
https://tcb-api.cloud.tencent.com/mcp/v1
Local (npm)

Add in one click

Opens the app, which asks before it adds the server.

Or add it by command or config

Claude CodeTerminal
claude mcp add cloudbase -- npx @cloudbase/cloudbase-mcp@latest
Claude Desktopclaude_desktop_config.json
{
  "mcpServers": {
    "cloudbase": {
      "command": "npx",
      "args": [
        "@cloudbase/cloudbase-mcp@latest"
      ]
    }
  }
}
Cursor~/.cursor/mcp.json
{
  "mcpServers": {
    "cloudbase": {
      "command": "npx",
      "args": [
        "@cloudbase/cloudbase-mcp@latest"
      ]
    }
  }
}
VS Code.vscode/mcp.json
{
  "servers": {
    "cloudbase": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "@cloudbase/cloudbase-mcp@latest"
      ]
    }
  }
}
Codex~/.codex/config.toml
[mcp_servers.cloudbase]
command = "npx"
args = ["@cloudbase/cloudbase-mcp@latest"]
Gemini CLITerminal
gemini mcp add --scope user cloudbase npx -- @cloudbase/cloudbase-mcp@latest

Settings 12

Set together: credentials
CLOUDBASE_ENV_ID Optional: CloudBase environment ID to bind; used with CLOUDBASE_API_KEY. For local.
CLOUDBASE_API_KEY secret Optional: CloudBase API key; preferred over Tencent Cloud secret keys when set with CLOUDBASE_ENV_ID. For local.
TENCENTCLOUD_SECRETID secret Optional: Tencent Cloud SecretId; TENCENTCLOUD_SESSIONTOKEN adds a temporary token. Without any key, sign-in happens in the browser. For local.
TENCENTCLOUD_SECRETKEY secret Optional: Tencent Cloud SecretKey paired with TENCENTCLOUD_SECRETID. For local.
Set together: site
TCB_SITE Optional: domestic or intl; the two sites use separate accounts. Default domestic. For local.
TCB_REGION Optional: Region of the environment; ap-singapore alone selects the international site. Default ap-shanghai. For local.
Set together: tools
CLOUDBASE_MCP_PLUGINS_ENABLED Optional: Comma-separated plugin list replacing the defaults, e.g. add msg-push. CLOUDBASE_MCP_PLUGINS_DISABLED leaves plugins out. For local.
CLOUDBASE_MCP_UI Optional: on (or 1/true/yes/enabled) registers the experimental ui:// panels. Default off. For local.
Set together: safety
CLOUDBASE_MCP_SKIP_ELICITATIONS Optional: Comma-separated tool or action names that skip the delete confirmation. For local.
CLOUDBASE_MCP_ELICIT_AUTO_APPROVE Optional: allow or block: whether a delete proceeds when the client cannot or does not really ask the user. Default allow. For local.
CLOUDBASE_MCP_SKIP_CREDENTIAL_GUARD Optional: Comma-separated tool or action names that skip the check on arguments holding a JWT or CloudBase key. For local.
Set together: privacy
CLOUDBASE_MCP_TELEMETRY_DISABLED Optional: Set to true to stop usage reports to Tencent. Default false. For local.

What it does

CloudBase MCP is Tencent CloudBase's own server for working with a CloudBase environment from a coding assistant. It covers sign-in and environment setup, document (NoSQL) and PostgreSQL databases, data models, cloud functions, static hosting, object storage, Cloud Run services, app deployment, the HTTP gateway, app login settings, permissions, logs, CloudBase AI agents, and a pass-through to an allowlist of 58 Tencent Cloud APIs. It runs locally through npx or as a hosted endpoint on Tencent's side.

In 2.36.1 MySQL provisioning is gone: the MySQL tools only work on an instance that already exists, report MYSQL_NOT_CREATED otherwise, and point new environments to PostgreSQL. Deletes and other destructive steps (functions, collections, documents, storage files, Cloud Run services, a MySQL instance, some cloud API calls and dropping PostgreSQL SQL) now pause for a yes/no form in clients that support MCP form elicitation; declining or 45 seconds without an answer cancels the call. Clients without form support, or ones that answer within half a second, are let through unless CLOUDBASE_MCP_ELICIT_AUTO_APPROVE=block. Arguments that contain a JWT or CloudBase key trigger a similar check showing only lengths and a fingerprint.

A new, experimental CLOUDBASE_MCP_UI=on setting adds three ui:// panels (sign-in status, usage and plan, deploy result cards) for clients that render MCP Apps; it is off by default.

What it needs

To run it yourselfNode.js 18.15.0+
Runs onmacOS, Windows, Linux

Node.js 18.15.0 or newer for the local server, and a Tencent Cloud account with a CloudBase environment. China (domestic) and international sites use separate accounts. The hosted endpoint needs no Node: an OAuth client opens the browser to sign in and pick the environment. The international site has its own endpoint, https://tcb-api.tencentcloud.com/mcp/v1. A client without OAuth, or a CI job, can add ?env_id=<ENV_ID> to the URL and send X-TencentCloud-SecretId and X-TencentCloud-SecretKey headers with a key pair from the same site.

Limits

  • Region The international site has only ap-singapore and no document (NoSQL) database tools, locally or hosted
  • Not covered MySQL tools work only on an existing instance; new MySQL instances can no longer be created
  • Not covered The hosted endpoint cannot upload local files or download templates
  • Not covered callCloudApi reaches only an allowlist of 58 Tencent Cloud services
  • Limit Message push tools are off by default and need the msg-push plugin enabled
  • Early release The ui:// panels behind CLOUDBASE_MCP_UI are experimental
  • Cost Actions on a CloudBase environment can incur Tencent Cloud charges

The hosted endpoint picks the site by its host name and takes no site setting, so a China-site environment in ap-singapore still uses tcb-api.cloud.tencent.com. Run locally, that same environment is treated as international unless TCB_SITE=domestic is set. A static key pair in the hosted URL form stays valid until it is rotated or deleted, while an OAuth session ends at logout.

Who it suits

Developers building web apps, Mini Programs or backends on Tencent CloudBase who want their coding assistant to set up and deploy the cloud side.

Tools 44

20 only read, 8 change things, 16 can delete or overwrite. A ? marks an optional parameter.

auth changes
Check sign-in, log in by browser or API key, bind an environment or log outaction?: enumauthMode?: enumoauthEndpoint?: stringclientId?: stringoauthCustom?: booleansite?: enumenvId?: stringregion?: stringlang?: enumapiKey?: stringapiKeyEnvId?: stringconfirm?: stringreveal?: boolean
queryEnv
List environments and show details, domains, usage and metricsaction: enumalias?: stringaliasExact?: booleanenvId?: stringregion?: enumlimit?: integeroffset?: integerfields?: arraytype?: arraystartDate?: stringendDate?: stringneedUsageDetails?: booleanmetricName?: enumstartTime?: stringendTime?: stringperiod?: enumresourceID?: stringsubresourceID?: string
envDomainManagement deletes
Add or remove an environment's safe domainsaction: enumdomains: array
manageEnv changes
List plans, create, upgrade or renew environments, edit safe domainsaction: enumdomains?: arrayalias?: stringpackageId?: stringresources?: arrayduration?: integerexternalStorage?: objectregion?: enumenvId?: stringconfirm?: string
readNoSqlDatabaseStructure
List document collections and indexesaction: enumlimit?: numberoffset?: numbercollectionName?: stringindexName?: string
writeNoSqlDatabaseStructure deletes
Create, update or delete a document collectionaction: enumcollectionName: stringupdateOptions?: object
readNoSqlDatabaseContent
Query documents in a collectioncollectionName: stringinstanceId?: stringquery?: anyprojection?: anysort?: anylimit?: numberoffset?: number
writeNoSqlDatabaseContent deletes
Insert, update or delete documentsaction: enumcollectionName: stringinstanceId?: stringdocuments?: arrayquery?: anyupdate?: anyisMulti?: booleanupsert?: boolean
manageDataModel
Read data model definitions and generated docsaction: enumname?: stringnames?: array
modifyDataModel changes
Create a data model from a Mermaid class diagrammermaidDiagram: stringaction?: enumpublish?: booleandbInstanceType?: enum
queryPgDatabase
Read PostgreSQL schema and objects and run read-only SQLaction: enumsql?: stringobjectName?: stringschema?: stringlimit?: integer
managePgDatabase deletes
Run changing SQL and plan, apply or repair PostgreSQL migrationsaction: enumsql?: stringconfirm?: booleanenvId?: stringinstanceId?: stringdefaultSchema?: stringrole?: stringobjectName?: stringmigrationName?: stringmigrationVersion?: stringrollbackSql?: stringlimit?: integeroffset?: integerlockTimeoutMs?: integerstatementTimeoutMs?: integertaskPollTimeoutMs?: integerwaitForTask?: booleantaskId?: stringrepairStatus?: enumrepairReason?: string
queryPgStorage changes
List PostgreSQL-backed storage buckets, sign URLs, create bucketsaction: enumbucket?: stringobjectKey?: stringobjectKeys?: arrayobjects?: arrayexpiresIn?: integer
queryMysqlDatabase
Run read queries and check an existing MySQL instance, its slow queries and errorsaction: enumsql?: stringrequest?: objectdbInstance?: objectstartTime?: stringendTime?: stringlimit?: numberoffset?: numberusername?: stringhost?: stringdatabase?: stringorderBy?: enumorderByType?: enumsqlText?: stringlogLevels?: arraykeyWords?: array
manageMysqlDatabase deletes
Run changing SQL, set up a schema or destroy an existing MySQL instanceaction: enumconfirm?: booleansql?: stringrequest?: objectstatements?: arrayrequireReady?: booleanstatusContext?: objectdbInstance?: object
queryFunctions
List cloud functions, their logs, layers, triggers and settingsaction: enumfunctionName?: stringlimit?: numberoffset?: numbercodeSecret?: stringrevealEnvValues?: booleanstartTime?: stringendTime?: stringrequestId?: stringqualifier?: stringcontext?: stringruntime?: stringsearchKey?: stringlayerName?: stringlayerVersion?: numbertaskId?: stringorder?: stringorderBy?: stringaliasName?: string
manageFunctions deletes
Create, update, invoke or delete cloud functions, triggers and layersaction: enumfunc?: objectfunctionRootPath?: stringforce?: booleanfunctionName?: stringzipFile?: stringcode?: objecthandler?: stringtimeout?: numberenvVariables?: objectvpc?: anyparams?: objecttriggers?: arraytriggerName?: stringlayerName?: stringlayerVersion?: numbercontentPath?: stringbase64Content?: stringruntimes?: arraydescription?: string
queryHosting
Show static hosting settings, files and domainsaction: enumprefix?: stringmarker?: stringmaxKeys?: integerdomains?: array
manageHosting deletes
Upload, download or delete hosting files and bind domainsaction: enumlocalPath?: stringcloudPath?: stringfiles?: arrayignore?: anyisDir?: booleanconfirm?: booleanindexDocument?: stringerrorDocument?: stringroutingRules?: arraydomain?: stringcertId?: stringdomainId?: numberdomainConfig?: object
queryStorage
List, inspect, link or read object storage filesaction: enumcloudPath: stringmaxAge?: number
manageStorage deletes
Upload, download or delete object storage filesaction: enumcloudPath: stringlocalPath?: stringforce?: booleanisDirectory?: boolean
downloadTemplate changes
Download a project template or IDE rules into the local projecttemplate: enumide: enumoverwrite?: boolean
searchKnowledgeBase
Search CloudBase docs, skill guides and API referencesmode: enumskillName?: enumapiName?: enumaction?: enummoduleName?: stringinput?: stringdocPath?: stringquery?: string
queryCloudRun
List Cloud Run services, templates, deploy and process logsaction: enumpageSize?: numberpageNum?: numberserverName?: stringserverType?: enumenvId?: stringdetailServerName?: stringbuildId?: numberrunId?: stringrevealEnvParams?: boolean
manageCloudRun deletes
Create, deploy, run, reconfigure, shift traffic on or delete Cloud Run servicesaction: enumserverName?: stringtrafficOp?: enumstablePercent?: numbercanaryPercent?: numberenvId?: stringpackageType?: enumvpcId?: stringsubnetIds?: arraytargetPath?: stringimageUrl?: stringenvParamsReplaceAll?: booleanserverConfig?: objecttemplate?: stringrunOptions?: objectagentConfig?: objectforce?: booleanserverType?: enumwaitRegistration?: boolean
deployBuild changes
Build a local project for deploymentcwd?: stringmode?: string
deployPlan
Work out what a deployment would changecwd?: stringmode?: stringenvId?: stringonly?: arrayskip?: arrayyes?: boolean
deployApply deletes
Carry out a planned deployment, including removals when confirmedconfirm?: booleanconfirmDestructive?: booleancwd?: stringmode?: stringenvId?: stringonly?: arrayskip?: arrayyes?: booleanconcurrency?: integercontinueOnError?: boolean
queryGateway
List gateway routes, custom domains and cache purge tasksaction: enumtargetName?: stringrouteId?: stringpath?: stringdomain?: stringcacheType?: enumtaskId?: stringpurgeType?: enumstartTime?: stringendTime?: stringoffset?: integerlimit?: integer
manageGateway deletes
Create, change or delete gateway routes and domains, purge cacheaction: enumtargetName?: stringpath?: stringupstreamResourceType?: enumauth?: booleanenablePathTransmission?: booleanenableSafeDomain?: booleanpathRewrite?: objectqpsPolicy?: objectextension?: objectdomainExtension?: anyprotocol?: enumroute?: objectdomain?: stringcertificateId?: stringaccessType?: enumcustomCname?: stringenable?: booleancacheType?: enumpurgeType?: enum
queryAppAuth
Show app login settings, providers and API keysaction: enumproviderId?: stringclientId?: stringkeyType?: enumpageNumber?: integerpageSize?: integer
manageAppAuth deletes
Change app login methods and create or delete API keysaction: enumpatch?: objectproviderId?: stringproviderType?: enumdisplayName?: anyclientId?: stringconfig?: objectkeyType?: enumkeyName?: stringexpireIn?: integerkeyId?: string
queryApps
List deployed apps, versions and build logsaction: enumserviceName?: stringsearchKey?: stringpageNo?: numberpageSize?: numberversionName?: stringbuildId?: anystart?: number
manageApps deletes
Deploy an app or delete an app or app versionaction: enumserviceName: stringfilePath?: stringcosTimestamp?: anyappPath?: stringbuildPath?: stringframework?: enumnodeJsVersion?: stringinstallCmd?: stringbuildCmd?: stringdeployCmd?: stringignore?: arrayversionName?: string
queryPermissions
Show resource access rules, roles, users and policiesaction: enumresourceType?: enumresourceId?: stringresourceIds?: arrayroleId?: stringroleIdentity?: stringroleName?: stringuid?: stringusername?: stringpageNo?: numberpageSize?: numberextension?: booleanpolicyResourceType?: enum
managePermissions deletes
Change access rules and create or delete roles and usersaction: enumresourceType?: enumresourceId?: stringpermission?: enumsecurityRule?: stringroleId?: stringroleIds?: arrayroleName?: stringroleIdentity?: stringdescription?: stringmemberUids?: arraypolicies?: arraypolicyIds?: arrayuid?: stringuids?: arrayusername?: stringpassword?: stringuserStatus?: enumregoContent?: stringconfirm?: boolean
queryLogs
Search function and Cloud Run logsaction: enumqueryString?: stringservice?: enumstartTime?: stringendTime?: stringlimit?: numbercontext?: stringsort?: enum
manageLogs changes
Turn on the log service for the environmentaction: enumconfirm?: boolean
queryAgents
List CloudBase AI agents and their logsaction: enumagentId?: stringpageNumber?: numberpageSize?: numberparams?: object
manageAgents deletes
Create, update or delete AI agentsaction: enumagentId?: stringname?: stringdescription?: stringruntime?: stringtimeout?: numbermemorySize?: numberinstallDependency?: booleanzipFile?: stringcosBucketRegion?: stringtempCosObjectName?: stringsessionConfig?: objectcwd?: stringparams?: object
callCloudApi deletes
Call an action on an allowlisted Tencent Cloud serviceservice: enumaction: stringversion?: stringparams?: objectregion?: string
prepareFeedback
Prepare a bug report or retrospective for the makerschannel: enum
queryMessagePush
Show Mini Program message push subscriptions and supported eventsappid: stringaction: enumenv?: string
manageMessagePush changes
Subscribe, unsubscribe or switch Mini Program message push handlingappid: stringenv_id: stringfunction_name: stringaction: enummsg_type?: enumevent_types?: arrayenable?: booleanqbase_container_path?: stringqbase_env?: stringtext_mode?: enumconfirm?: string

Resources 3

ui://cloudbase/get-started
Read-only sign-in and environment status panel for auth; registered only when CLOUDBASE_MCP_UI=on
ui://cloudbase/env-credits
Read-only panel of environment resource usage and plan; registered only when CLOUDBASE_MCP_UI=on
ui://cloudbase/artifact-card
Read-only card of deploy status and access URLs for the deploy tools; registered only when CLOUDBASE_MCP_UI=on

Similar servers