Qoder Setup Guide
After setup, you can operate CloudBase services directly from Qoder’s AI chat.
Examples:
- "Create a users collection" - AI creates database collections automatically
- "Deploy this function" - AI uploads and configures cloud functions
- "Deploy the frontend to CDN" - AI uploads files and configures hosting
No need to switch to the Cloud console — you can do everything in Qoder with natural language.
Prerequisites
Before you start, make sure you have:
Node.js and a CloudBase environment ready
Node.js: Install Node.js v18.15.0 or later:
node --version
If you don’t have it installed, download it from the Node.js website.
CloudBase environment: See Create a CloudBase environment. New users can start for free.
Configure your AI tool to connect with CloudBase capabilities. Supports local and hosted connection. See connection modes.
Step 1: Install / Configure CloudBase
Or add this configuration to Qoder 设置 > MCP:
1{2 "mcpServers": {3 "cloudbase": {4 "command": "npx",5 "args": ["@cloudbase/cloudbase-mcp@latest"],6 "env": {7 "INTEGRATION_IDE": "Qoder"8 }9 }10 }11}Step 2: Chat with AI
Enter the following in your AI chat in order:
Install CloudBase Skills: run npx skills add tencentcloudbase/cloudbase-skills -yUse CloudBase Skills: 创建一个美观的登录页面,集成 CloudBase AuthSetup
Option 1: Configure MCP manually
- In Qoder IDE, click the user icon in the top-right corner, or use the shortcut (
⌘⇧,on macOS /CtrlShift,on Windows), then open Qoder Settings. - In the left navigation, click MCP.
- In the My Servers tab, click + Add.
- In the JSON config, add:
{
"mcpServers": {
"cloudbase": {
"command": "npx",
"args": ["@cloudbase/cloudbase-mcp@latest"],
"env": {
"INTEGRATION_IDE": "Qoder"
}
}
}
}
- Close the file and click Save when prompted.
After saving, the new server will appear in your list. A link icon indicates the connection is successful. Expand the item to view available tools.
Note: If the server fails to start due to missing dependencies, click Quick Fix. If the issue persists, install dependencies manually. See Qoder MCP troubleshooting docs.
Option 2: Install via MCP Square (optional)
- In the MCP page, open the MCP Square tab.
- Find CloudBase MCP and click Install.
- Go back to My Servers to confirm and view the tool list.
Verify
After configuration, in Qoder Agent mode, type:
Check if CloudBase tools are available
Important: MCP servers are only supported in Agent mode. In the AI Chat panel, ensure you switched to Agent mode.
FAQ
Q: MCP connection failed?
A: Check the config format, restart Qoder, and confirm your network. If the server fails due to missing dependencies, use Quick Fix or install them manually.
Q: Tool count shows 0?
A: See the FAQ.
Q: Where can I use MCP in Qoder?
A: MCP is only supported in Agent mode. Switch to Agent mode in the AI Chat panel. Up to 10 MCP servers can be used simultaneously.
Q: How do I call MCP tools?
A: Qoder selects tools automatically based on your prompt and tool names, and asks for confirmation before running. Use ⌘ ⏎ (macOS) or Ctrl Enter (Windows) to execute. You can also enable auto-run for subsequent calls.
More: FAQ