AnalyticDB for MySQL MCP Server is a universal interface between AI Agents and [AnalyticDB MySQL](https://www.alibabacloud.com/zh/product/analyticdb-f
If you already use Alibabacloud Adb Mysql, the alibabacloud adb mysql mcp server is the piece that lets your assistant work with it directly. AnalyticDB for MySQL MCP Server is a universal interface between AI Agents and AnalyticDB MySQL. It provides two tool groups:.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
describe_db_clusters — List ADB MySQL clusters in a regiondescribe_db_cluster_attribute — Get detailed cluster attributesdescribe_cluster_access_whitelist — Get cluster IP whitelistmodify_cluster_access_whitelist — Modify cluster IP whitelistdescribe_accounts — List database accounts in a clusterdescribe_cluster_net_info — Get cluster network connection infoget_current_time — Get current server timedescribe_db_cluster_performance — Query cluster performance metrics (CPU, memory, QPS, etc.)describe_db_cluster_health_status — Query cluster health statusdescribe_diagnosis_records — Query SQL diagnosis summary recordsdescribe_diagnosis_sql_info — Get SQL execution details (plan, runtime info)describe_bad_sql_detection — Detect bad SQL impacting cluster stabilityConfiguration is passed through the environment: ADB_MYSQL_HOST, ADB_MYSQL_PORT, ADB_MYSQL_USER, ADB_MYSQL_PASSWORD, ADB_MYSQL_DATABASE, MCP_TOOLSETS, ALIBABA_CLOUD_ACCESS_KEY_ID, ALIBABA_CLOUD_ACCESS_KEY_SECRET. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
This sits in the database access group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Alibabacloud Adb Mysql's toolset — describe_db_clusters, describe_db_cluster_attribute, describe_cluster_access_whitelist and 11 more — is a fair guide to whether it matches your workflow. It is maintained by aliyun; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Alibabacloud Adb Mysql's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| describe_db_clusters | List ADB MySQL clusters in a region |
| describe_db_cluster_attribute | Get detailed cluster attributes |
| describe_cluster_access_whitelist | Get cluster IP whitelist |
| modify_cluster_access_whitelist | Modify cluster IP whitelist |
| describe_accounts | List database accounts in a cluster |
| describe_cluster_net_info | Get cluster network connection info |
| get_current_time | Get current server time |
| describe_db_cluster_performance | Query cluster performance metrics (CPU, memory, QPS, etc.) |
| describe_db_cluster_health_status | Query cluster health status |
| describe_diagnosis_records | Query SQL diagnosis summary records |
| describe_diagnosis_sql_info | Get SQL execution details (plan, runtime info) |
| describe_bad_sql_detection | Detect bad SQL impacting cluster stability |
| describe_sql_patterns | Query SQL pattern list |
| describe_table_statistics | Query table-level statistics |
{
"mcpServers": {
"adb-mysql-mcp-server": {
"name": "adb-mysql-mcp-server",
"type": "stdio",
"isActive": true,
"command": "uv",
"args": [
"--directory",
"/path/to/alibabacloud-adb-mysql-mcp-server",
"run",
"adb-mysql-mcp-server"
],
"env": {
"ADB_MYSQL_HOST": "your_adb_mysql_host",
"ADB_MYSQL_PORT": "3306",
"ADB_MYSQL_USER": "your_username",
"ADB_MYSQL_PASSWORD": "your_password",
"ADB_MYSQL_DATABASE": "your_database",
"MCP_TOOLSETS": "sql"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| ADB_MYSQL_HOST | Endpoint or connection string the server talks to. | Optional |
| ADB_MYSQL_PORT | Configuration value read at startup. | Optional |
| ADB_MYSQL_USER | Configuration value read at startup. | Optional |
| ADB_MYSQL_PASSWORD | Configuration value read at startup. | Optional |
| ADB_MYSQL_DATABASE | Configuration value read at startup. | Optional |
| MCP_TOOLSETS | Configuration value read at startup. | Optional |
| ALIBABA_CLOUD_ACCESS_KEY_ID | Credential the server authenticates with. | Yes |
| ALIBABA_CLOUD_ACCESS_KEY_SECRET | Credential the server authenticates with. | Yes |
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.
Serverless Postgres with database branching — point your assistant at Neon and let it work on disposable copies.