Alibabacloud Dms MCP Server

Configure the following parameters in DMS MCP Server: ```ini CONNECTION_STRING = ecommerce@10.20.30.40:3306 ``` Simply ask questions in natural

Local serverstdioPython

What is the Alibabacloud Dms MCP Server?

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.

What Alibabacloud Dms does

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.

Requirements

  • uv is installed - Python 3.10+ is installed - An AK/SK or STS Token with access rights to Alibaba Cloud DMS(AliyunDMSFullAccess).Add permission operations, see [Authorization

Practical notes

  • Maintained by aliyun, written in Python.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
addInstanceAdds an instance to DMS. Only Aliyun instances are supported.
listInstancesSearch for instances from DMS.
getInstanceRetrieves detailed information about an instance based on host and port.
searchDatabaseSearches databases based on schemaName.
getDatabaseRetrieves detailed information about a specific database.
listTablesLists tables under a specified database.
getTableDetailInfoRetrieves detailed information about a specific table.
executeScriptExecutes an SQL script and returns the result.
createDataChangeOrderCreates a data change order in DMS.
getOrderInfoRetrieves order information from DMS.
submitOrderApprovalSubmits the order for approval in DMS.
approveOrderApproves or rejects an order in DMS.
generateSqlConverts natural language questions into SQL queries.
askDatabaseNatural language querying of a database (NL2SQL + execute SQL).
fixSqlAnalyzes and fixes SQL errors.
answerSqlSyntaxAnswers SQL syntax-related questions.
optimizeSqlAnalyzes and optimizes SQL performance.

How to install the Alibabacloud Dms MCP Server

{
  "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_ALIBABA_CLOUD_ACCESS_KEY_ID",
        "ALIBABA_CLOUD_ACCESS_KEY_SECRET": "YOUR_ALIBABA_CLOUD_ACCESS_KEY_SECRET",
        "ALIBABA_CLOUD_SECURITY_TOKEN": "YOUR_ALIBABA_CLOUD_SECURITY_TOKEN"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • uv is installed - Python 3.10+ is installed - An AK/SK or STS Token with access rights to Alibaba Cloud DMS(AliyunDMSFullAccess).Add permission operations, see [Authorization
VariableDescriptionRequired
ALIBABA_CLOUD_ACCESS_KEY_IDDeclared in the maintainer’s client configuration.Check documentation
ALIBABA_CLOUD_ACCESS_KEY_SECRETDeclared in the maintainer’s client configuration.Check documentation
ALIBABA_CLOUD_SECURITY_TOKENDeclared in the maintainer’s client configuration.Yes

Frequently asked questions

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 Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.