Qoder Configuration Guide
After configuration, you can directly operate CloudBase services in Qoder's AI conversations.
For example:
- "Create user table" - AI automatically creates database collection
- "Deploy this function" - AI automatically uploads and configures cloud function
- "Deploy frontend to CDN" - AI automatically uploads files and configures hosting
No need to switch to cloud console, all operations can be completed in Qoder using natural language.
Prerequisites
Before starting configuration, please ensure the following conditions are met:
Node.js environment and CloudBase environment are ready
Node.js Environment: Ensure Node.js v18.15.0 or higher is installed:
node --version
If not installed, please download and install from Node.js official website.
CloudBase Environment: Please refer to the documentation Create CloudBase Environment. New users can sign up for free.
Configure your MCP client to connect with your CloudBase environment
Step 1: Installation
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: Verify connection
After configuration, enter the following in your AI chat to verify:
检查 CloudBase 工具是否可用, 下载 CloudBase AI 开发规则到当前项目Configuration Steps
Method 1: Manually Configure MCP Service
In Qoder IDE's top right corner, click the user icon, or use keyboard shortcut (
⌘⇧,(macOS) orCtrlShift,(Windows)), then select Qoder Settings.In the left navigation pane, click MCP.
In the My Servers tab, click + Add in the top right corner.
In the popup JSON file, add the following configuration:
{
"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 service will appear in your list. A link icon indicates successful connection. Expand the entry to view available tools.
Note: If the service fails to start due to missing dependencies, click Quick Fix. If the problem persists, please manually install dependencies. For troubleshooting, refer to MCP Common Issues.
Method 2: Use MCP Square (Optional)
You can also install pre-configured MCP services through MCP Square:
- On the MCP page, click the MCP Square tab.
- Browse the available services list, find CloudBase MCP service and click Install.
- Go to the My Servers tab to confirm installation, expand details to view tool list.
Verify Connection
After configuration is complete, enter in Qoder's Agent mode:
Check if CloudBase tools are available
Important: MCP services are only supported in Agent mode. In the AI Chat panel, make sure you have switched to Agent mode.
Common Questions
Q: MCP connection failed? A: Check if configuration file format is correct, restart Qoder, confirm network connection is normal. If the service fails to start due to missing dependencies, click Quick Fix. If the problem persists, please manually install dependencies.
Q: Tool count shows 0? A: Please refer to FAQ.
Q: Where are MCP services used? A: MCP (Model Context Protocol) services are only supported in Agent mode. In the AI Chat panel, switch to Agent mode to use. Up to 10 MCP services can be used simultaneously.
Q: How to call MCP tools?
A: Qoder will automatically select appropriate MCP tools based on your input prompts and tool names. Before calling tools, Qoder will request confirmation first. Press ⌘ ⏎ (macOS) or Ctrl Enter (Windows) to execute. To automatically run all subsequent MCP services, check the confirmation option.
More questions please check: Complete FAQ
相关资源
- 开发指南 - 深入了解开发最佳实践
- 使用案例 - 查看实际应用案例
- MCP 工具 - 了解所有可用工具
- 常见问题 - 查看常见问题解答
- Qoder 官方文档 - Qoder MCP 官方文档