What are the prerequisites?
Python >= 3.13 and `uv` are required. For OpenAPI tools, an Alibaba Cloud AccessKey (ID and Secret) is needed. For SQL tools in direct‑connection mode, database host, port, username, and password are required.
@aliyun
基本信息
AnalyticDB for MySQL MCP Server
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"alibabacloud-adb-mysql-mcp-server": {
"command": "uv",
"args": [
"sync"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
AnalyticDB for MySQL MCP Server is a universal interface between AI Agents and Alibaba Cloud's AnalyticDB for MySQL. It provides two categories of capabilities: OpenAPI tools for managing clusters, whitelists, accounts, networking, monitoring, and diagnostics, and SQL tools for direct database query execution, execution plan viewing, and metadata browsing. Read-only tools are annotated per the MCP protocol to distinguish them from mutating operations.
Install by cloning the GitHub repository and running uv sync. Configure via environment variables: set ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET for OpenAPI tools, or ADB_MYSQL_HOST, ADB_MYSQL_PORT, ADB_MYSQL_USER, ADB_MYSQL_PASSWORD, and ADB_MYSQL_DATABASE for SQL tools. Run with uv --directory /path/to/alibabacloud-adb-mysql-mcp-server run adb-mysql-mcp-server. Transport can be stdio (default), SSE, or streamable HTTP, configured via SERVER_TRANSPORT and SERVER_PORT. Example configurations are provided for cherry-studio, Claude Code, and Cline.
Python >= 3.13 and `uv` are required. For OpenAPI tools, an Alibaba Cloud AccessKey (ID and Secret) is needed. For SQL tools in direct‑connection mode, database host, port, username, and password are required.
Set all relevant environment variables (both AccessKey and ADB MySQL credentials) simultaneously. If AccessKey is not configured, OpenAPI tools are automatically disabled and only SQL tools remain active.
The server supports stdio (default), SSE, and streamable HTTP transport. Use the `SERVER_TRANSPORT` environment variable to select the protocol and `SERVER_PORT` to set the port for SSE/HTTP (default 8000).
Yes. If `ADB_MYSQL_USER` and `ADB_MYSQL_PASSWORD` are not set but an AccessKey is available, a temporary database account is automatically created via OpenAPI for SQL execution and cleaned up afterward.
A Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
Local MCP server for DuckDB and MotherDuck

Verified golf club data for AI agents: holes, par, address, phone, booking links, facilities, visitor rules and green fees for golf clubs in Spain (Canary Islands and mainland), expanding across Europe. Every fact comes
评论