Skip to content
UsecaseBoard
← All use cases
docs.cloudbase.netsponsor

Wire CloudBase MCP into CodeBuddy Code CLI for natural-language backend ops

At a glance

Official CloudBase docs show installing the CloudBase plugin (MCP + Skills) into CodeBuddy Code—or adding the MCP server by hand—so you can create apps, databases, functions, and auth from the CLI chat without opening the console. This workflow is listed under sponsor, devtools, mcp, cloudbase, dx.

Agents / tools
CodeBuddy Code, CloudBase MCP, CloudBase AI Toolkit, CloudBase CLI

Building a tool for these workflows? See weekly rates.

What they did

Install Node.js 18.15+ and open a CloudBase environment. Prefer the plugin marketplace: codebuddy plugin marketplace add TencentCloudBase/CloudBase-AI-Toolkit, then codebuddy plugin install cloudbase@tencent-cloudbase, and start a fresh session. Or add MCP only with codebuddy mcp add --scope project cloudbase --env INTEGRATION_IDE=CodeBuddyCode -- npx @cloudbase/cloudbase-mcp@latest, or put an HTTP mcpServers.cloudbase entry in .mcp.json. Sign in via Device login when you already have a Tencent Cloud account, or use tcb login with a CloudBase API key and env ID. Then ask the CLI agent in natural language to scaffold mini programs, model Postgres, wire auth, and deploy.

Worth knowing

International-site environments need TCB_SITE=intl (or --site intl) before login, or auth hits the China-site page. Do not commit CloudBase API keys. If MCP tools show as zero, fix .mcp.json, ensure npx works, restart CodeBuddy Code, and confirm login.

Save ideas in this browser. Upvotes count across the board.

Prompt excerpt

Install CloudBase plugin into CodeBuddy Code Then: Device-login (or API key + env ID) Then: Ask the CLI agent to build CloudBase backends in natural language

Sponsored

CodeBuddy

Tencent Cloud AI coding assistant for IDE and CLI.

Try CodeBuddy ↗
Explore all →
codebuddysponsor

Ship a WeChat utility mini program with CodeBuddy + CloudBase AI ToolKit

A builder documents building and launching Jieyou Baibaoxie ("worry-relief toolkit") using VS Code CodeBuddy plugin + CloudBase AI ToolKit MCP: install plugin, load AI rules, login to CloudBase, then generate multi-tool modules and iterate for review.

CodeBuddyCloudBase AI ToolKitVS Code+1
Source ↗