Skip to main content

CloudBase AI Toolkit + GitHub Copilot

🚀 GitHub Copilot + CloudBase = Full-stack application from idea to launch in minutes.

GitHub Stars Open Source License

💡 Why choose GitHub Copilot + CloudBase AI Toolkit? GitHub Copilot is GitHub's official AI programming assistant, supporting powerful code generation and intelligent suggestions. Combined with CloudBase AI Toolkit, it enables you to describe requirements in natural language, with the AI automatically generating and deploying full-stack applications to the Tencent Cloud development platform. It is especially suitable for developers who are existing GitHub Copilot subscribers and accustomed to the VS Code environment.

✨ Core Advantages

🎯 Development EfficiencyDeployment Speed🛡️ Stability and Reliability
AI automatically generates code and architecture
Built-in best practice rules for cloud development
Intelligent error fixing and optimization
One-click deployment to Tencent Cloud development
Domestic CDN accelerated access
Serverless architecture with no Ops required
Platform verified by 3.3 million developers
Enterprise-grade security and stability
Comprehensive monitoring and logging system

🚀 5-Minute Quick Start

Select pre-configured project templates, ready to use out-of-the-box:

Method 2: Integrate with existing projects

If you already have a project, you can integrate in just 3 steps:

# 1. Configure MCP (See detailed steps below for specific configuration)
# 2. Download AI Rules
# 3. Start Using

After configuration is complete, tell the AI: "Log in to CloudBase" to begin!

🔧 Detailed Configuration Guide

Step 1: Install GitHub Copilot

  1. Ensure you have a GitHub Copilot subscription
  2. Install the "GitHub Copilot" and "GitHub Copilot Chat" extensions in VS Code
  3. Log in and authorize using your GitHub account

Step 2: Configure CloudBase MCP

[!TIP] If the number of tools remains 0 after installation, please refer to the FAQ

Create the .vscode/mcp.json file:

{
"servers": {
"cloudbase": {
"command": "npx",
"args": [
"npm-global-exec@latest",
"@cloudbase/cloudbase-mcp@latest",
],
"env": {
"INTEGRATION_IDE": "VSCode Copilot"
}
}
}
}

Step 3: Enable AI Rules

Create the .github/copilot-instructions.md file, or directly tell the AI:

Download CloudBase AI rules in the current project

If you only want to download configuration files related to GitHub Copilot to avoid cluttering your project files, you can specify the IDE type:

Download CloudBase AI rules in the current project, containing only the GitHub Copilot configuration

Step 4: Start Development

In VS Code

  1. Open the Copilot Chat panel
  2. Switch to Agent mode in the bottom-left corner of the chat window
  3. Verify that the MCP tool is connected

Chat with AI:

Log in to CloudBase

🎯 Get Started

After configuration is complete, tell the AI:

Log in to CloudBase

Then you can start development, for example:

Create an online voting system that supports creating polls, participating in voting, and result statistics, using cloud database for storage, and finally deploy it.

GitHub Copilot supports commands such as @workspace and #selection, enabling it to better understand the project context.

🌟 CloudBase AI Toolkit Open-Source Project

🔥 Join the Open-Source Community

GitHub CNB Community

⭐ Star the Project | 🤝 Contribute Code | 💬 Technical Discussion

🛠️ Troubleshooting

Frequently Asked Questions

Q: Unable to connect to GitHub Copilot? A:

  1. Check the GitHub Copilot subscription status
  2. Log in again to your GitHub account in VS Code
  3. Restart the VS Code application
  4. Check the network connection status

Q: MCP tool unavailable? A:

  1. Ensure the configuration in .vscode/mcp.json is correct
  2. Check the availability of the npx command
  3. Re-enable the GitHub Copilot Chat extension
  4. View the VS Code output logs

Q: Does the AI-generated code not meet expectations? A:

  1. Clearly define the specifications in .github/copilot-instructions.md
  2. Use @workspace to enable AI to understand the project context
  3. Provide sample code for reference

For more questions, refer to: Complete FAQ

💬 Technical Discussions

WeChat Technical Exchange Group

WeChat group QR code
Scan the QR code to join the WeChat technical exchange group

🚀 Get started immediately with GitHub Copilot + CloudBase AI Toolkit

Get Started | View Templates | GitHub Repository