TencentCloudBase/CloudBase-AI-Toolkit
Backend for AI coding agents on CloudBase — database, auth, functions via Plugin, Skills & MCP.
CloudBase AI Toolkit – Quick Overview
What it is : An open‑source integration layer that lets AI‑powered coding assistants (e.g., Claude Code, Cursor, GitHub Copilot) talk directly to Tencent Cloud Base – a managed backend‑as‑a‑service offering databases, storage, authentication, cloud functions, and static‑site hosting. The toolkit bundles three parts:
| Component | Role | How you use it |
|---|---|---|
| Plugin | Installs the MCP server, registers Agent Skills and hooks the IDE so the AI can call backend actions without custom wiring. | npx plugins add TencentCloudBase/cloudbase-plugin (or via each IDE’s marketplace). |
| Agent Skills | Pre‑written “skill” definitions that describe common CloudBase tasks – create a PostgreSQL table, set up auth, deploy a function, etc. – which the AI can invoke as structured tool calls. | npx skills add TencentCloudBase/cloudbase-skills --skill <name> |
| MCP (Mobile Cloud Platform) server | A thin JSON‑RPC‑style service that the AI agent talks to: login, query/change data, manage functions, read logs, trigger deployments. | Run locally with npx @cloudbase/cloudbase-mcp@latest or connect remotely via HTTP/OAuth. |
Who it’s for
- Developers who want an AI assistant to write the backend code for web apps, WeChat Mini‑Programs, or other services, while keeping the actual resources on Tencent Cloud.
- Teams that already use CloudBase and want to speed up prototyping, CI/CD, or onboarding by letting the AI handle repetitive cloud‑resource tasks.
Core capabilities (exposed to the AI)
- Database – create/modify PostgreSQL or document‑DB schemas, run CRUD operations, set permissions.
- Compute – author, deploy, invoke, and debug Cloud Functions or Cloud Run services.
- Auth & Storage – configure login methods, manage object storage buckets, link storage permissions to data rules.
- Release & Ops – static‑site hosting, Mini‑Program publishing, log inspection, redeployment.
Getting started (the fastest path)
- Copy the prompt below into your AI‑enabled IDE:
Set up CloudBase for me: 1. Open https://docs.cloudbase.net/skill.md and complete the setup following its instructions. 2. Tell me when you're done, and suggest the most relevant next step. - Choose a setup method that matches your tool (Plugin, CLI, or raw MCP config). Example for a generic IDE:
{ "mcpServers": { "cloudbase": { "command": "npx", "args": ["@cloudbase/cloudbase-mcp@latest"] } } } - Run a simple first prompt, e.g.
Login to CloudBaseorUse CloudBase Skills to build a todo app with login, database and permissions, then deploy.
Supported AI IDEs (as of Oct 2026)
The toolkit ships ready‑made connectors for dozens of AI‑coding environments – Cursor, Claude Code, Codex, CodeBuddy, WorkBuddy, Doubao, MiniMax Code, DeepSeek Harness, ZCode, Kimi, GitHub Copilot, and many more. Each IDE has a short guide linked in the README.
Installation options
| Mode | When to use | Command / config |
|---|---|---|
| Plugin (IDE‑native) | If your IDE supports the Open Plugin Spec. | npx plugins add TencentCloudBase/cloudbase-plugin |
| CloudBase AI CLI | One CLI that works for many IDEs. | npm i -g @cloudbase/cli && tcb ai |
| MCP only | Minimal setup – just the JSON‑RPC server. | npx @cloudbase/cloudbase-mcp@latest (local) or remote HTTP endpoint with OAuth/static keys (see README). |
Remote MCP can be accessed via:
- China site:
https://tcb-api.cloud.tencent.com/mcp/v1 - International site:
https://tcb-api.tencentcloud.com/mcp/v1
Example project
The repo showcases an online Gomoku game that uses a CloudBase realtime database and is deployed with a single AI prompt. Demo URL: https://cloud1-5g39elugeec5ba0f-1300855855.tcloudbaseapp.com/gobang/#/
Documentation & further reading
- MCP tool definitions:
doc/mcp-tools.md - Full getting‑started guide: https://docs.cloudbase.net/ai/cloudbase-ai-toolkit/getting-started
- FAQ (including comparison with Vercel/Netlify) and performance evaluation of AI‑driven CloudBase development.
All details above are taken directly from the repository’s README; no additional features are inferred.
Related
- Project
- Project
- Project
- Project
- Project