Alibaba DMS Multi-Cloud
A universal multi-cloud data MCP Server supporting over 40 types of data source connections, providing secure, unified data access in a single platform. Supports full range of Alibaba Cloud services and Mainstream databases/data warehouses.
What is Alibaba DMS Multi-Cloud?
Alibaba DMS Multi-Cloud is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to universal multi-cloud data mcp server supporting over 40 types of data source connections, providing secure, unified data access in a single platform. supports full range of alibaba cloud services and...
A universal multi-cloud data MCP Server supporting over 40 types of data source connections, providing secure, unified data access in a single platform. Supports full range of Alibaba Cloud services and Mainstream databases/data warehouses.
This server falls under the Databases category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A universal multi-cloud data MCP Server supporting over 40 t
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx alibabacloud-dmsConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Alibaba DMS Multi-Cloud
The Alibaba Cloud DMS MCP Server is an AI-era data security access gateway that connects AI assistants to over 40 types of databases and data warehouses — including MySQL, PostgreSQL, Oracle, ClickHouse, PolarDB, AnalyticDB, and BigQuery — through a single unified interface. It provides built-in NL2SQL conversion so you can ask natural language questions and get SQL-executed results, while enforcing fine-grained permission controls (instance, database, table, field, and row level), high-risk SQL blocking, and full SQL audit trails. Teams managing databases across Alibaba Cloud, AWS, or self-hosted infrastructure use it to centralize access, reduce security exposure, and enable data queries through conversation.
Prerequisites
- Python 3.10 or higher installed
- uv package manager installed (https://docs.astral.sh/uv/getting-started/installation/)
- Alibaba Cloud account with DMS access and an AK/SK (Access Key ID + Secret) or STS Token with AliyunDMSFullAccess permission
- Database instances added to DMS (via the DMS console or the addInstance tool)
- An MCP client such as Claude Desktop
Clone the repository
Download the DMS MCP Server source code to your local machine.
git clone https://github.com/aliyun/alibabacloud-dms-mcp-server.gitObtain Alibaba Cloud credentials
Create an Access Key ID and Secret from the Alibaba Cloud RAM console, or generate an STS Token. Grant the IAM user the AliyunDMSFullAccess policy so the server can connect to DMS APIs.
Add your database instance to DMS
Before querying data, the target database must be registered in DMS. Log in to the DMS Console (dms.aliyun.com), click Add Instance, enter the host, port, username, and password, then submit. Alternatively, use the addInstance MCP tool after the server is running.
Configure your MCP client (Multi-instance Mode)
Edit your claude_desktop_config.json to register the DMS server. The server runs via uv pointing at the cloned source. Replace the path and credentials with your own values.
{
"mcpServers": {
"dms-mcp-server": {
"command": "uv",
"args": [
"--directory",
"/path/to/alibabacloud-dms-mcp-server/src/alibabacloud_dms_mcp_server",
"run",
"server.py"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "your_access_key_id",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "your_access_key_secret"
}
}
}
}Optional: Configure Single Database Mode
To connect to exactly one database without managing multiple instances, add the CONNECTION_STRING environment variable in the format dbName@host:port. This bypasses instance discovery and targets the specified database directly.
"CONNECTION_STRING": "[email protected]:3306"Restart Claude Desktop and verify
After saving the config, restart Claude Desktop. In a new conversation, ask 'What instances are in my DMS?' or 'What tables are in my production database?' to confirm the tools are available.
Alibaba DMS Multi-Cloud Examples
Client configuration
Full claude_desktop_config.json entry for Multi-instance Mode with AK/SK credentials.
{
"mcpServers": {
"dms-mcp-server": {
"command": "uv",
"args": [
"--directory",
"/path/to/alibabacloud-dms-mcp-server/src/alibabacloud_dms_mcp_server",
"run",
"server.py"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "your_access_key_id",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "your_access_key_secret",
"ALIBABA_CLOUD_SECURITY_TOKEN": "optional_sts_token"
}
}
}
}Prompts to try
Example natural language queries once the server is connected.
- "Which of my instances are in the production environment?"
- "What tables are in the test_db database on myHost:3306?"
- "What is today's total order count?"
- "Show the field structure of the orders table."
- "Retrieve the first 20 rows from the user_traffic table."
- "Which product category has the highest sales revenue?"Troubleshooting Alibaba DMS Multi-Cloud
Authentication error: 'InvalidAccessKeyId' or 'SignatureDoesNotMatch'
Double-check that ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET are correct. If using STS, ensure ALIBABA_CLOUD_SECURITY_TOKEN is also set and not expired. Regenerate credentials from the RAM console if needed.
Tool returns 'instance not found' or 'database not found'
The database must be registered in DMS before the MCP tools can access it. Log in to dms.aliyun.com and add the instance, or ask Claude to 'add instance at host:port using username and password' to trigger the addInstance tool.
High-risk SQL blocked
DMS has a built-in rule engine that blocks potentially destructive SQL (e.g., DROP TABLE, DELETE without WHERE). Use the createDataChangeOrder tool to submit a change order for approval, then approve it with approveOrder before the script runs.
Frequently Asked Questions about Alibaba DMS Multi-Cloud
What is Alibaba DMS Multi-Cloud?
Alibaba DMS Multi-Cloud is a Model Context Protocol (MCP) server that universal multi-cloud data mcp server supporting over 40 types of data source connections, providing secure, unified data access in a single platform. supports full range of alibaba cloud services and mainstream databases/data warehouses. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Alibaba DMS Multi-Cloud?
Follow the installation instructions on the Alibaba DMS Multi-Cloud GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Alibaba DMS Multi-Cloud?
Alibaba DMS Multi-Cloud works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Alibaba DMS Multi-Cloud free to use?
Yes, Alibaba DMS Multi-Cloud is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.
Alibaba DMS Multi-Cloud Alternatives — Similar Databases Servers
Looking for alternatives to Alibaba DMS Multi-Cloud? Here are other popular databases servers you can use with Claude, Cursor, and VS Code.
Excelize
★ 20.6kGo language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets
MCP Toolbox for Databases
★ 15.3kOpen source MCP server specializing in easy, fast, and secure tools for Databases.
DBHub
★ 2.8kA universal database gateway MCP server that enables AI assistants to connect to and query multiple databases (PostgreSQL, MySQL, MariaDB, SQL Server, SQLite) with support for schema exploration, SQL execution, and secure connections via SSH tunnels.
Tabularis
★ 2.1kA lightweight, cross-platform database client for developers. Supports MySQL, PostgreSQL and SQLite. Hackable with plugins. Built for speed, security, and aesthetics.
Postgres AI Guide
★ 1.7kMCP server and Claude plugin for Postgres skills and documentation. Helps AI coding tools generate better PostgreSQL code.
Anyquery
★ 1.7k🏎️ 🏠 ☁️ - Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by design.
Browse More Databases MCP Servers
Explore all databases servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Alibaba DMS Multi-Cloud in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Alibaba DMS Multi-Cloud?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.