CloudBase MCP
OfficialProvides tools for managing MySQL databases within Tencent Cloud CloudBase, enabling operations such as creating, querying, and modifying databases.
CloudBase AI Toolkit
AI writes the code. CloudBase runs the backend.
The CloudBase integration layer for AI coding tools: Plugin installs the stack, Skills steer how code is written, MCP operates databases, functions, storage, and deploys from chat.
English · 简体中文 · Docs · Changelog · Issues
Recent updates
v2.33.x (2026-09)
Functions / Apps: custom container-image deploy for cloud functions with async status query; cloud upload channel (
getUploadUrl+deployAppcosTimestamp)Env binding:
cloudbaserc.jsonas field-level fallback for envId / region / site (literal +{{env.KEY}})Errors / Skills: centralized error guidance by structured
Code; virtual-pay reference; CodeBuddy IDE MCP upgrade skill; WorkBuddy experts
v2.32.x (2026-08)
Auth / Security / IDE: international-site (
TCB_SITE=intl) login routing; default env-var masking in queryFunctions/queryCloudRun; Kimi Code & Kimi Work supportMini Program:
queryMessagePush/manageMessagePushfor event and message-type subscriptions (virtual-pay defaults, idempotent merge, optional appid)Mini Program: message push aware of cloudfunction vs container mode (
ensureContainerMode/setContainerCallback, function-existence check)Gateway:
manageGatewayverifies HTTP service before custom-domain / route create, with certificate auto-select and clearer DNS guidance
v2.31.x (2026-08)
CloudRun:
getDeployLogfailures (CODING login / image deploy with no build) now rewrite togetProcessLog/getDeployRecordsnext steps instead of raw English errors
Releases · Star · Watch → Releases
Related MCP server: tcsas-devtools-mcp-server
What it is
AI IDEs (Cursor, Claude Code, Codex, CodeBuddy, and others) are strong at generating code. What usually blocks you is the backend: schemas, permissions, functions, storage, environments, and release.
CloudBase is Tencent Cloud’s AI-native all-in-one backend (database, storage, auth, cloud functions, Cloud Run, and more). This repo is the Toolkit that connects that backend to AI tools:
Piece | Role |
Plugin | Installs MCP Server, Agent Skills, and Hooks together—less per-IDE wiring |
Agent Skills | Scenario skills (Web / Mini Program / database / auth / functions, etc.) toward workable CloudBase practice |
MCP | Login, query and change data, manage functions and hosting, read logs—from the conversation |
This repository ships the npm package @cloudbase/cloudbase-mcp, Skills, and AI plugins.
You still need your own CloudBase environment, and you should confirm sensitive actions the AI proposes. The Toolkit provides capability and path—not judgment.
Related repositories
Publishing and sync repos live under TencentCloudBase. Directly related to this Toolkit:
Repository | Contents | Typical entry |
CloudBase-AI-Toolkit (this repo) | MCP Server source; marketplace source for Claude Code / Codex |
|
DeepSeek Harness plugin ( |
| |
Open Plugin Spec publish repo (CI-synced): MCP + Skills + Hooks |
| |
Sites plugin: Vite Web create & deploy |
| |
Agent Skills collection |
| |
Per-skill install catalog (also on skills.sh) |
| |
CloudBase examples and case studies | Browse / clone examples | |
Vibecoding template on CloudBase | Use as a project starter |
Prefer Plugin for the full stack; Skills alone when you only need knowledge constraints. For marketplace IDEs use this repo—do not also run npx plugins add on the same tool.
Quick start
Fastest way to get started
Copy this AI prompt into your AI IDE. The agent reads skill.md and completes the setup:
Set up CloudBase for me:
1. Open https://docs.cloudbase.net/skill.md and complete the setup following its instructions.
2. Tell me when you're done, and suggest the most relevant next step.Your tool | Suggested path |
Claude Code / Codex (native marketplace) | Add this repo as marketplace, then install the |
Open Plugin Spec tools |
|
Prefer one CLI for many tools | CloudBase AI CLI: |
CodeBuddy / WorkBuddy / ZCode / Kimi (built-in) | Use the IDE's built-in CloudBase plugin or connector; for CodeBuddy you can also install via plugin marketplace |
Other MCP-capable IDEs | MCP config only (below) |
Plugin
npx plugins add TencentCloudBase/cloudbase-pluginDetails and IDE differences: AI plugin docs.
MCP only
{
"mcpServers": {
"cloudbase": {
"command": "npx",
"args": ["@cloudbase/cloudbase-mcp@latest"]
}
}
}Hosted HTTP, self-hosted Cloud Mode, and plugin scoping: Install & connect.
First prompts
Login to CloudBaseUse CloudBase Skills to build a todo app with login, database and permissions, then deploySkills shape structure and practice; MCP handles environment and resources. You should be able to verify data and APIs in your own environment—not only get local source files.
Supported AI IDEs
Tool | Platform | Guide |
CLI | ||
CLI | ||
Standalone IDE | ||
Standalone IDE (≥ 3.4.1 built-in) | ||
CLI (plugin marketplace) | ||
Desktop app (plugin panel) | ||
App | ||
Standalone IDE | ||
IDE / plugins | ||
Standalone IDE (built-in) | ||
VS Code plugin | ||
VS Code plugin | ||
Standalone IDE | ||
IDE / plugins | ||
VS Code plugin | ||
Plugins | ||
Plugins | ||
CLI | ||
CLI | ||
CLI | ||
CLI | ||
CLI |
Full setup: IDE guides.
Capabilities
After setup, the AI can do typical backend work in your environment (confirm critical steps):
Database: PostgreSQL and document DB, data models, CRUD, permissions and security rules
Compute: author, deploy, invoke, and debug cloud functions / Cloud Run
Auth & storage: login methods, object storage, permission linkage with data
Release & ops: static hosting / Mini Program publish; inspect logs and redeploy
Fits Web, WeChat Mini Programs, and backend services. Platform overview: CloudBase docs.
Evaluation
Under controlled conditions, the same Todo application brief and frontend scaffold were used to compare two backend paths: a traditional cloud VM (self-managed runtime, process, and network exposure) and CloudBase (managed database, anonymous auth, and related backend services). An AI agent performed end-to-end development and verification. Given the model and task setup, the CloudBase path was more favorable in completion latency, token usage, and tool-call count. These outcomes are conditioned on the model, agent framework, and task definition, and should not be generalized beyond that scope.
Methods, data, and limits: Same-task evaluation: cloud VM vs CloudBase
Install & connect
Prerequisites
Node.js v18.15.0+
An AI tool that supports Plugin / Skills / MCP
Setup options
Plugin (when the tool supports it)
npx plugins add TencentCloudBase/cloudbase-pluginCloudBase AI CLI
npm i -g @cloudbase/cli && tcb aiManual MCP (write the IDE config file)
{
"mcpServers": {
"cloudbase": {
"command": "npx",
"args": ["@cloudbase/cloudbase-mcp@latest"]
}
}
}{
"mcpServers": {
"cloudbase": {
"command": "npx",
"args": ["@cloudbase/cloudbase-mcp@latest"]
}
}
}CloudBase is built in (MCP / Skills); manual config is usually unnecessary.
You can also install via the plugin marketplace: see the CodeBuddy setup guide.
Others: IDE setup guide.
MCP connection modes
Local (default): npx on your machine—full features, including local filesystem upload/templates.
Hosted: IDE connects over HTTP to Tencent Cloud MCP; no local Node. Some local-file features are unavailable.
{
"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>"
}
}
}
}Hosted URLs can use site (domestic / intl) to pick the login site (e.g. domestic-site Singapore needs site=domestic), plus enable_plugins / disable_plugins to trim tools. Canonical names live in mcp/src/server.ts.
Hosted MCP E2E (official SDK client): npm run test:hosted-mcp:e2e — see tests/hosted-mcp-e2e/README.md for apikey/OAuth modes, TLS-insecure staging, and env vars. Missing credentials skip (exit 0).
Self-hosted Cloud Mode: set CLOUDBASE_MCP_CLOUD_MODE=true (or MCP_CLOUD_MODE=true) so local file and process tools are disabled for remote callers.
Scenario | Suggestion |
Personal | Local |
Team / zero ops | Hosted HTTP |
Self-hosted MCP | Cloud Mode required |
Example
Online Gomoku: describe the need; get Web + cloud database / realtime and deploy.
Demo: Gomoku · More: tutorials
Docs
FAQ
Those focus on shipping frontends or containers. CloudBase provides backend building blocks (database, auth, functions). The Toolkit lets AI tools use them in chat. Deploy is only part of the path.
Yes. Any tool that can configure an MCP Server or install the matching Plugin / Skills works—including Claude Code, Gemini CLI, OpenCode. Support list
Deploy targets your own CloudBase environment. In local mode MCP runs on your machine; code need not leave until you deploy. Cloud traffic uses HTTPS.
Local npx is equivalent to running tools yourself. For remote hosts, set CLOUDBASE_MCP_CLOUD_MODE=true to disable local file/process tools. Tencent Cloud hosted HTTP includes this protection.
The Toolkit (including MCP) is open source under MIT. CloudBase has free quotas; usage beyond that is billed—see billing.
Confirm an environment exists and is healthy in the console, then login again and pick the right one.
Both the domestic site (cloud.tencent.com) and the international site (tencentcloud.com) offer the ap-singapore region, so region alone is ambiguous. Without an explicit site, MCP defaults to intl for ap-singapore (backward compatible). Domestic-site Singapore users must set TCB_SITE=domestic (together with TCB_REGION=ap-singapore) in the MCP env, or add a .cloudbase/project.json at the project root:
{ "site": "domestic", "region": "ap-singapore", "envId": "your-env-id" }Credentials are stored per site (credential.domestic / credential.intl) so domestic and international logins can coexist; legacy single-slot auth.json is read as domestic and migrated on first write.
Hosted mode: add site=domestic to the hosted URL (https://tcb-api.cloud.tencent.com/mcp/v1?env_id=<env_id>&site=domestic), since the URL is the only place hosted mode can carry the site (there is no MCP env block for HTTP servers).
Community
Docs | |
Issues | |
Releases |
Activity
Contributors
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
AppDeploy turns app ideas described in AI chat into live full-stack web applications
Your AI builds, deploys, and runs full-stack apps on a hosted workspace created at first sign-in.
Deploy and manage your apps, databases, storage, and scheduled jobs from your AI agent
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceDeploy full-stack apps from AI. 75+ tools: GitHub/Docker deploy, databases, environments, security, billing.2-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage TCSAS miniprogram development tasks such as launching the IDE, previewing, and uploading miniprograms via natural language.14MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI coding assistants to manage Alibaba Cloud databases by creating instances, executing SQL, and more directly from the IDE.5Apache 2.0
- FlicenseAqualityAmaintenanceEnables AI agents to perform full-stack cloud operations across Alibaba Cloud and Tencent Cloud, including server management, project deployment, database queries, file operations, instance lookups, and DNS/CDN management through 26 tools.26-
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TencentCloudBase/CloudBase-AI-Toolkit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server