Skip to main content

CloudBase Plugin for AI Coding Agents

One-click integration of CloudBase capabilities into your AI coding assistant.


CloudBase Plugin for AI Coding Agents is a one-click installation package that gives your AI coding assistant full access to the CloudBase platform. It bundles CloudBase MCP Server and Agent Skills together — after installation, the AI can directly query databases, manage cloud functions, deploy static hosting, and operate cloud storage without manual configuration.

Why Use a Plugin?

A plugin for AI coding assistants is a packaged collection of AI extensions. A single plugin can bundle:

  • MCP Services — External tool integrations that let AI interact with the CloudBase platform
  • Skills — On-demand professional knowledge and context for more accurate AI work
  • Hooks — Event handlers that auto-run at specific points in the AI lifecycle
  • Agents — Specialized sub-agents with specific roles and tool configurations
  • Slash Commands — Custom commands invocable directly within conversations

Packaging MCP Server and Agent Skills into a single plugin means one installation gives you both tool connectivity and domain expertise. You can also install them separately. Plugins can be installed globally (cross-project) or per-project (isolated).

Installation Guide

Codex supports installing plugins from the marketplace. You can use the Codex App GUI or the command line.

通过 Codex App 的图形界面添加 CloudBase 插件市场并安装插件。

1
打开插件目录

在 Codex App 中点击右上角的 + 按钮。

2
添加插件市场

在菜单中选择 添加插件市场

3
填写市场信息

在弹窗中填写以下信息:

来源:TencentCloudBase/CloudBase-MCP
Git 引用:main
稀疏路径:留空
4
点击添加市场

添加成功后,在插件列表中找到 Tencent CloudBase 市场。

5
安装 CloudBase 插件

点击 cloudbase 插件旁的安装按钮。

6
新开线程验证

安装后建议新开一个 Codex 线程,让插件、技能和 MCP 工具完整加载。

Claude Code

Claude Code also supports marketplace plugin installation. After installation, MCP connections and Skills are automatically available:

# Add the CloudBase plugin marketplace
claude plugin marketplace add TencentCloudBase/cloudbase-mcp

# Install the CloudBase plugin
claude plugin install cloudbase@tencent-cloudbase

After installation, run /reload-plugins in Claude Code to activate the plugin. Default --scope user makes it globally available; use --scope project to share within a team.

Other IDEs

For IDEs that don't directly support a marketplace, you can configure MCP connections and use Skills. Select your tool below for detailed steps:

Client

Configure your AI tool to connect with CloudBase capabilities. Supports local and hosted connection. See connection modes.

Step 1: Install / Configure CloudBase

Use project template (recommended) - Template includes MCP configuration and AI rulesView templates

Install in one click:

Add to Cursor

Or manual configuration:

Or add this configuration to .cursor/mcp.json:

json
1{
2 "mcpServers": {
3 "cloudbase": {
4 "command": "npx",
5 "args": ["@cloudbase/cloudbase-mcp@latest"],
6 "env": {
7 "INTEGRATION_IDE": "Cursor"
8 }
9 }
10 }
11}

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: 创建一个使用 CloudBase AI 模型的聊天界面,支持流式响应

What's Included

CloudBase MCP Server

CloudBase MCP Server connects your AI coding assistant directly to the CloudBase platform. After authentication, the AI can:

CapabilityDescription
Environment ManagementLogin, environment query, security domain configuration
NoSQL DatabaseRead/write database content, manage collection structure
MySQL DatabaseQuery and manage relational databases
Data ModelCreate and manage data models
Cloud FunctionsQuery, create, update, and deploy functions
Static HostingFile upload, domain management, deployment
Cloud StorageFile management and operations
CloudBase RunService deployment and management
API GatewayCloud function access entry and route management
App AuthenticationAuthentication configuration management
Permission ManagementRoles, permissions, and security rules
Log ServiceLog search and status query
AI AgentAgent listing, details, and management
Knowledge BaseCloudBase knowledge base intelligent search
Cloud APIGeneral Tencent Cloud API calls

See the complete MCP Tool Documentation for detailed parameters of each tool.

Agent Skills

Skills provide AI with domain-specific knowledge about CloudBase:

SkillDescription
cloudbase-platformCloudBase platform core knowledge: environment config, authentication, resource management
web-developmentWeb project development best practices (React/Vue/native JS)
miniprogram-developmentWeChat Mini Program cloud development full workflow guide
cloud-functionsCloud function development, debugging, and deployment
cloudrun-developmentCloudBase Run backend service development
auth-*Identity authentication (Web/Mini Program/Node.js/HTTP API)
no-sql-*NoSQL database development (Web SDK/Mini Program SDK)
relational-database-*Relational database development
data-model-creationData model design and modeling guidance
ai-model-*AI model integration (Web/Node.js/WeChat)
ui-designUI/UX design rules and standards
http-apiHTTP API cloud development
spec-workflowAI-assisted specification-driven development workflow

See the complete Skill Documentation for installation and usage.