Skip to main content

WorkBuddy Configuration Guide

After configuration, you can directly operate CloudBase services through WorkBuddy's AI conversations.

For example:

  • "Create a user table" — AI automatically creates a database collection
  • "Deploy this function" — AI automatically uploads and configures cloud functions
  • "Deploy frontend to CDN" — AI automatically uploads files and configures hosting

No need to switch to the cloud console — all operations can be done in WorkBuddy using natural language.

Prerequisites

Before configuring, ensure the following conditions are met:

Node.js environment and CloudBase environment ready

Node.js Environment: Make sure Node.js v18.15.0 or later is installed:

node --version

If not installed, download from the Node.js website.

CloudBase Environment: See the guide Create a CloudBase Environment. New users can try it for free.


Client

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:

prompt
Install CloudBase Skills: run npx skills add tencentcloudbase/cloudbase-skills -y
Use CloudBase Skills: 帮我通过 HTTP API 调用 CloudBase 服务

WorkBuddy has a built-in CloudBase MCP connector that can be enabled through the conversation interface:

  1. In the WorkBuddy conversation interface, click the Connect App button at the bottom left of the input box
  2. Find Tencent CloudBase in the popup, click to enter the detail page, and click Connect to enable

WorkBuddy built-in CloudBase connector

CloudBase connector details

Once enabled, you can directly use CloudBase capabilities in your conversations.

Using Quick Commands

You can also type /cloudbase in the conversation to select a CloudBase Skill, then describe what you want to build:

Type /cloudbase in conversation to select CloudBase Skill

After selecting the CloudBase Skill, enter your requirements to start development:

Enter requirements to start CloudBase development

WorkBuddy will automatically load CloudBase MCP capabilities, query your environment, and begin executing your requirements:

CloudBase Skill conversation demo

When development is complete, WorkBuddy will display a project summary including architecture, feature list, and deployment URL:

Project summary and architecture display

Click the deployment URL to access the final deployed application:

Deployed application

Manual MCP Configuration (Alternative)

If you need project-level or custom configuration, create a workbuddy.mcp.json file in the project root:

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

FAQ

Q: MCP connection failed? A: Check if the config file format is correct, restart WorkBuddy, and verify your network connection.

Q: Showing 0 tools? A: See the FAQ.

More questions: Full FAQ

相关资源