Skip to main content

CloudBase AI Toolkit + CodeBuddy

🚀 CodeBuddy + CloudBase = Full-stack application from idea to launch in minutes.

GitHub Stars Open Source License

💡 Important note: The CodeBuddy standalone IDE comes with built-in CloudBase AI Toolkit integration, eliminating the need for manual MCP configuration. Simply click the "Configure Integration" button in the CodeBuddy dialog box, select Tencent CloudBase and authorize to enable all Cloud Development capabilities with one click.

The following MCP configurations and plugin instructions only apply to non-standalone IDE scenarios such as VSCode/JetBrains/WeChat Developer Tools.

💡 Why choose CodeBuddy + CloudBase AI Toolkit? CodeBuddy is an AI programming assistant launched by Tencent, featuring powerful Craft agent capabilities with deep integration for WeChat Developer Tools. Combined with CloudBase AI Toolkit, it enables you to describe requirements in natural language, with AI automatically generating and deploying full-stack applications to the Tencent Cloud development platform. It is particularly suitable for full-stack development within the Tencent ecosystem, including Mini Programs, Web applications, and enterprise-level projects.

✨ Core Advantages

🎯 Development EfficiencyDeployment Speed🛡️ Stability and Reliability
AI automatically generates code and architecture
Built-in best practice rules for cloud development
Intelligent error fixing and optimization
One-click deployment to Tencent Cloud development
Domestic CDN accelerated access
Serverless architecture with no Ops required
Platform verified by 3.3 million developers
Enterprise-grade security and stability
Comprehensive monitoring and logging system

Prerequisites

  1. Activate Cloud Development: Please refer to the documentation Activating a Cloud Development Environment
  2. Install CodeBuddy: Select the corresponding version based on your development environment

🔧 Configuration Guide

1. Configure CloudBase ToolKit

CodeBuddy IDE Edition

CodeBuddy IDE users can directly click the "Tencent CloudBase" management button on the Settings/Integration page and authorize, with no need to manually configure MCP:

CodeBuddy IDE Integration Configuration

CodeBuddy Plugin Edition

Step 1: Install CodeBuddy

Select an installation method based on your development environment:

  • VS Code: Search for "CodeBuddy" in the extension store and install it
  • JetBrains: Search for "CodeBuddy" in the plugin marketplace and install it
  • WeChat Developer Tools: Download the plugin from the Tencent Cloud official website
Step 2: Configure CloudBase MCP

Method 1: Install via MCP Marketplace (Recommended)

  1. Click the MCP button in the upper-right corner of CodeBuddy
  2. Search for CloudBase in the MCP Marketplace
  3. Click to install

MCP Marketplace Installation

Method 2: Manual Configuration

  1. Click the MCP button in the upper-right corner of CodeBuddy
  2. Click the Add button on the right
  3. Add the following content in the MCP configuration:
{
"mcpServers": {
"cloudbase": {
"command": "npx",
"args": ["npm-global-exec@latest", "@cloudbase/cloudbase-mcp@latest"],
"env": {
"INTEGRATION_IDE": "CodeBuddyManual"
}
}
}
}

Manual Configuration MCP

Troubleshooting: If the number of tools displays as 0 after installation, please refer to the FAQ

2. Project Initialization

Select pre-configured project templates, ready to use out-of-the-box:

The template project already includes the .rules/ directory, eliminating the need for manual AI rule configuration, allowing you to start development directly.

Method 2: Integrate with existing projects

If you already have a project, tell CodeBuddy in Craft mode:

Download CloudBase AI rules in the current project

If you only want to download configuration files related to CodeBuddy to avoid cluttering your project files, you can specify:

Download CloudBase AI rules in the current project, containing only the CodeBuddy configuration

Practical Case: Online Voting System

1. Requirements Description

In Craft mode, select Plan Mode and tell CodeBuddy:

Create an online voting system that supports creating polls, participating in voting, and result statistics, using cloud database for storage, and finally deploy it.

2. Requirements Analysis

CodeBuddy will automatically analyze the requirements and generate a standardized requirements document:

Requirements Analysis Process

Requirements Document Generation

3. Confirm Requirements

After the requirements discussion, CodeBuddy will summarize and confirm the requirements document. Once confirmed, click Continue to start generating code:

Requirements Confirmation

4. Automated Development

During the code writing process, CodeBuddy will automatically invoke CloudBase ToolKit to create databases:

Database Creation

5. One-Click Deployment

After development is completed, CodeBuddy will invoke CloudBase ToolKit to directly deploy frontend resources to CloudBase:

Resource Deployment

Thus far, with a simple requirement description, we have completed a series of tasks including requirement analysis, code generation, database creation, and frontend/backend deployment using CodeBuddy and CloudBase AI Toolkit.

Demo

Voting List

Voting List Page

New Vote

New Vote Page

Voting Details

Voting Details Page

Personal Center

Personal Center Page

Online Experience: https://lowcode-9g2yhkab1a980408-1308771514.tcloudbaseapp.com/vote_base/

🛠️ Troubleshooting

Frequently Asked Questions

Q: Can't standalone IDE integrate with CloudBase? A:

  1. Ensure that you have clicked the "Configure Integration" button in the dialog box and completed the Tencent CloudBase authorization.
  2. If encountering network or authorization issues, restart the IDE and retry

Q: MCP connection failed? (Plugin mode only) A:

  1. Check if the MCP configuration format is correct
  2. Restart CodeBuddy
  3. Confirm that the network connection is working properly

Q: Does the AI-generated code not meet expectations? A:

  1. Clearly specify the technology stack and framework requirements
  2. Use project templates to ensure specification consistency
  3. Provide more detailed requirement descriptions

For more questions, refer to: Complete FAQ

💬 Technical Discussions

WeChat Technical Exchange Group

WeChat group QR code
Scan the QR code to join the WeChat technical exchange group

🚀 Get started with CodeBuddy + CloudBase AI Toolkit immediately

Get Started | View Templates | GitHub Repository