Skip to content

๐Ÿช Instantly generate, deploy, and host your full-stack Web apps, mini-programs, databases, and backend services with AI IDE, launch your ideas at lightning speed ๐Ÿ’ซ

License

Notifications You must be signed in to change notification settings

TencentCloudBase/CloudBase-AI-ToolKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

๐ŸŒŸ CloudBase AI ToolKit

๐Ÿช Instantly generate, deploy, and host your full-stack Web apps, mini-programs, databases, and backend services with AI IDEโ€”no DevOps required, launch your ideas at lightning speed ๐Ÿ’ซ

๐ŸŒ Languages: English | ไธญๆ–‡

License: MIT npm version NPM Downloads GitHub stars GitHub forks

GitHub issues GitHub pull requests GitHub last commit GitHub contributors CNB Mirror Ask DeepWiki

When coding in Cursor/VSCode GitHub Copilot/WinSurf/CodeBuddy/Augment Code/Claude Code/OpenAI Codex CLI and other AI programming tools, it automatically helps you generate deployable full-stack apps + mini-programs, and publish them to Tencent CloudBase with one click.

๐Ÿ“น Full Video Demo โฌ‡๏ธ

Video Demo
๐Ÿš€ Core Capabilities ๐Ÿ› ๏ธ Supported Platforms
๐Ÿค– AI-Powered Development: AI auto-generates code and architecture
โ˜๏ธ Cloud Integration: One-click access to database, cloud functions, static hosting
โšก Rapid Deployment: Full-stack apps online in minutes
Web Apps: Modern frontend + static hosting
WeChat Mini-Programs: Cloud-native mini-program solutions
Backend Services: Cloud database + serverless functions + cloud hosting

๐Ÿ“š Quick Start | ๐Ÿ› ๏ธ IDE Setup | ๐ŸŽจ Project Templates | ๐Ÿ“– Development Guide | ๐ŸŽฎ Use Cases | ๐ŸŽ“ Tutorials | ๐Ÿ”Œ Plugin System | ๐Ÿ”ง MCP Tools | โ“ FAQ

โœจ Key Features

  • ๐Ÿค– AI-Native - Rule library designed for AI programming tools, generates code following CloudBase best practices

  • ๐Ÿš€ One-Click Deploy - MCP automated deployment to Tencent CloudBase platform, Serverless architecture without server management

  • ๐Ÿ“ฑ Full-Stack Apps - Web + Mini-programs + Database + Backend integration, supports multiple app types and backend hosting

  • ๐Ÿ”ง Smart Debugging - AI automatically reviews logs and fixes issues, reducing operational costs

  • โšก Lightning Fast - Domestic CDN acceleration, faster access than overseas platforms

  • ๐Ÿ“š Knowledge Retrieval - Built-in intelligent vector search for CloudBase and WeChat Mini-Program professional knowledge bases

  • ๐ŸŽฏ Flexible Workflow - Support for /spec and /no_spec commands, intelligently choose development mode based on task complexity

Tip

๐Ÿšฉ Built-in Spec Workflow: Make AI programming more engineering-oriented

  • Built-in Kiro-style Spec workflow, supports Cursor, Claude Code, and other mainstream AI IDEs
  • Clear requirements, design, and tasks, auto-generates requirements.md, design.md, tasks.md
  • Move beyond "slot machine" vibe coding, development process is controllable and traceable
  • Let AI assist in sorting out requirements, design solutions, and task breakdowns, while humans focus on decision-making and review
  • Spec workflow is built into CloudBase AI rules, download the latest template or let AI download CloudBase AI rules in the current project to get it

๐Ÿšฉ Get Started with CloudBase AI ToolKit

  1. Enable CloudBase Tools (MCP Config)
    Add the following config to your AI IDE (e.g., Cursor) to enable all CloudBase AI ToolKit capabilities:
{
  "mcpServers": {
    "cloudbase": {
      "command": "npx",
      "args": ["npm-global-exec@latest", "@cloudbase/cloudbase-mcp@latest"]
    }
  }
}
  1. One-Click Project Template Generation
    In the AI chat box, enter:
Download mini-program cloud development template

If you only want to download specific IDE config files to avoid project file confusion, you can specify the IDE type:

Download mini-program cloud development template, only include Cursor config
Download React cloud development template, only include WindSurf config
Download universal cloud development template, only include Claude Code config

Supported IDE types: cursor, windsurf, codebuddy, claude-code, cline, gemini-cli, opencode, qwen-code, baidu-comate, openai-codex-cli, augment-code, github-copilot, roocode, tongyi-lingma, trae, vscode

  1. Available Template Types
  • Mini-program cloud development template
  • React cloud development template
  • Vue cloud development template
  • UniApp cloud development template
  • Universal cloud development template

๐Ÿ‘‰ View all official templates and docs

  1. Detailed Tutorial
    ๐Ÿ‘‰ View full configuration and usage tutorial

๐Ÿš€ Quick Start

0. Prerequisites

Install an AI development tool

For example, Cursor | WindSurf | CodeBuddy, etc. See the Supported AI IDE List.

Enable CloudBase Environment

Visit the Tencent CloudBase Console to enable your environment. New users can try it for free.

Install Node.js v18.15.0 or above

Make sure your computer has Node.js v18.15.0 or above. Download the latest version from the Node.js official site.

Optional: Set npm registry

To speed up dependency downloads, set npm registry to Tencent mirror. Run in your terminal:

npm config set registry https://mirrors.cloud.tencent.com/npm/

This will speed up downloads, especially in mainland China.

Optional: Clear npx cache Due to a bug in npx, you may need to clear its cache if you encounter installation issues. Run:
npx clear-npx-cache

1. Initialize or Enhance Your Project

We provide project templates with best CloudBase practices and AI IDE rules. Two recommended ways:

๐Ÿš€ For New Projects

Choose a template and initialize in one click:

๐Ÿ› ๏ธ Enhance Existing Projects

If you already have a project, after configuring MCP, just tell the AI "Download CloudBase AI rules in the current project" to automatically download and complete the AI editor rule configuration in your project directory.

If you only want to download specific IDE config files to avoid project file confusion, you can specify the IDE type:

Download CloudBase AI rules in the current project, only include Cursor config
Download CloudBase AI rules in the current project, only include WindSurf config
Download CloudBase AI rules in the current project, only include Claude Code config

2. Configure Your AI IDE

Tip

If you use a template project, all configs are preset. If not, follow the instructions below to add the required config manually.

All the following tools support CloudBase AI ToolKit. Choose your tool and follow the guide:

Tool Platform Guide
Cursor Standalone IDE Guide
WindSurf Standalone IDE, VSCode, JetBrains Guide
CodeBuddy Standalone IDE (CloudBase built-in), VS Code, JetBrains, WeChat DevTools Guide
CLINE VS Code Guide
GitHub Copilot VS Code Guide
Trae Standalone IDE Guide
Tongyi Lingma Standalone IDE, VS Code, JetBrains Guide
RooCode VS Code Guide
Baidu Comate VS Code, JetBrains Guide
Augment Code VS Code, JetBrains Guide
Claude Code CLI Guide
Gemini CLI CLI Guide
OpenAI Codex CLI CLI Guide
OpenCode CLI Guide
Qwen Code CLI Guide

3. Start Developing

Before you start, just tell the AI:

Login to CloudBase

The AI will automatically pop up the Tencent Cloud login and environment selection.

To switch environments later, say:

Logout CloudBase

The AI will clear the local config. You can ask the AI to login again anytime.

After login, you can confirm the AI is connected:

Query current CloudBase environment info

Describe your requirements to the AI and start developing:

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

The AI will automatically:

  • ๐Ÿ“ Generate frontend and backend code
  • ๐Ÿš€ Deploy to CloudBase
  • ๐Ÿ”— Return the online access link

If you encounter errors during development, send the error message to the AI for troubleshooting:

There was an error: xxxx

You can also ask the AI to debug and modify code using cloud function logs:

The cloud function code does not meet the requirements, the requirement is xxx, please check the logs and data for debugging and fix it

๐Ÿ”Œ Plugin System

CloudBase MCP uses a plugin architecture. See detailed docs

Quick Config

{
  "env": {
    "CLOUDBASE_MCP_PLUGINS_ENABLED": "env,database,functions,hosting"
  }
}

๐Ÿ“š Tutorials

๐Ÿ“„ Articles

๐ŸŒ Full-Stack Web Apps

๐Ÿ“ฑ Full-Stack Mini-Programs

๐Ÿ“ฑ App Projects

๐ŸŽฅ Video Tutorials


๐ŸŽฏ 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

๐Ÿ“ธ See development screenshots
Development Final Result
Dev Screenshot 1 Gomoku Game Result
Dev Screenshot 2 Supports two-player online battle
Real-time board sync

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
๐Ÿ“ธ See dev screenshots and mini-program preview
๐Ÿ–ฅ๏ธ Dev Screenshots
AI Pet Mini-Program Dev Screenshot
Mini-Program Dev Process
๐Ÿ“ฑ Mini-Program Preview
Mini-Program UI 1 Mini-Program UI 2

๐Ÿ“ฒ Experience QR Code
Mini-Program QR Code

Case 3: Smart Issue Diagnosis

When an app has issues:

  1. AI automatically checks cloud function logs
  2. Analyzes error causes and generates fix code
  3. Auto redeploys
๐Ÿ“ธ See smart diagnosis process
Smart Diagnosis Process
AI auto-analyzes logs and generates fixes

๐ŸŒŸ Why Choose CloudBase?

  • โšก Lightning Fast Deployment: Domestic nodes, faster than overseas
  • ๐Ÿ›ก๏ธ Stable & Reliable: Trusted by 3.3 million developers
  • ๐Ÿ”ง Developer Friendly: Full-stack platform for the AI era, supports auto environment config
  • ๐Ÿ’ฐ Cost-Effective: Serverless architecture, free for new users during development

๐Ÿ“‹ FAQ

For migration, integration, and other common questions, see the FAQ.

๐Ÿ’ฌ Community

Need help or want to share? Join our community!

๐Ÿ”ฅ WeChat Group

WeChat Group QR
Scan to join the WeChat tech group

In the group you can:

  • ๐Ÿ’ก Share your AI + CloudBase projects
  • ๐Ÿค Tech exchange and Q&A
  • ๐Ÿ“ข Get the latest updates and best practices
  • ๐ŸŽฏ Join product discussions and suggestions

๐Ÿ“ฑ Other Channels

Platform Link Description
Docs ๐Ÿ“– Docs Full CloudBase docs
Issue Feedback ๐Ÿ› Submit Issue Bug reports & feature requests

๐ŸŽ‰ Community Events

  • Weekly Tech Sharing: Best practices for AI + CloudBase
  • Project Showcases: Show off your AI-powered projects
  • Q&A: Tencent CloudBase team answers questions
  • Feature Previews: Try new features first

๐Ÿ› ๏ธ CloudBase MCP Tools Overview

There are 39 tools covering environment management, database, cloud functions, hosting, mini-program publishing, and more.

๐Ÿ“‹ Full tool docs: See MCP tool details | Tool spec JSON

๐Ÿ”ง Tool Categories

Category Count Main Features
๐ŸŒ Env Mgmt 4 Login, env info, domain mgmt
๐Ÿ—„๏ธ Database 11 Collection mgmt, CRUD, indexes, data models
โšก Cloud Functions 9 Create, update, invoke, logs, triggers
๐ŸŒ Hosting 5 File upload, domain config, site deploy
๐Ÿ“ File Ops 2 Remote download, cloud storage upload
๐Ÿ“ฑ Mini-Program 7 Upload, preview, build, config, debug, QA
๐Ÿ› ๏ธ Tool Support 4 Templates, knowledge search, web search, dialogs
๐Ÿ”Œ HTTP Access 1 HTTP function access

๐ŸŒŸ Tool Highlights

Type Name Highlights
๐Ÿ” Auth login / logout One-click CloudBase login, auto env selection
๐Ÿ“Š Env Query envQuery ๐Ÿ”„ Merged Tool - env list, info, domain in one
๐Ÿ—„๏ธ Database collectionQuery ๐Ÿ”„ Merged Tool - existence, detail, list mgmt
โšก Cloud Functions createFunction Full config, auto deps install, trigger setup
๐ŸŒ Hosting uploadFiles Batch upload, smart ignore, CDN acceleration
๐Ÿง  AI Enhanced searchKnowledgeBase Vector search CloudBase KB, smart Q&A

๐Ÿ’ก Tool Optimization

We optimized from 40 to 36 tools, added 3 mini-program debug tools, now 39 tools in total, with better experience via merging and full mini-program toolchain.

๐Ÿ”— Want details for each tool? See MCP tool docs

๐Ÿ—๏ธ Architecture

graph TD
    A[Developer] --> B[AI IDE]
    B -->|Use| C[CloudBase AI Rules]
    C --> D[Generate Code]
    B -->|Call| E[CloudBase MCP]
    E --> F{Deploy Check}
    F -->|Success| G[CloudBase Platform]
    F -->|Fail| H[Return Logs]
    H --> I[AI Fix]
    I --> E
    G --> J[Online App]
    J --> K[Web/Mini-Program/API]
Loading

๐Ÿ”’ Telemetry

To improve product experience, CloudBase AI ToolKit collects anonymous usage stats:

  • Collected: Tool calls, basic env info (OS, Node.js version, etc.)
  • Privacy: No code or file paths collected, only for product improvement

Set CLOUDBASE_MCP_TELEMETRY_DISABLED=true to disable telemetry.

๐Ÿค Contributing

PRs and issues welcome! See our Contributing Guide for how to get involved.

๐Ÿ“„ License

MIT ยฉ TencentCloudBase


โญ If you find this project helpful, please give us a Star!

Star History Chart

Alt

About

๐Ÿช Instantly generate, deploy, and host your full-stack Web apps, mini-programs, databases, and backend services with AI IDE, launch your ideas at lightning speed ๐Ÿ’ซ

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published