Configure the following parameters in DMS MCP Server: ```ini CONNECTION_STRING = ecommerce@10.20.30.40:3306 ``` Simply ask questions in natural
Alibabacloud dms mcp server lets Claude, Cursor and other MCP clients work with Alibabacloud Dms directly. Configure the following parameters in DMS MCP Server: ini CONNECTION_STRING = ecommerce@10.20.30.40:3306 Simply ask questions in natural language, and DMS MCP will parse the question into SQL and return the results.
Configure the following parameters in DMS MCP Server: ini CONNECTION_STRING = ecommerce@10.20.30.40:3306 Simply ask questions in natural language, and DMS MCP will parse the question into SQL and return the results.
Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.
Before the server will start you need to supply 7 environment variables: ALIBABA_CLOUD_ACCESS_KEY_ID, ALIBABA_CLOUD_ACCESS_KEY_SECRET, ALIBABA_CLOUD_SECURITY_TOKEN, CONNECTION_STRING, ALICLOUD_ACCESS_KEY_ID, ALICLOUD_ACCESS_KEY_SECRET, ALICLOUD_REGION_ID. Keep credentials in your client's env block or a secrets manager rather than committing them.
Database servers turn schema archaeology and ad-hoc reporting into conversation, which is why they tend to be the second or third server people install. Alibabacloud Dms sits in that group. Worth comparing against the other databases servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
**Single Database Mode**
```json
{
"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",
"CONNECTION_STRING": "dbName@host:port"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| ALIBABA_CLOUD_ACCESS_KEY_ID | Credential the server authenticates with. | Yes |
| ALIBABA_CLOUD_ACCESS_KEY_SECRET | Credential the server authenticates with. | Yes |
| ALIBABA_CLOUD_SECURITY_TOKEN | Credential the server authenticates with. | Yes |
| CONNECTION_STRING | Configuration value read at startup. | Optional |
| ALICLOUD_ACCESS_KEY_ID | Credential the server authenticates with. | Yes |
| ALICLOUD_ACCESS_KEY_SECRET | Credential the server authenticates with. | Yes |
| ALICLOUD_REGION_ID | Configuration value read at startup. | Optional |
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.