Skip to main content

CloudBase AI Toolkit + Cursor

🚀 Cursor + CloudBase = Build full-stack apps from idea to production in minutes

GitHub Stars License

💡 Why choose Cursor + CloudBase AI Toolkit? Cursor is a modern IDE designed specifically for AI programming, featuring powerful Agent mode and code generation capabilities. Combined with CloudBase AI Toolkit, it enables you to describe requirements in natural language, with AI automatically generating and deploying full-stack applications to the Tencent Cloud development platform. It is particularly suitable for rapid prototyping, full-stack project development, and cloud deployment scenarios.

✨ Core Advantages

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

🚀 5-Minute Quick Start

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

Method 2: Existing Project Integration

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

# 1. Configure MCP (see detailed steps below)
# 2. Download AI Rules
# 3. Start Using

After configuration is complete, say to the AI: "Login to CloudBase" to begin!

🔧 Detailed Configuration Guide

Step 1: Install Cursor

Download and install Cursor IDE from the Cursor official website.

Step 2: Configure CloudBase MCP

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

Install MCP Server

Manual Configuration:

Create the .cursor/mcp.json file in the project root directory:

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

Then click the ⚙️ icon in the upper-right corner of the Cursor client, go to the "MCP" settings, find cloudbase and enable it.

Step 3: Enable AI Rules

The template project already includes the .cursor/rules/ directory. If it is an existing project, say to the AI:

Download Cloud Development AI Rules in the current project.

If you only want to download Cursor-related configuration files to prevent project file clutter, you can specify the IDE type:

Download CloudBase AI Rules in the current project, containing only Cursor configuration.

Step 4: Start Development

In Agent mode, converse with AI:

Login to CloudBase

🎯 Get Started

After configuration is complete, say to the AI:

Login to CloudBase

Then you can start development, for example:

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

🌟 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: MCP connection failure? A:

  1. Check whether the configuration file format is correct
  2. Restart Cursor
  3. Verify that the network connection is normal

Q: Is the AI-generated code not as expected? A:

  1. Clearly describe the tech stack and framework requirements
  2. Use project templates to ensure compliance with standards
  3. Provide a more detailed requirements description

For more questions, please refer to: Complete FAQ

💬 Technical Discussion

WeChat Technical Discussion Group

WeChat group QR code
Scan the QR code to join the WeChat technical discussion group.

🚀 Get started with Cursor + CloudBase AI Toolkit

Get Started | View Templates | GitHub Repository