Alibaba Cloud DataWorks + Windsurf Editor: Complete MCP Integration
Alibaba Cloud DataWorks is a MCP server that A Model Context Protocol (MCP) server that provides tools for AI, allowing it to interact with the DataWorks Open API through a standardized interface. This implementation is based on the Alibaba Cloud Open API and enables AI agents to perform cloud resources operations seamlessly..
When integrated with Windsurf Editor, you can:
- List all DataWorks projects in the account
- Create new data processing workflows
- Configure and manage data source connections
This guide provides step-by-step instructions to set up Alibaba Cloud DataWorks in Windsurf Editor, including configuration, examples, and troubleshooting.
What You'll Achieve
After completing this setup:
- Alibaba Cloud DataWorks will be fully integrated and operational
- You can use Alibaba Cloud DataWorks tools directly in Windsurf Editor
- All Alibaba Cloud DataWorks capabilities will be available for your workflows
- Access to 6 different tools
Prerequisites
Before starting, ensure you have:
- Alibaba Cloud access key ID
- Alibaba Cloud access key secret
- Alibaba Cloud region
- Windsurf Editor installed and configured
- Compatible operating system (Desktop App)
Installation
Step 1: Install Alibaba Cloud DataWorks
Configuration
Step 2: Configure Windsurf Editor
-
Locate your configuration file:
- Windows:
%USERPROFILE%\.codeium\windsurf\mcp_config.json - macOS:
~/.codeium/windsurf/mcp_config.json - Linux:
~/.codeium/windsurf/mcp_config.json
- Windows:
-
Add server configuration:
{
"mcpServers": {
"alibaba-cloud-dataworks": {
"command": "alibaba cloud dataworks",
"args": []
}
}
}
Note: If Alibaba Cloud DataWorks requires environment variables, add them to the server configuration:
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "LTAI4G8vQZ2XxxxxxxxxxX",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "2vQZ2Xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"ALIBABA_CLOUD_REGION": "cn-hangzhou",
"DATAWORKS_PROJECT_ID": "12345"
}
- Restart Windsurf Editor
Completely quit and restart Windsurf Editor to load the new configuration.
Examples
Once configured, you can use Alibaba Cloud DataWorks in Windsurf Editor:
Enterprise Data Pipeline Management
undefined
Ask Windsurf Editor: "Create and schedule end-to-end data pipeline from CRM to analytics warehouse"
Expected Result: undefined
Multi-Source Data Integration
undefined
Ask Windsurf Editor: "Set up data integration from ERP, CRM, and marketing automation systems"
Expected Result: undefined
Data Quality Monitoring
undefined
Ask Windsurf Editor: "Set up data quality rules and monitoring for all critical tables"
Expected Result: undefined
Testing Your Setup
- Launch Windsurf Editor
- Verify Alibaba Cloud DataWorks is available in the tools list
- Test basic Alibaba Cloud DataWorks functionality
Troubleshooting
Common Issues
Tools Not Appearing
Symptoms: Cascade does not see new tools, Hammer icon missing
Cause: Configuration syntax error or server failed to start.
Solution:
- Check the JSON configuration for syntax errors.
- Verify the command (e.g.,
npx,python) is in your system PATH. - Check Windsurf logs for MCP connection errors.
Environment Variables
Symptoms: Authentication failed, Permission denied
Cause: Missing API keys in configuration.
Solution:
- Ensure
envblock is correctly defined inside the server config. - Restart Windsurf after changing environment variables.
Alibaba Cloud DataWorks not appearing in Windsurf Editor
Symptoms: Server not listed, Tools not available
Cause: Configuration or installation issue
Solution:
- Verify configuration syntax
- Check Alibaba Cloud DataWorks installation
- Restart Windsurf Editor
- Check logs for error messages
Next Steps
Now that Alibaba Cloud DataWorks is integrated with Windsurf Editor:
- Explore all Alibaba Cloud DataWorks capabilities through Windsurf Editor
- Check out other MCP servers that work with Windsurf Editor
- Join the MCP community for tips and support
- Consider contributing to Alibaba Cloud DataWorks development
Need Help?
- Search for Alibaba Cloud DataWorks documentation
- Check the Windsurf Editor MCP guide
- Join the MCP community discussions