What Alibaba Cloud databases does the server support?
It supports RDS MySQL, PolarDB MySQL, MongoDB, and Tair (Redis) – with operations like creating instances and executing SQL or commands.

@aliyun
基本情報
概要はまだありません
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"yaochi-db": {
"command": "<project-path>/alibabacloud-yaochi-db-mcp-server/.venv/bin/yaochi-db-mcp-server",
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "your-ak",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "your-sk",
"ALIBABA_CLOUD_REGION_ID": "cn-hangzhou",
"YAOCHI_ENABLE_WRITE_SQL": "true",
"YAOCHI_ENABLE_DDL_SQL": "true"
}
}
}
}Yaochi Database Agent — AI database advisor (diagnosis, best practices, architecture)
Create a database instance
List existing instances
Execute SQL via instance ID (ephemeral account, no password needed)
Direct connect to MySQL/PolarDB and execute SQL
Direct connect to MongoDB and execute commands
Direct connect to Tair/Redis and execute commands
Search databases in DMS
Execute SQL via DMS
Register instance to DMS
A database tool service built on the Model Context Protocol (MCP) that allows AI coding assistants (e.g., Cursor, Claude Desktop, Qoder) to directly operate Alibaba Cloud databases. It enables automatic database creation, SQL execution, and AI‑powered performance diagnosis — all without leaving the IDE.
Clone the repository, create a Python 3.10+ virtual environment, install with pip install ., and run yaochi-db-mcp-server (it enters stdio waiting mode). Then configure your AI client’s MCP settings with the command path and required environment variables (ALIBABA_CLOUD_ACCESS_KEY_ID, ALIBABA_CLOUD_ACCESS_KEY_SECRET, ALIBABA_CLOUD_REGION_ID).
It supports RDS MySQL, PolarDB MySQL, MongoDB, and Tair (Redis) – with operations like creating instances and executing SQL or commands.
It uses ephemeral accounts that are automatically created and destroyed per SQL execution, blocks dangerous SQL (e.g., DROP/TRUNCATE), restricts whitelist to the current IP only, and allows DML/DDL control via environment variables.
Python 3.10 or higher, and valid Alibaba Cloud AccessKey credentials (ID and Secret). The server expects those credentials as environment variables.
Yes, the `ask_yaochi_agent` tool provides AI‑powered diagnosis,
Universal MCP-Server for your Databases optimized for LLMs and AI-Agents.

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

Local database MCP server: your agent sees a migration's impact before it runs, for PostgreSQL, MySQL, SQL Server and SQLite, with no database credentials.
A MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.
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.
コメント