WeChat DevTools Setup Guide
After setup, you can operate CloudBase services directly from the CodeBuddy extension inside WeChat DevTools.
Examples:
- "Create a users collection" - AI creates database collections automatically
- "Deploy this function" - AI uploads and configures cloud functions
- "Deploy the frontend to CDN" - AI uploads files and configures hosting
No need to switch to the Cloud console — you can do everything in CodeBuddy with natural language.
Prerequisites
Before you start, make sure you have:
Node.js and a CloudBase environment ready
Node.js: Install Node.js v18.15.0 or later:
node --version
If you don’t have it installed, download it from the Node.js website.
CloudBase environment: See Create a CloudBase environment. New users can start for free.
Configure your AI tool to connect with CloudBase capabilities. Supports local and hosted connection. See connection modes.
Step 1: Install / Configure CloudBase
步骤 1:安装 CodeBuddy 扩展
1. 在微信开发者工具中,点 击顶部菜单栏的「扩展」 2. 在扩展市场中搜索「CodeBuddy」 3. 安装「腾讯云代码助手 CodeBuddy」扩展
步骤 2:安装 CloudBase MCP
1. 安装完成后,在工具栏找到 CodeBuddy 图标 2. 点击右上角的 CodeBuddy 设置图标 3. 在 MCP 市场中搜索并安装「CloudBase MCP」
安装完成后即可在 CodeBuddy 中使用 CloudBase AI 功能。
Step 2: Chat with AI
Enter the following in your AI chat in order:
Install CloudBase Skills: run npx skills add tencentcloudbase/cloudbase-skills -yUse CloudBase Skills: 创建一个使用 CloudBase AI 模型的小程序应用,支持流式响应FAQ
Q: MCP connection failed?
A: Ensure the CodeBuddy extension is installed correctly, restart WeChat DevTools, and confirm your network.
Q: Tool count shows 0?
A: See the FAQ.
More: FAQ