Qoder Setup Guide
After setup, you can operate CloudBase services directly from Qoder’s AI chat.
Examples:
- "Build a WeChat Mini Program ordering system with CloudBase" — AI scaffolds pages, creates the cloud database, writes cloud functions, and guides preview
- "Build a reservation management system that lets users place orders and admins update status" — AI models it with CloudBase PostgreSQL, configures permissions, and wires up frontend and backend
- "Add phone-number login to a Web app" — AI enables the auth method and integrates the CloudBase SDK
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 on the domestic site can start for free.
Remote needs only a URL — your client walks you through browser authorization, so no keys land in config files.
Configure your AI tool to connect with CloudBase capabilities. Supports local and remote connection. See connection modes.
Step 1: Install / Configure CloudBase
Or add this configuration to Qoder 设置 > MCP:
1{2 "mcpServers": {3 "cloudbase": {4 "type": "http",5 "url": "https://tcb-api.cloud.tencent.com/mcp/v1"6 }7 }8}Step 2: Chat with AI
Enter the following in your AI chat in order:
Read https://docs.cloudbase.net/skill.md and tell me what it can doUse CloudBase Skills: 更新 CloudBase 云函数的环境变量Setup
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