{"id":28455628,"url":"https://github.com/tencentcloudbase/cloudbase-ai-toolkit","last_synced_at":"2025-06-27T02:32:17.530Z","repository":{"id":295040706,"uuid":"988892963","full_name":"TencentCloudBase/CloudBase-AI-ToolKit","owner":"TencentCloudBase","description":"🪐 用 AI IDE 一键生成、部署和托管你的全栈 Web 应用与小程序、数据库和后端服务，无需运维，极速上线你的创意 💫  CloudBase AI ToolKit","archived":false,"fork":false,"pushed_at":"2025-06-26T04:41:13.000Z","size":937,"stargazers_count":205,"open_issues_count":7,"forks_count":23,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-26T05:27:12.110Z","etag":null,"topics":["ai","cloudbase","cursor","mcp","miniprogram","prompt","serverless","tencent","web"],"latest_commit_sha":null,"homepage":"https://docs.cloudbase.net/ai/cloudbase-ai-toolkit/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TencentCloudBase.png","metadata":{"files":{"readme":"README-EN.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-23T08:31:26.000Z","updated_at":"2025-06-26T04:41:16.000Z","dependencies_parsed_at":"2025-06-26T05:33:00.332Z","dependency_job_id":null,"html_url":"https://github.com/TencentCloudBase/CloudBase-AI-ToolKit","commit_stats":null,"previous_names":["tencentcloudbase/cloudbase-ai-deploy-mcp","tencentcloudbase/cloudbase-ai-toolkit"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/TencentCloudBase/CloudBase-AI-ToolKit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TencentCloudBase%2FCloudBase-AI-ToolKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TencentCloudBase%2FCloudBase-AI-ToolKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TencentCloudBase%2FCloudBase-AI-ToolKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TencentCloudBase%2FCloudBase-AI-ToolKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TencentCloudBase","download_url":"https://codeload.github.com/TencentCloudBase/CloudBase-AI-ToolKit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TencentCloudBase%2FCloudBase-AI-ToolKit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262010085,"owners_count":23244382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","cloudbase","cursor","mcp","miniprogram","prompt","serverless","tencent","web"],"created_at":"2025-06-06T22:10:08.699Z","updated_at":"2025-06-27T02:32:17.518Z","avatar_url":"https://github.com/TencentCloudBase.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n\n![](https://7463-tcb-advanced-a656fc-1257967285.tcb.qcloud.la/mcp/banner-en%20(1).png)\n\n# 🌟 CloudBase AI ToolKit\n\n**Smarter, faster development with AI prompts, MCP protocol, and CloudBase.**\n\n**🌍 Languages:** [中文](README.md) | **English**\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![npm version](https://badge.fury.io/js/%40cloudbase%2Fcloudbase-mcp.svg)](https://www.npmjs.com/package/@cloudbase/cloudbase-mcp)\n[![NPM Downloads](https://img.shields.io/npm/dw/%40cloudbase%2Fcloudbase-mcp)](https://www.npmjs.com/package/@cloudbase/cloudbase-mcp)\n[![GitHub stars](https://img.shields.io/github/stars/TencentCloudBase/CloudBase-AI-ToolKit?style=social\u0026v=1)](https://github.com/TencentCloudBase/CloudBase-AI-ToolKit/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/TencentCloudBase/CloudBase-AI-ToolKit?style=social\u0026v=1)](https://github.com/TencentCloudBase/CloudBase-AI-ToolKit/network/members)\n\n[![GitHub issues](https://img.shields.io/github/issues/TencentCloudBase/CloudBase-AI-ToolKit)](https://github.com/TencentCloudBase/CloudBase-AI-ToolKit/issues)\n[![GitHub pull requests](https://img.shields.io/github/issues-pr/TencentCloudBase/CloudBase-AI-ToolKit)](https://github.com/TencentCloudBase/CloudBase-AI-ToolKit/pulls)\n[![GitHub last commit](https://img.shields.io/github/last-commit/TencentCloudBase/CloudBase-AI-ToolKit)](https://github.com/TencentCloudBase/CloudBase-AI-ToolKit/commits)\n[![GitHub contributors](https://img.shields.io/github/contributors/TencentCloudBase/CloudBase-AI-ToolKit)](https://github.com/TencentCloudBase/CloudBase-AI-ToolKit/graphs/contributors)\n[![CNB Mirror](https://img.shields.io/badge/CNB-CloudBase--AI--ToolKit-blue?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHJ4PSIyIiBmaWxsPSIjM0I4MkY2Ii8+PHBhdGggZD0iTTUgM0g3VjVINSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNNSA3SDdWOUg1IiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEuNSIvPjwvc3ZnPg==)](https://cnb.cool/tencent/cloud/cloudbase/CloudBase-AI-ToolKit)\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/TencentCloudBase/CloudBase-AI-ToolKit)\n\nWhen coding in AI programming tools like **Cursor/VSCode GitHub Copilot/WindSurf/CodeBuddy/Augment Code/Claude Code**, it automatically helps you generate deployable full-stack applications + mini-programs and publish them to Tencent CloudBase with one-click.\n\n**📹 Complete Video Demo ⬇️**\n\n\u003ca href=\"https://www.bilibili.com/video/BV1hpjvzGESg/\" target=\"_blank\"\u003e\n  \u003cimg style=\"max-width:  min(600px, 100%); height: auto;\" src=\"https://7463-tcb-advanced-a656fc-1257967285.tcb.qcloud.la/mcp/video-banner.png\" alt=\"Video Demo\" /\u003e\n\u003c/a\u003e\n\n| 🚀 **Core Capabilities** | 🛠️ **Supported Platforms** |\n|---|---|\n| 🤖 **AI-Powered Development**: AI auto-generates code and architecture\u003cbr\u003e☁️ **Cloud Integration**: One-click access to database, cloud functions, static hosting\u003cbr\u003e⚡ **Rapid Deployment**: Full-stack apps online in minutes | **Web Apps**: Modern frontend + static hosting\u003cbr\u003e**WeChat Mini-Programs**: Cloud-native mini-program solutions\u003cbr\u003e**Backend Services**: Cloud database + serverless functions + cloud hosting |\n\n\u003c/div\u003e \n\n## ✨ Key Features\n\n- **🤖 AI-Native** - Rule library designed for AI programming tools, generates code following CloudBase best practices\n- **🚀 One-Click Deploy** - MCP automated deployment to Tencent CloudBase platform, Serverless architecture without server management\n- **📱 Full-Stack Apps** - Web + Mini-programs + Database + Backend integration, supports multiple app types and backend hosting\n- **🔧 Smart Debugging** - AI automatically reviews logs and fixes issues, reducing operational costs\n- **⚡ Lightning Fast** - Domestic CDN acceleration, faster access than overseas platforms\n- **📚 Knowledge Retrieval** - Built-in intelligent vector search for CloudBase and WeChat Mini-Program professional knowledge bases\n\n## 🚀 Quick Start\n\n### 0. Prerequisites\n\n\u003cdetails\u003e\n\u003csummary\u003eInstall AI Development Tools\u003c/summary\u003e\n\nSuch as [Cursor](https://www.cursor.com/) | [WindSurf](https://windsurf.com/editor) | [CodeBuddy](https://copilot.tencent.com/) etc. Click to see [list of supported AI development tools](#2-configure-your-ai-ide)\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eSet Up CloudBase Environment\u003c/summary\u003e\n\nVisit [Tencent CloudBase Console](https://tcb.cloud.tencent.com/dev) to create an environment. New users can start for free.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eInstall Node.js v18 or Higher\u003c/summary\u003e\n\nMake sure Node.js v18 or higher is installed on your computer. You can download and install the latest version from [Node.js official website](https://nodejs.org/).\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eOptional: Set npm Registry\u003c/summary\u003e\n\nTo improve dependency download speed, it's recommended to set npm registry to Tencent mirror. You can run the following command in **terminal**:\n\n```bash\nnpm config set registry https://mirrors.cloud.tencent.com/npm/\n```\n\nThis speeds up dependency downloads, especially in mainland China.\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eOptional: Clear npx Cache\u003c/summary\u003e\nDue to a caching bug in npx itself, it may cause CloudBase AI ToolKit installation issues. You can try clearing the npx cache.\n\nRun the following command in **terminal**:\n```\nnpx -y clear-npx-cache \n```\n\u003c/details\u003e\n\n### 1. Quick Initialize or Enhance Your Project\n\nWe've prepared project templates with built-in CloudBase best practices and AI IDE rules. Two recommended approaches:\n\n#### 🚀 For New Projects\n\nChoose a suitable template and initialize with one click:\n\n- **WeChat Mini-Program + CloudBase Template**  \n  [Download Package](https://static.cloudbase.net/cloudbase-examples/miniprogram-cloudbase-miniprogram-template.zip?v=2025053001) ｜ [Source Code](https://github.com/TencentCloudBase/awesome-cloudbase-examples/tree/master/miniprogram/cloudbase-miniprogram-template)\n\n- **React Web App + CloudBase Template**  \n  [Download Package](https://static.cloudbase.net/cloudbase-examples/web-cloudbase-react-template.zip?v=2025053001) ｜ [Source Code](https://github.com/TencentCloudBase/awesome-cloudbase-examples/tree/master/web/cloudbase-react-template)\n\n- **Vue Web App + CloudBase Template**  \n  [Download Package](https://static.cloudbase.net/cloudbase-examples/web-cloudbase-vue-template.zip?v=2025053001) ｜ [Source Code](https://github.com/TencentCloudBase/awesome-cloudbase-examples/tree/master/web/cloudbase-vue-template)\n\n- **UniApp Cross-Platform + CloudBase Template**  \n  [Download Package](https://static.cloudbase.net/cloudbase-examples/universal-cloudbase-uniapp-template.zip?v=2025053001) ｜ [Source Code](https://github.com/TencentCloudBase/awesome-cloudbase-examples/tree/master/universal/cloudbase-uniapp-template)\n\n- **AI Rules Universal CloudBase Template**: Language and framework agnostic, includes CloudBase AI rules and MCP, suitable for any CloudBase project\n\n  [Download Package](https://static.cloudbase.net/cloudbase-examples/web-cloudbase-project.zip) ｜ [Source Code](https://github.com/TencentCloudBase/awesome-cloudbase-examples/tree/master/web/cloudbase-project)\n\n#### 🛠️ Enhance Existing Projects\n\nIf you already have a project, after configuring MCP, simply tell the AI \"Download CloudBase AI rules in the current project\" to instantly download and configure AI editor rules in your project directory—no manual operations needed.\n\n### 2. Configure Your AI IDE\n\n\u003e [!TIP]\n\u003e Tip: If you're using a template project, all configurations are pre-configured. Please follow the guide to check and enable tools. If not starting from a template, you need to manually add the corresponding configurations according to the specific instructions:\n\nThe following tools all support CloudBase AI ToolKit. Choose the appropriate tool and configure according to instructions:\n\n| Tool | Platform |\n|------|----------|\n| [Cursor](https://cursor.com/) | Standalone IDE|\n| [WindSurf](https://windsurf.com/editor) | Standalone IDE, VSCode, JetBrains plugin |\n| [CodeBuddy](https://copilot.tencent.com/) | VS Code, JetBrains, WeChat DevTools plugin |\n| [CLINE](https://cline.so/) | VS Code plugin |\n| [GitHub Copilot](https://github.com/features/copilot) | VS Code plugin |\n| [Trae](https://www.trae.ai/) | Standalone IDE |\n| [Tongyi Lingma](https://tongyi.aliyun.com/lingma) | Standalone IDE, VS Code, JetBrains plugin |\n| [RooCode](https://roocode.com/) | VS Code plugin |\n| [Baidu Comate](https://comate.baidu.com/) | VS Code, JetBrains plugin|\n| [Augment Code](https://www.augmentcode.com/) | VS Code, JetBrains plugin |\n| [Claude Code](https://www.anthropic.com/claude-code) | Command line tool |\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e🔧 Cursor Configuration\u003c/strong\u003e\u003c/summary\u003e\n\n#### Step 1: Use AI Rules\n\nTemplate includes `.cursor/rules/` directory, AI will automatically recognize CloudBase best practices. If not starting from template, you can ask AI to help download CloudBase rules.\n\n#### Step 2: Configure MCP\n\nIf using template project, MCP configuration is pre-configured. If not starting from template, click the button below to install in Cursor:\n\n[![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=CloudBase\u0026config=eyJjb21tYW5kIjoibnB4IEBjbG91ZGJhc2UvY2xvdWRiYXNlLW1jcEBsYXRlc3QiLCJkaXNhYmxlZCI6ZmFsc2V9)\n\nOr manually add configuration to `.cursor/mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"cloudbase-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@cloudbase/cloudbase-mcp@latest\"]\n    }\n  }\n}\n```\n\nThen click the ⚙️ icon in the top-right corner of Cursor client, go to \"MCP\" settings, find cloudbase and enable it.\n\n#### Step 3: Switch to Agent Mode\n\nUse Agent mode in the chat window for code generation and automation.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e🌊 Codeium/WindSurf Configuration\u003c/strong\u003e\u003c/summary\u003e\n\n#### Step 1: Use AI Rules\n\nTemplate's `.windsurf/` directory contains configurations optimized for WindSurf. If not starting from template, you can ask AI to help download CloudBase rules.\n\n#### Step 2: Configure MCP\n\nIf using template project, MCP configuration is pre-configured. If not starting from template, add in WindSurf's Plugins configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"cloudbase-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@cloudbase/cloudbase-mcp@latest\"]\n    }\n  }\n}\n```\n\n#### Step 3: Switch to Write Mode\n\nSwitch to Write mode in chat for intelligent generation.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e👥 CodeBuddy Configuration\u003c/strong\u003e\u003c/summary\u003e\n\n#### Step 1: Use AI Rules\n\nTemplate includes `.rules/` directory, CodeBuddy will automatically recognize CloudBase best practices. If not starting from template, you can ask AI to help download CloudBase rules.\n\n#### Step 2: Configure MCP\n\nClick the MCP button in the top-right corner of CodeBuddy, click add on the right, and add CloudBase MCP in the MCP configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"cloudbase\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@cloudbase/cloudbase-mcp@latest\"]\n    }\n  }\n}\n```\n\n#### Step 3: Switch to Craft Agent\n\nSwitch to Craft mode in the chat window. It's recommended to disable the confirm plan feature in the right settings for a smoother experience.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e🤖 CLINE Configuration\u003c/strong\u003e\u003c/summary\u003e\n\n#### Step 1: Use AI Rules\n\nTemplate includes `.clinerules/` directory, AI will automatically recognize CloudBase best practices. If not starting from template, you can ask AI to help download CloudBase rules.\n\n#### Step 2: Configure MCP\n\nIf using template project, MCP configuration is pre-configured. If not starting from template, add in MCP Server configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"cloudbase\": {\n      \"autoApprove\": [],\n      \"timeout\": 60,\n      \"command\": \"npx\",\n      \"args\": [\n        \"@cloudbase/cloudbase-mcp@latest\"\n      ],\n      \"transportType\": \"stdio\",\n      \"disabled\": false\n    }\n  }\n}\n```\n\n#### Step 3: Use AI Chat\n\nIt's recommended to use models that support code generation and function calls.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e🐙 GitHub Copilot Configuration\u003c/strong\u003e\u003c/summary\u003e\n\n#### Step 1: Use AI Rules\n\nTemplate's `.github/` directory contains Copilot optimized configurations. If not starting from template, you can ask AI to help download CloudBase rules.\n\n#### Step 2: Configure MCP\n\nIf using template project, MCP configuration is pre-configured. If not starting from template, add in `.vscode/mcp.json`:\n\n```json\n{\n    \"servers\": {\n        \"cloudbase\": {\n            \"command\": \"npx\",\n            \"args\": [\n                \"@cloudbase/cloudbase-mcp@latest\"\n            ]\n        }\n    }\n}\n```\n\n#### Step 3: Switch to Agent Mode\n\nSwitch to Agent mode in the bottom-left corner of the chat window.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e🎯 Trae Configuration\u003c/strong\u003e\u003c/summary\u003e\n\nThis guide supports both Trae international and Trae CN versions. It's recommended to test with Claude/DeepSeek V3 0324 models.\n\n#### Step 1: Use AI Rules\n\nTemplate's `.trae/rules` directory contains CloudBase rule configurations for Trae. If not starting from template, you can ask AI to help download CloudBase rules.\n\n#### Step 2: Configure MCP\n\nIf using template project, MCP configuration is pre-configured. If not starting from template, add in MCP configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"cloudbase-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@cloudbase/cloudbase-mcp@latest\"]\n    }\n  }\n}\n```\n\n#### Step 3: Use Builder with MCP Chat\n\nSelect Builder with MCP in the agent for chat.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e🧩 Tongyi Lingma Configuration\u003c/strong\u003e\u003c/summary\u003e\n\n#### Step 1: Use AI Rules\n\nTemplate includes `.lingma/` directory, Tongyi Lingma will automatically recognize CloudBase best practices. If not starting from template, you can ask AI to help download CloudBase rules.\n\n#### Step 2: Configure MCP\n\nIf using template project, MCP configuration is pre-configured. If not starting from template, add in MCP configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"cloudbase-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@cloudbase/cloudbase-mcp@latest\"]\n    }\n  }\n}\n```\n\n#### Step 3: Switch to Agent Mode\n\nSwitch to agent mode in the bottom-left corner of the chat window.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e🤖 RooCode Configuration\u003c/strong\u003e\u003c/summary\u003e\n\n#### Step 1: Use AI Rules\n\nTemplate includes `.roo/rules` directory, RooCode will automatically recognize CloudBase best practices. If not starting from template, you can ask AI to help download CloudBase rules.\n\n#### Step 2: Configure MCP\n\nIf using template project, MCP configuration is pre-configured. If not starting from template, add in MCP configuration:\n\n```json\n{\n    \"mcpServers\": {\n        \"cloudbase\": {\n            \"command\": \"npx\",\n            \"args\": [\n                \"@cloudbase/cloudbase-mcp@latest\"\n            ],\n            \"disabled\": false\n        }\n    }\n}\n```\n\n#### Step 3: Use AI Chat\n\nUse the chat window for code generation and automation.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e🤖 Baidu Comate Configuration\u003c/strong\u003e\u003c/summary\u003e\n\n#### Step 1: Use AI Rules\n\nTemplate includes `.comate/rules` directory, Baidu Comate will automatically recognize CloudBase best practices. If not starting from template, you can ask AI to help download CloudBase rules.\n\n#### Step 2: Configure MCP\n\nIf using template project, MCP configuration is pre-configured. If not starting from template, add in MCP configuration:\n\n```json\n{\n    \"mcpServers\": {\n        \"cloudbase\": {\n            \"command\": \"npx\",\n            \"args\": [\n                \"@cloudbase/cloudbase-mcp@latest\"\n            ],\n            \"disabled\": false\n        }\n    }\n}\n```\n\n#### Step 3: Use AI Chat\n\nSwitch to Zulu mode in the chat window for operations.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e🚀 Augment Code Configuration\u003c/strong\u003e\u003c/summary\u003e\n\n#### Step 1: Use AI Rules\n\nTemplate includes `.augment-guidelines` file, Augment Code will automatically recognize CloudBase best practices. If not starting from template, you can ask AI to help download CloudBase rules.\n\n#### Step 2: Configure MCP\n\nIf using template project, MCP configuration is pre-configured (built into `.vscode/settings.json`). If not starting from template, add CloudBase MCP in Augment's MCP configuration, [refer to documentation](https://docs.augmentcode.com/setup-augment/mcp):\n\n```json\n{\n  \"augment.advanced\": {\n     \"mcpServers\": {\n        \"cloudbase\": {\n            \"command\": \"npx\",\n            \"args\": [\n                \"@cloudbase/cloudbase-mcp@latest\"\n            ]\n        }\n    }\n  }\n}\n```\n\n#### Step 3: Use Agent Mode\n\nUse Agent mode in the chat window for intelligent code generation and automation.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e🤖 Claude Code Configuration\u003c/strong\u003e\u003c/summary\u003e\n\n#### Step 1: Use AI Rules\n\nTemplate includes `CLAUDE.md` file, Claude Code will automatically recognize CloudBase best practices. If not starting from template, you can ask AI to help download CloudBase rules.\n\n#### Step 2: Configure MCP\n\nIf using template project, MCP configuration is pre-configured. If not starting from template, create `.mcp.json` file in project root:\n\n```json\n{\n  \"mcpServers\": {\n    \"cloudbase\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@cloudbase/cloudbase-mcp@latest\"\n      ]\n    }\n  }\n}\n```\n\n#### Step 3: Use AI Chat\n\nChat directly with AI in Claude Code for intelligent code generation and automation.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e🔄 Update CloudBase AI ToolKit\u003c/strong\u003e\u003c/summary\u003e\n\n**Update AI Rules**\n\nIf you want to update to the latest CloudBase AI rules in an existing project, simply tell the AI:\n\n```\nDownload CloudBase AI rules\n```\n\nAI will automatically download and update the latest rule configurations to your project directory.\n\n**Update MCP Tools**\n\nWhen new versions of MCP tools are released, you can update through:\n\n1. **Auto Update (Recommended)**: In your AI development tool's MCP list, find cloudbase-mcp and re-enable or refresh the MCP list to automatically install the latest version\n\n2. **Manual Update**: If auto update doesn't work, you can disable and re-enable cloudbase-mcp, or restart your AI IDE\n\nSince the MCP configuration uses the `@latest` tag, it usually automatically gets the latest version.\n\n\u003c/details\u003e\n\n### 3. Start Development\n\nBefore starting, simply tell the AI:\n\n```\nLogin to CloudBase\n```\nAI will automatically open the Tencent Cloud login interface and CloudBase environment selection.\n\nIf you need to switch environments later, you can say:\n\n```\nLogout from CloudBase\n```\n\nAI will clean up local configurations, and you can then ask AI to login to CloudBase again for re-login.\n\nAfter successful login, you can confirm AI is connected to CloudBase:\n\n```\nQuery current CloudBase environment information\n```\n\nDescribe your requirements to AI for development:\n\n```\nCreate a two-player online Gomoku website with multiplayer battles, then deploy it\n```\n\nAI will automatically:\n- 📝 Generate frontend and backend code  \n- 🚀 Deploy to CloudBase\n- 🔗 Return online access link\n\nIf you encounter errors during development, you can send the error information to AI for troubleshooting:\n\n```\nGot an error, the error is xxxx\n```\n\nYou can also ask AI to debug and modify code using cloud function logs:\n\n```\nCloud function code doesn't meet requirements, requirement is xxx, please check logs and data for debugging and fixing\n```\n\n## 🎯 Use Cases\n\n### Case 1: Two-Player Online Gomoku\n\n**Development Process:**\n1. Input requirement: \"Create a two-player online Gomoku website with multiplayer battles\"\n2. AI generates: Web app + cloud database + real-time data push\n3. Auto deploy and get access link\n\n👉 **Experience**: [Gomoku Game](https://cloud1-5g39elugeec5ba0f-1300855855.tcloudbaseapp.com/gobang/#/)\n\n\u003cdetails\u003e\n\u003csummary\u003e📸 View Development Screenshots\u003c/summary\u003e\n\n| Development Process | Final Result |\n|---------|---------|\n| \u003cimg src=\"https://7463-tcb-advanced-a656fc-1257967285.tcb.qcloud.la/turbo-deploy/turbo-deploy-001.png\" width=\"400\" alt=\"Development Process Screenshot 1\"\u003e | \u003cimg src=\"https://7463-tcb-advanced-a656fc-1257967285.tcb.qcloud.la/turbo-deploy/turbo-deploy-004.png\" width=\"400\" alt=\"Gomoku Game Effect\"\u003e |\n| \u003cimg src=\"https://7463-tcb-advanced-a656fc-1257967285.tcb.qcloud.la/turbo-deploy/turbo-deploy-002.png\" width=\"400\" alt=\"Development Process Screenshot 2\"\u003e | Supports two-player online battles\u003cbr\u003eReal-time game synchronization |\n\n\u003c/details\u003e\n\n### Case 2: AI Pet Raising Mini-Program\n\n**Development Process:**\n1. Input: \"Develop a Pokemon pet raising wechat mini-program with AI-enhanced interactions\"\n2. AI generates: Mini-program + cloud database + AI cloud functions\n3. Import into WeChat DevTools for publishing\n\n\u003cdetails\u003e\n\u003csummary\u003e📸 View Development Screenshots and Mini-Program Preview\u003c/summary\u003e\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd width=\"50%\"\u003e\n\u003cb\u003e🖥️ Development Screenshots\u003c/b\u003e\u003cbr\u003e\n\u003cimg src=\"https://7463-tcb-advanced-a656fc-1257967285.tcb.qcloud.la/turbo-deploy/turbo-deploy-005.png\" width=\"100%\" alt=\"AI Pet Mini-Program Development Screenshot\"\u003e\n\u003cbr\u003e\n\u003cimg src=\"https://7463-tcb-advanced-a656fc-1257967285.tcb.qcloud.la/turbo-deploy/turbo-deploy-003.png\" width=\"100%\" alt=\"Mini-Program Development Process\"\u003e\n\u003c/td\u003e\n\u003ctd width=\"50%\"\u003e\n\u003cb\u003e📱 Mini-Program Preview\u003c/b\u003e\u003cbr\u003e\n\u003cimg src=\"https://7463-tcb-advanced-a656fc-1257967285.tcb.qcloud.la/turbo-deploy/turbo-deploy-006.png\" width=\"200\" alt=\"Mini-Program Interface 1\"\u003e\n\u003cimg src=\"https://7463-tcb-advanced-a656fc-1257967285.tcb.qcloud.la/turbo-deploy/turbo-deploy-007.png\" width=\"200\" alt=\"Mini-Program Interface 2\"\u003e\n\u003cbr\u003e\u003cbr\u003e\n\u003cb\u003e📲 Experience QR Code\u003c/b\u003e\u003cbr\u003e\n\u003cimg src=\"https://7463-tcb-advanced-a656fc-1257967285.tcb.qcloud.la/turbo-deploy/turbo-deploy-008.png\" width=\"150\" alt=\"Mini-Program Experience QR Code\"\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c/details\u003e\n\n### Case 3: Intelligent Problem Diagnosis\n\nWhen applications have issues:\n1. AI automatically checks cloud function logs\n2. Analyzes error causes and generates fix code  \n3. Auto redeploy\n\n\u003cdetails\u003e\n\u003csummary\u003e📸 View Intelligent Diagnosis Process\u003c/summary\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://7463-tcb-advanced-a656fc-1257967285.tcb.qcloud.la/turbo-deploy/turbo-deploy-009.png\" width=\"600\" alt=\"Intelligent Problem Diagnosis Process\"\u003e\n\u003cbr\u003e\n\u003ci\u003eAI automatically analyzes logs and generates fix solutions\u003c/i\u003e\n\u003c/div\u003e\n\n\u003c/details\u003e\n\n---\n\n## 🌟 Why Choose CloudBase?\n\n- **⚡ Lightning Deploy**: Domestic nodes, faster access than overseas\n- **🛡️ Stable \u0026 Reliable**: Serverless platform chosen by 3.3 million developers\n- **🔧 Developer Friendly**: Full-stack platform designed for AI era, supports auto environment configuration\n- **💰 Cost Optimized**: Serverless architecture more elastic, new users can experience for free during development\n\n## 📋 FAQ\n\nFor common questions about migration, integration, etc., please check [FAQ](https://docs.cloudbase.net/ai/cloudbase-ai-toolkit/faq).\n\n## 💬 Tech Community\n\nHaving issues or want to share experiences? Join our tech community!\n\n### 🔥 WeChat Community\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://7463-tcb-advanced-a656fc-1257967285.tcb.qcloud.la/mcp/toolkit-qrcode.png\" width=\"200\" alt=\"WeChat Group QR Code\"\u003e\n\u003cbr\u003e\n\u003ci\u003eScan to join WeChat tech community\u003c/i\u003e\n\u003c/div\u003e\n\n**In the group you can:**\n- 💡 Share your AI + CloudBase projects\n- 🤝 Tech discussions and development Q\u0026A\n- 📢 Get latest feature updates and best practices\n- 🎯 Participate in product feature discussions and suggestions\n\n### 📱 Other Communication Channels\n\n| Platform | Link | Description |\n|------|------|------|\n| **Official Docs** | [📖 View Docs](https://docs.cloudbase.net/) | Complete CloudBase documentation |\n| **Issue Feedback** | [🐛 Submit Issues](https://github.com/TencentCloudBase/CloudBase-AI-ToolKit/issues) | Bug reports and feature requests |\n\n### 🎉 Community Activities\n\n- **Weekly Tech Sharing**: Regular sharing of AI + CloudBase best practices in the group\n- **Project Showcase**: Show off your amazing AI-developed projects\n- **Q\u0026A Sessions**: Tencent CloudBase team members answer questions online\n- **Feature Preview**: First access to latest features\n\n## 🛠️ CloudBase MCP Tools Overview\n\nCurrently includes **35 tools** covering environment management, database operations, cloud function management, static hosting, and other core functions.\n\n📋 **Complete Tool Documentation**: [View MCP Tools Detailed Documentation](doc/mcp-tools.md) | [View Tool Specifications JSON](scripts/tools.json)\n\n### 🔧 Tool Categories Overview\n\n| Category | Tool Count | Main Functions |\n|------|----------|----------|\n| 🌍 **Environment Management** | 4 | Login authentication, environment info query, domain management |\n| 🗄️ **Database Operations** | 11 | Collection management, document CRUD, index operations, data models |\n| ⚡ **Cloud Functions** | 9 | Function creation, updates, invocation, logs, triggers |\n| 🌐 **Static Hosting** | 5 | File upload management, domain configuration, website deployment |\n| 📁 **File Operations** | 2 | Remote file download, cloud storage upload |\n| 🛠️ **Tool Support** | 3 | Project templates, knowledge base search, interactive dialog |\n| 🔌 **HTTP Access** | 1 | HTTP function access configuration |\n\n### 🌟 Core Tool Highlights\n\n| Tool Type | Tool Name | Feature Highlights |\n|----------|----------|----------|\n| 🔐 **Authentication** | `login` / `logout` | One-click CloudBase login, auto environment selection |\n| 📊 **Environment Query** | `envQuery` | **🔄 Merged Tool** - Environment list, info, domains unified query |\n| 🗄️ **Database** | `collectionQuery` | **🔄 Merged Tool** - Collection existence, details, list unified management |\n| ⚡ **Cloud Functions** | `createFunction` | Supports complete configuration, auto dependency installation, trigger setup |\n| 🌐 **Static Hosting** | `uploadFiles` | Batch file upload, smart ignore rules, CDN acceleration |\n| 🧠 **AI Enhancement** | `searchKnowledgeBase` | Vector search CloudBase knowledge base, intelligent Q\u0026A support |\n\n### 💡 Tool Optimization Notes\n\nWe optimized from 40 tools to 35 by merging related functions for better user experience.\n\n🔗 **Want to learn about each tool's detailed functions?** Please check [Complete MCP Tools Documentation](doc/mcp-tools.md)\n\n## 🏗️ Architecture Principles\n\n```mermaid\ngraph TD\n    A[Developer] --\u003e B[AI IDE]\n    B --\u003e|Uses| C[CloudBase AI Rules]\n    C --\u003e D[Generate Code]\n    B --\u003e|Calls| E[CloudBase MCP]\n    E --\u003e F{Detect Deployment}\n    F --\u003e|Success| G[CloudBase Platform]\n    F --\u003e|Fail| H[Return Logs]\n    H --\u003e I[AI Fix]\n    I --\u003e E\n    G --\u003e J[Online Application]\n    J --\u003e K[Web/Mini-Program/API]\n```\n\n## 🔒 Data Statistics Notice\n\nTo improve product experience, CloudBase AI ToolKit collects anonymous usage statistics:\n\n- **Collection Content**: Tool usage, basic environment info (OS, Node.js version, etc.)\n- **Privacy Protection**: No code content, file paths, or sensitive info collected, only for product improvement\n\nYou can disable data statistics by setting environment variable `CLOUDBASE_MCP_TELEMETRY_DISABLED` to `true`\n\n## 🤝 Contributing\n\nWelcome to submit Issues and Pull Requests! Please check our [Contributing Guide](CONTRIBUTING.md) to learn how to participate in project development.\n\n## 📄 License\n\n[MIT](LICENSE) © TencentCloudBase\n\n---\n\n⭐ If this project helps you, please give us a Star!\n\n[![Star History Chart](https://api.star-history.com/svg?repos=TencentCloudBase/CloudBase-AI-ToolKit\u0026type=Timeline)](https://github.com/TencentCloudBase/CloudBase-AI-ToolKit) \n\n![Alt](https://repobeats.axiom.co/api/embed/60598d4f0cad83043b6317528e0fa0691122003d.svg \"Repobeats analytics image\")","funding_links":[],"categories":["Cloud Platforms"],"sub_categories":["How to Submit"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftencentcloudbase%2Fcloudbase-ai-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftencentcloudbase%2Fcloudbase-ai-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftencentcloudbase%2Fcloudbase-ai-toolkit/lists"}