Tongyi Lingma Configuration Guide
After configuration, you can directly operate CloudBase services in Tongyi Lingma'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 Tongyi Lingma 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: Configure CloudBase MCP
注意:通义灵码应该没有配置文件,请在通义灵码的 MCP 配置中添加以下配置:
1{2 "mcpServers": {3 "cloudbase": {4 "command": "npx",5 "args": ["@cloudbase/cloudbase-mcp@latest"],6 "env": {7 "INTEGRATION_IDE": "LingMa"8 }9 }10 }11}Step 2: Chat with AI
After configuration, enter the following in your AI chat:
Check if CloudBase tools are available, download CloudBase AI development rulesCommon Questions
Q: MCP connection failed? A: Check if configuration file format is correct, restart Tongyi Lingma, confirm network connection is normal.
Q: Tool count shows 0? A: Please refer to FAQ.
More questions please check: Complete FAQ
相关资源
- 开发指南 - 深入了解开发最佳实践
- 使用案例 - 查看实际应用案例
- MCP 工具 - 了解所有可用工具
- 常见问题 - 查看常见问题解答
- Tongyi Lingma 官方文档 - Tongyi Lingma MCP 官方文档