home / mcp / cloudbase mcp server
Provides an MCP pipeline that turns AI-generated ideas into deployed CloudBase apps with automated provisioning and deployment.
Configuration
View docs{
"mcpServers": {
"tencentcloudbase-cloudbase-ai-toolkit": {
"command": "npx",
"args": [
"@cloudbase/cloudbase-mcp@latest"
]
}
}
}You can use the CloudBase MCP server to turn AI-generated ideas into deployed CloudBase apps with automatic provisioning, deployment, and management. This MCP streamlines the path from thinking in your AI IDE to having a live, hosted application on Tencent Cloud CloudBase, handling deployment of cloud functions, databases, static hosting, and more.
In an MCP-compatible AI IDE, configure a single MCP server entry to enable one-line access to CloudBase MCP. You typically run the MCP client and point it at the cloudbase MCP entry to start generation, deployment, and iteration end-to-end without manual DevOps steps.
Prerequisites you need before installing the MCP server are listed here so you can get started quickly.
Install the MCP client support (recommended) using npm to install the official CloudBase CLI, which enables streamlined onboarding and MCP usage.
Configuration is provided as a ready-to-use MCP config block you can paste into your MCP client. The server configuration uses a stdio (local) MCP entry built around npx for the CloudBase MCP package.
Security considerations include using the recommended CLI flow and ensuring you have access to your CloudBase environment and any required credentials stored securely in your IDE or environment.
Troubleshooting steps include checking deployment logs, ensuring the MCP server is reachable from your IDE, and validating that your CloudBase environment is properly initialized.
Notes: You can also use the CodeBuddy integration where CloudBase MCP is built in, so no separate configuration may be required in that particular IDE.
{
"mcpServers": {
"cloudbase": {
"command": "npx",
"args": ["@cloudbase/cloudbase-mcp@latest"]
}
}
}Use the MCP to generate deployment-ready code, configure cloud resources, deploy to cloud, and obtain a live access URL. It covers web apps, mini programs, and backend services, and includes knowledge search and flexible workflow options to tailor the process to your project.
Case studies illustrate building a real-time online game, a mini program with cloud data, and an intelligent diagnostics workflow using CloudBase MCP to automate deployment and debugging.
Authenticate your session to CloudBase and access your development environment.
Query your current CloudBase environments and their status.
Manage custom domains and their DNS configurations.
Manage database collections and schemas.
Create, read, update, and delete documents within collections.
Create and manage database indexes for efficient queries.
Define data models and validation rules for collections.
Create cloud functions and set triggers.
Update function code and configuration.
Invoke cloud functions and view results.
Fetch and review function execution logs.
Configure cloud function triggers and events.
Upload static assets for hosting and CDN delivery.
Configure domains for static hosting and apps.
Deploy static sites to hosting with CDN integration.
Upload and configure WeChat mini programs for deployment.
Preview mini programs before publishing.
Build mini programs for distribution.
Configure mini program settings for release.
Debug mini programs with live feedback.
Knowledge library and vector search for CloudBase topics.
Search knowledge related to web development on CloudBase.
Search the web for supplementary information when needed.
Provide interactive AI-assisted guidance during development.