Alibaba Cloud Yaochi DB MCP Server

Yaochi Database AI Native MCP Server — One MCP Server to manage all Alibaba Cloud databases.

Local serverstdio

What is the Alibaba Cloud Yaochi DB MCP Server?

Alibaba Cloud Yaochi DB MCP Server is an MCP project maintained in the aliyun/alibabacloud-yaochi-db-mcp-server repository. The maintainer describes its purpose as “Yaochi Database AI Native MCP Server — One MCP Server to manage all Alibaba Cloud databases”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using <project-path>/alibabacloud-yaochi-db-mcp-server/.venv/bin/yaochi-db-mcp-server. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares ALIBABA_CLOUD_ACCESS_KEY_ID, ALIBABA_CLOUD_ACCESS_KEY_SECRET, ALIBABA_CLOUD_REGION_ID, YAOCHI_ENABLE_WRITE_SQL, YAOCHI_ENABLE_DDL_SQL. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

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
ask_yaochi_agentYaochi Database Agent — AI database advisor (diagnosis, best practices, architecture)
create_instanceCreate a database instance
list_instancesList existing instances
execute_instance_sqlExecute SQL via instance ID (ephemeral account, no password needed)
execute_mysqlDirect connect to MySQL/PolarDB and execute SQL
execute_mongoDirect connect to MongoDB and execute commands
execute_redisDirect connect to Tair/Redis and execute commands
search_databaseSearch databases in DMS
execute_sqlExecute SQL via DMS
register_to_dmsRegister instance to DMS

How to install the Alibaba Cloud Yaochi DB MCP Server

{
  "mcpServers": {
    "yaochi-db": {
      "command": "<project-path>/alibabacloud-yaochi-db-mcp-server/.venv/bin/yaochi-db-mcp-server",
      "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_REGION_ID": "cn-hangzhou",
        "YAOCHI_ENABLE_WRITE_SQL": "true",
        "YAOCHI_ENABLE_DDL_SQL": "true"
      }
    }
  }
}

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

Configuration

VariableDescriptionRequired
ALIBABA_CLOUD_ACCESS_KEY_IDDeclared in the maintainer’s client configuration.Yes
ALIBABA_CLOUD_ACCESS_KEY_SECRETDeclared in the maintainer’s client configuration.Yes
ALIBABA_CLOUD_REGION_IDDeclared in the maintainer’s client configuration.Check documentation
YAOCHI_ENABLE_WRITE_SQLDeclared in the maintainer’s client configuration.Check documentation
YAOCHI_ENABLE_DDL_SQLDeclared in the maintainer’s client configuration.Check documentation