logo
27
26
Login

CloudBase MCP

🪐 Go from AI prompt to live app in one click
The bridge that connects your AI IDE (Cursor, Copilot, etc.) directly to Tencent CloudBase

Languages: 中文 | English · Documentation · Changelog · Report Issues

Found a game-changer for AI coding: one-click deploy from prompt to production

The shortest path from AI prompt to live application

Clipboard_Screenshot_1763724670

Why You Need CloudBase MCP

AI programming tools (like Cursor, Copilot) solve the code generation challenge.

However, there's still a gap between "generating code" and "application going live" (deployment, database configuration, CDN, domain setup).

CloudBase MCP (formerly CloudBase AI ToolKit) bridges this gap.

You no longer need:

  • ❌ Complex DevOps configuration and YAML files
  • ❌ Manual setup of cloud functions and databases
  • ❌ Switching back and forth between IDE and cloud console

You only need to use natural language in your AI IDE to complete the entire journey from "idea" to "live".

Table of Contents

Quick Start

One-Line Configuration, Start Using Immediately

In AI IDEs that support MCP (Cursor, WindSurf, CodeBuddy, etc.), just add one line of configuration:

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

[!TIP] Recommended: CloudBase AI CLI

One-click installation, automatic configuration, supports multiple AI programming tools:

npm install @cloudbase/cli@latest -g

After installation, run tcb ai to start using

View complete documentation | Detailed case tutorial

First Time Use

  1. Login to CloudBase

    Login to CloudBase

    AI will automatically open the login interface and guide environment selection

  2. Start Developing

    Build a two-player online Gomoku game website, support online battle, and deploy it

    AI will automatically generate code, deploy to the cloud, and return the access link

Supported AI IDEs

ToolSupported PlatformGuide
CloudBase AI CLICLIGuide
CursorStandalone IDEGuide
WindSurfStandalone IDE, VSCode, JetBrains PluginGuide
CodeBuddyStandalone IDE (CloudBase built-in), VS Code, JetBrains, WeChat DevToolsGuide
CLINEVS Code PluginGuide
GitHub CopilotVS Code PluginGuide
TraeStandalone IDEGuide
Tongyi LingmaStandalone IDE, VS Code, JetBrains PluginGuide
RooCodeVS Code PluginGuide
Baidu ComateVS Code, JetBrains PluginGuide
Augment CodeVS Code, JetBrains PluginGuide
Claude CodeCLIGuide
Gemini CLICLIGuide
OpenAI Codex CLICLIGuide
OpenCodeCLIGuide
Qwen CodeCLIGuide

How to Achieve "One-Click Deploy" for AI Programming?

1. AI-Native

We're not just "glue code". Our built-in rule library is designed specifically for AI programming, enabling AI to directly generate "deployable" CloudBase best-practice code.

Prompt: Generate a user login feature - AI automatically generates code following CloudBase standards - Auto-configure database, cloud functions, security rules - One-click deploy to cloud
f1

2. One-Click Deploy

AI-automated MCP deployment flow, AI handles all cloud resource configuration from cloud functions, databases to static websites.

Prompt: Deploy current project to CloudBase - Auto-detect project type (Web/Mini-program/Backend) - Intelligent deployment parameter configuration - Real-time deployment progress display - Auto-return access link
f2

3. Smart Debugging

Deployment error? Don't worry. AI automatically reads logs, analyzes issues, and generates fixes, truly achieving a develop-deploy-debug closed loop.

Prompt: There's an error: xxxx - AI automatically views cloud function logs - Analyze error causes - Generate fix code - Auto redeploy
f5

4. Full-Stack Ready

Whether it's Web apps, mini-programs, or backend services, AI handles it all for you. You just focus on business logic.

Application TypeTech StackDeployment Method
Web AppsReact/Vue/Next.jsStatic Hosting + CDN
WeChat Mini-ProgramsNative/UniAppMini-program Publishing
Backend ServicesNode.js/PythonCloud Functions/Cloud Run
f3

5. Knowledge Search

Built-in intelligent vector search for CloudBase, WeChat Mini-Program and other professional knowledge bases, making AI understand CloudBase better.

Prompt: How to use cloud database to achieve real-time data synchronization? - Intelligent search CloudBase knowledge base - Return relevant documentation and best practices - Provide code examples
f6

6. Flexible Workflow

Support /spec and /no_spec commands, intelligently choose based on task complexity.

/spec - Complete workflow (Requirements → Design → Tasks → Implementation) /no_spec - Fast iteration (Direct implementation)
f7

Installation & Configuration

Prerequisites

Configuration Methods

Method 1: CloudBase AI CLI (Recommended)

# Install npm install @cloudbase/cli@latest -g # Use tcb ai

Method 2: Manual MCP Configuration

Add MCP configuration according to your AI IDE:

Cursor

Add to .cursor/mcp.json:

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

Add to .windsurf/settings.json:

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

CodeBuddy has CloudBase MCP built-in, no configuration needed.

Other IDEs

View Complete configuration guide for other IDE configuration methods.

Use Cases

Case 1: Two-Player Online Gomoku

Development Process:

  1. Input requirement: "Build a two-player online Gomoku website, support online battle"
  2. AI generates: Web app + cloud database + real-time data push
  3. Auto-deploy and get access link

Demo: Gomoku Game

View development screenshots
Development ProcessFinal Result

Case 2: AI Pet Mini-Program

Development Process:

  1. Input: "Develop a pet-raising mini-program with AI-enhanced interaction"
  2. AI generates: Mini-program + cloud database + AI cloud function
  3. Import to WeChat DevTools to publish
View development screenshots and mini-program preview

Case 3: Smart Issue Diagnosis

When an app has issues, AI automatically views logs, analyzes errors, and generates fix code.

View smart diagnosis process

MCP Tools

39 tools covering environment management, database, cloud functions, static hosting, mini-program publishing, and other core features.

CategoryToolsCore Features
Environment4Login authentication, environment query, domain management
Database11Collection management, document CRUD, indexes, data models
Cloud Functions9Create, update, invoke, logs, triggers
Static Hosting5File upload, domain configuration, website deployment
Mini-Program7Upload, preview, build, configuration, debugging
Tool Support4Templates, knowledge base search, web search, interactive dialogs

View complete tool documentation | Tool specification JSON

More Resources

Documentation

Tutorials

Articles

Videos

Project Cases

Community

WeChat Group

WeChat Group QR Code
Scan to join WeChat tech exchange group

Other Communication Channels

PlatformLinkDescription
Official DocumentationView DocumentationComplete CloudBase documentation
Issue FeedbackSubmit IssueBug reports and feature requests

Star History

Star History Chart

Contributors

Thanks to all the developers who have contributed to CloudBase MCP!

Contributors


If this project is helpful to you, please give us a Star!

MIT © TencentCloudBase

About

🪐 用 AI IDE 一键生成、部署和托管你的全栈 Web 应用与小程序、数据库和后端服务,无需运维,极速上线你的创意 💫

webaiserverlessmcppromptcursortencentminiprogramcloudbase
Language
TypeScript57.5%
JavaScript22.5%
HTML19.9%
Dockerfile0.2%