CloudBase-AI-Toolkit

Backend for AI coding agents on CloudBase — database, auth, functions via Plugin, Skills & MCP.

1,074
Stars
134
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/TencentCloudBase/CloudBase-AI-Toolkit

快速入门

使用 CloudBase-AI-Toolkit 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

CloudBase AI Toolkit

CloudBase AI Toolkit

AI writes the code. CloudBase runs the backend.

The CloudBase integration layer for AI coding tools: Plugin installs the stack, Skills steer how code is written, MCP operates databases, functions, storage, and deploys from chat.

English · 简体中文 · Docs · Changelog · Issues

Recent updates

v2.31.x (2026-08)

  • CloudRun: getDeployLog failures (CODING login / image deploy with no build) now rewrite to getProcessLog / getDeployRecords next steps instead of raw English errors

v2.30.x (2026-08)

  • Env: cross-region environment query and clearer credential-scope boundary for MCP auth
  • Auth: drop redundant login_mode; keep credential_scope as the single credential boundary signal
  • Release: Kimi plugin zip uses a whitelist-only, version-free asset name
  • Kimi: plugin zip assembles sibling skills into skills/cloudbase/references/ so the archive stays self-contained and in sync with the manifest contract

v2.29.x (2026-08)

  • IDE: Kimi Code plugin (kimi.plugin.json) reuses shared CloudBase skills/MCP assets
  • Release: pack Kimi plugin zip and attach it to GitHub Release assets automatically
  • Auth UX: Kimi login via MCP auth device-code flow; routing skill loads domain knowledge on demand

Releases · Star · Watch → Releases

What it is

AI IDEs (Cursor, Claude Code, Codex, CodeBuddy, and others) are strong at generating code. What usually blocks you is the backend: schemas, permissions, functions, storage, environments, and release.

CloudBase is Tencent Cloud’s AI-native all-in-one backend (database, storage, auth, cloud functions, Cloud Run, and more). This repo is the Toolkit that connects that backend to AI tools:

PieceRole
PluginInstalls MCP Server, Agent Skills, and Hooks together—less per-IDE wiring
Agent SkillsScenario skills (Web / Mini Program / database / auth / functions, etc.) toward workable CloudBase practice
MCPLogin, query and change data, manage functions and hosting, read logs—from the conversation

This repository ships the npm package @cloudbase/cloudbase-mcp, Skills, and AI plugins.

You still need your own CloudBase environment, and you should confirm sensitive actions the AI proposes. The Toolkit provides capability and path—not judgment.

Related repositories

Publishing and sync repos live under TencentCloudBase. Directly related to this Toolkit:

RepositoryContentsTypical entry
CloudBase-AI-Toolkit (this repo)MCP Server source; marketplace source for Claude Code / Codexnpx @cloudbase/cloudbase-mcp@latest
cloudbase-pluginOpen Plugin Spec publish repo (CI-synced): MCP + Skills + Hooksnpx plugins add TencentCloudBase/cloudbase-plugin · CNB fallback: npx plugins add https://cnb.cool/tencent/cloud/cloudbase/cloudbase-plugin.git
cloudbase-sites-pluginSites plugin: Vite Web create & deploynpx plugins add TencentCloudBase/cloudbase-sites-plugin · CNB: https://cnb.cool/tencent/cloud/cloudbase/cloudbase-sites-plugin.git
cloudbase-skillsAgent Skills collectionnpx skills add TencentCloudBase/cloudbase-skills · CNB: https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills.git
skillsPer-skill install catalog (also on skills.sh)npx skills add tencentcloudbase/skills --skill <name>
awesome-cloudbase-examplesCloudBase examples and case studiesBrowse / clone examples
OpenVibeCodingVibecoding template on CloudBaseUse as a project starter

Prefer Plugin for the full stack; Skills alone when you only need knowledge constraints. For marketplace IDEs use this repo—do not also run npx plugins add on the same tool.

Quick start

Fastest way to get started

Copy this AI prompt into your AI IDE. The agent reads skill.md and completes the setup:

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.
Pick one default path for your tool (Plugin / CLI / MCP)
Your toolSuggested path
Claude Code / Codex (native marketplace)Add this repo as marketplace, then install the cloudbase plugin (plugin docs)
Open Plugin Spec toolsnpx plugins add TencentCloudBase/cloudbase-plugin
Prefer one CLI for many toolsCloudBase AI CLI: npm i -g @cloudbase/cli && tcb ai
CodeBuddy / WorkBuddy / ZCode (built-in)Use the IDE’s built-in CloudBase plugin or connector; for CodeBuddy you can also install via plugin marketplace
Other MCP-capable IDEsMCP config only (below)

Plugin

npx plugins add TencentCloudBase/cloudbase-plugin

Details and IDE differences: AI plugin docs.

MCP only

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

Hosted HTTP, self-hosted Cloud Mode, and plugin scoping: Install & connect.

First prompts

Login to CloudBase
Use CloudBase Skills to build a todo app with login, database and permissions, then deploy

Skills shape structure and practice; MCP handles environment and resources. You should be able to verify data and APIs in your own environment—not only get local source files.

Supported AI IDEs

Supported AI IDEs
ToolPlatformGuide
CloudBase AI CLICLIGuide
OpenClawCLIGuide
WorkBuddyStandalone IDEGuide
ZCodeStandalone IDE (≥ 3.4.1 built-in)Guide
Codex AppAppGuide
CursorStandalone IDEGuide
WindSurfIDE / pluginsGuide
CodeBuddyStandalone IDE (built-in)Guide
CLINEVS Code pluginGuide
GitHub CopilotVS Code pluginGuide
TraeStandalone IDEGuide
Tongyi LingmaIDE / pluginsGuide
RooCodeVS Code pluginGuide
Baidu ComatePluginsGuide
Augment CodePluginsGuide
Claude CodeCLIGuide
Gemini CLICLIGuide
Codex CLICLIGuide
OpenCodeCLIGuide
Qwen CodeCLIGuide

Full setup: IDE guides.

Capabilities

After setup, the AI can do typical backend work in your environment (confirm critical steps):

  • Database: PostgreSQL and document DB, data models, CRUD, permissions and security rules
  • Compute: author, deploy, invoke, and debug cloud functions / Cloud Run
  • Auth & storage: login methods, object storage, permission linkage with data
  • Release & ops: static hosting / Mini Program publish; inspect logs and redeploy

Fits Web, WeChat Mini Programs, and backend services. Platform overview: CloudBase docs.

Evaluation

Under controlled conditions, the same Todo application brief and frontend scaffold were used to compare two backend paths: a traditional cloud VM (self-managed runtime, process, and network exposure) and CloudBase (managed database, anonymous auth, and related backend services). An AI agent performed end-to-end development and verification. Given the model and task setup, the CloudBase path was more favorable in completion latency, token usage, and tool-call count. These outcomes are conditioned on the model, agent framework, and task definition, and should not be generalized beyond that scope.

Methods, data, and limits: Same-task evaluation: cloud VM vs CloudBase

Install & connect

Prerequisites

Setup options

  1. Plugin (when the tool supports it)
    npx plugins add TencentCloudBase/cloudbase-plugin
  2. CloudBase AI CLI
    npm i -g @cloudbase/cli && tcb ai
  3. Manual MCP (write the IDE config file)
Cursor (.cursor/mcp.json)
{
  "mcpServers": {
    "cloudbase": {
      "command": "npx",
      "args": ["@cloudbase/cloudbase-mcp@latest"]
    }
  }
}
WindSurf (.windsurf/settings.json)
{
  "mcpServers": {
    "cloudbase": {
      "command": "npx",
      "args": ["@cloudbase/cloudbase-mcp@latest"]
    }
  }
}
CodeBuddy

CloudBase is built in (MCP / Skills); manual config is usually unnecessary.

You can also install via the plugin marketplace: see the CodeBuddy setup guide.

Others: IDE setup guide.

MCP connection modes

Local (default): npx on your machine—full features, including local filesystem upload/templates.

Hosted: IDE connects over HTTP to Tencent Cloud MCP; no local Node. Some local-file features are unavailable.

{
  "mcpServers": {
    "cloudbase": {
      "type": "http",
      "url": "https://tcb-api.cloud.tencent.com/mcp/v1?env_id=<env_id>",
      "headers": {
        "X-TencentCloud-SecretId": "<Tencent Cloud Secret ID>",
        "X-TencentCloud-SecretKey": "<Tencent Cloud Secret Key>"
      }
    }
  }
}

Hosted URLs can use site (domestic / intl) to pick the login site (e.g. domestic-site Singapore needs site=domestic), plus enable_plugins / disable_plugins to trim tools. Canonical names live in mcp/src/server.ts.

Self-hosted Cloud Mode: set CLOUDBASE_MCP_CLOUD_MODE=true (or MCP_CLOUD_MODE=true) so local file and process tools are disabled for remote callers.

ScenarioSuggestion
PersonalLocal npx
Team / zero opsHosted HTTP
Self-hosted MCPCloud Mode required

Example

Online Gomoku: describe the need; get Web + cloud database / realtime and deploy.
Demo: Gomoku · More: tutorials

Docs

FAQ

How is this different from Vercel / Netlify?

Those focus on shipping frontends or containers. CloudBase provides backend building blocks (database, auth, functions). The Toolkit lets AI tools use them in chat. Deploy is only part of the path.

Can I use this without a GUI IDE?

Yes. Any tool that can configure an MCP Server or install the matching Plugin / Skills works—including Claude Code, Gemini CLI, OpenCode. Support list

Where does my code go?

Deploy targets your own CloudBase environment. In local mode MCP runs on your machine; code need not leave until you deploy. Cloud traffic uses HTTPS.

Is self-hosting the MCP server safe?

Local npx is equivalent to running tools yourself. For remote hosts, set CLOUDBASE_MCP_CLOUD_MODE=true to disable local file/process tools. Tencent Cloud hosted HTTP includes this protection.

Cost?

The Toolkit (including MCP) is open source under MIT. CloudBase has free quotas; usage beyond that is billed—see billing.

Login says environment does not exist?

Confirm an environment exists and is healthy in the console, then login again and pick the right one.

Domestic site env at `ap-singapore` is treated as international?

Both the domestic site (cloud.tencent.com) and the international site (tencentcloud.com) offer the ap-singapore region, so region alone is ambiguous. Without an explicit site, MCP defaults to intl for ap-singapore (backward compatible). Domestic-site Singapore users must set TCB_SITE=domestic (together with TCB_REGION=ap-singapore) in the MCP env, or add a .cloudbase/project.json at the project root:

{ "site": "domestic", "region": "ap-singapore", "envId": "your-env-id" }

Credentials are stored per site (credential.domestic / credential.intl) so domestic and international logins can coexist; legacy single-slot auth.json is read as domestic and migrated on first write.

Hosted mode: add site=domestic to the hosted URL (https://tcb-api.cloud.tencent.com/mcp/v1?env_id=<env_id>&site=domestic), since the URL is the only place hosted mode can carry the site (there is no MCP env block for HTTP servers).

Community

Activity

Repo Activity

Contributors

Contributors


MIT · TencentCloudBase

常见问题

What is CloudBase-AI-Toolkit?

CloudBase-AI-Toolkit is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by TencentCloudBase. Backend for AI coding agents on CloudBase — database, auth, functions via Plugin, Skills & MCP. It has 1,074 GitHub stars.

Is CloudBase-AI-Toolkit safe to use?

CloudBase-AI-Toolkit failed SkillsLLM's automated security scan, which flagged one or more high-severity issues. Review the Security Report section carefully before using it.

How do I install CloudBase-AI-Toolkit?

Clone the repository with "git clone https://github.com/TencentCloudBase/CloudBase-AI-Toolkit" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is CloudBase-AI-Toolkit written in?

CloudBase-AI-Toolkit is primarily written in TypeScript. It is open-source under TencentCloudBase on GitHub, so you can review or fork the full source.

Are there alternatives to CloudBase-AI-Toolkit?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh CloudBase-AI-Toolkit against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情