CloudBase AI Toolkit + CodeBuddy
💡 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 Efficiency | ⚡ Deployment 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
- Activate Cloud Development: Please refer to the documentation Activating a Cloud Development Environment
- 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 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)
- Click the MCP button in the upper-right corner of CodeBuddy
- Search for CloudBase in the MCP Marketplace
- Click to install
Method 2: Manual Configuration
- Click the MCP button in the upper-right corner of CodeBuddy
- Click the Add button on the right
- 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"
}
}
}
}
Troubleshooting: If the number of tools displays as 0 after installation, please refer to the FAQ
2. Project Initialization
Method 1: Use project templates (Recommended)
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:
3. Confirm Requirements
After the requirements discussion, CodeBuddy will summarize and confirm the requirements document. Once confirmed, click Continue
to start generating code:
4. Automated Development
During the code writing process, CodeBuddy will automatically invoke CloudBase ToolKit to create databases:
5. One-Click Deployment
After development is completed, CodeBuddy will invoke CloudBase ToolKit to directly deploy frontend resources to CloudBase:
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
New Vote
Voting Details
Personal Center
Online Experience: https://lowcode-9g2yhkab1a980408-1308771514.tcloudbaseapp.com/vote_base/
🛠️ Troubleshooting
Frequently Asked Questions
Q: Can't standalone IDE integrate with CloudBase? A:
- Ensure that you have clicked the "Configure Integration" button in the dialog box and completed the Tencent CloudBase authorization.
- If encountering network or authorization issues, restart the IDE and retry
Q: MCP connection failed? (Plugin mode only) A:
- Check if the MCP configuration format is correct
- Restart CodeBuddy
- Confirm that the network connection is working properly
Q: Does the AI-generated code not meet expectations? A:
- Clearly specify the technology stack and framework requirements
- Use project templates to ensure specification consistency
- Provide more detailed requirement descriptions
For more questions, refer to: Complete FAQ
📚 Related Resources
- 📖 Developer Guide - Learn more about development best practices
- 🎯 Use Cases - View practical application examples
- 🔧 MCP Tools - Learn about all available tools
- ❓ FAQ - View frequently asked questions
💬 Technical Discussions
WeChat Technical Exchange Group

Scan the QR code to join the WeChat technical exchange group
🚀 Get started with CodeBuddy + CloudBase AI Toolkit immediately