Skip to content

A universal multi-cloud data MCP Server supporting over 30 types of data source connections, providing secure, cross-source data access in a single platform.
Supports full range of Alibaba Cloud services and Mainstream databases/data warehouses.

Notifications You must be signed in to change notification settings

aliyun/alibabacloud-dms-mcp-server

Repository files navigation

English | 中文

AlibabaCloud DMS MCP Server

AI-powered unified data management gateway that supports connection to over 30+ data sources, serving as a multi-cloud universal data MCP Server to address cross-source data secure access in one-stop solution.

  • Supports full Alibaba Cloud series: RDS, PolarDB, ADB series, Lindorm series, TableStore series, MaxCompute series.
  • Supports mainstream databases/warehouses: MySQL, MariaDB, PostgreSQL, Oracle, SQLServer, Redis, MongoDB, StarRocks, Clickhouse, SelectDB, DB2, OceanBase, Gauss, BigQuery, etc.

Ding


Core Features

Provides AI with a unified data access layer and metadata access layer, solving through standardized interfaces:

  • Maintenance costs caused by data source fragmentation
  • Compatibility issues between heterogeneous protocols
  • Security risks from uncontrolled account permissions and non-auditable operations

Key features via MCP include:

  • NL2SQL: Execute SQL via natural language to obtain data results
  • Code Generation: Retrieve schema information through this service to generate DAO code or perform structural analysis
  • Data Retrieval: Automatically route SQL to accurate data sources for business support
  • Security: Fine-grained access control and auditability

Supported Data Sources

DataSource/Tool NL2SQL nlsql Execute script executeScript Show schema getTableDetailInfo Access control default Audit log default
MySQL
MariaDB
PostgreSQL
Oracle
SQLServer
Redis
MongoDB
StarRocks
Clickhouse
SelectDB
DB2
OceanBase
Gauss
BigQuery
PolarDB
PolarDB-X
AnalyticDB
Lindorm
TableStore
Maxcompute
Hologres

Getting Started

Download the Code

git clone https://github.com/aliyun/alibabacloud-dms-mcp-server.git

Configure MCP Client

Add the following content to the configuration file:

"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": "access_id",
      "ALIBABA_CLOUD_ACCESS_KEY_SECRET": "access_key",
      "ALIBABA_CLOUD_SECURITY_TOKEN": "sts_security_token optional, required when using STS Token"
    }
  }
}

Contact us

For any questions or suggestions, join theAlibaba Cloud DMS MCP Group (DingTalk Group ID: 113455011677) .

Ding

License

This project is licensed under the Apache 2.0 License.

About

A universal multi-cloud data MCP Server supporting over 30 types of data source connections, providing secure, cross-source data access in a single platform.
Supports full range of Alibaba Cloud services and Mainstream databases/data warehouses.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages