Alibaba Cloud RDS (OpenAPI)

v1.0.0Cloud Servicesstable

MCP server for RDS Services via OPENAPI.

aimcprds
Share:
53
Stars
0
Downloads
0
Weekly
0/5

What is Alibaba Cloud RDS (OpenAPI)?

Alibaba Cloud RDS (OpenAPI) is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for rds services via openapi.

MCP server for RDS Services via OPENAPI.

This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP server for RDS Services via OPENAPI.

Use Cases

RDS service management
Alibaba Cloud database operations
aliyun

Maintainer

LicenseApache-2.0
Languagepython
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx alibabacloud-rds-openapi

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Alibaba Cloud RDS (OpenAPI)

The Alibaba Cloud RDS OpenAPI MCP Server provides AI agents with natural language access to Alibaba Cloud Relational Database Service (RDS) management through the official Alibaba Cloud OpenAPI. It supports instance lifecycle management, account and whitelist configuration, monitoring queries, SQL analysis including EXPLAIN and slow log review, and read-only SQL execution against connected RDS instances. Database administrators and cloud engineers use it to manage Alibaba Cloud RDS resources through Claude without writing OpenAPI calls manually.

Prerequisites

  • Python 3.12 or later and the uv package manager installed
  • An Alibaba Cloud account with an active RAM user that has RDS-related OpenAPI permissions
  • Alibaba Cloud Access Key ID and Access Key Secret for your RAM user
  • An MCP-compatible client such as Claude Desktop or Cline
1

Install uv and Python 3.12

The server requires Python 3.12 and uv. Install uv from Astral, then use it to install the required Python version.

curl -LsSf https://astral.sh/uv/install.sh | sh
uv python install 3.12
2

Clone the repository

Clone the official Alibaba Cloud RDS MCP server repository.

git clone https://github.com/aliyun/alibabacloud-rds-openapi-mcp-server.git
cd alibabacloud-rds-openapi-mcp-server
3

Install Python dependencies

Use uv to install the project dependencies in a virtual environment.

uv venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
uv pip install -e .
4

Configure your Alibaba Cloud credentials

Prepare your Access Key ID and Secret. These will be passed as environment variables in the MCP client config. Never commit credentials to source control.

5

Add the server to your MCP client configuration

Edit your MCP client config to register the server with your Alibaba Cloud credentials as environment variables. Choose the MCP_TOOLSETS value based on required access level: rds for standard, rds_custom_read for read-only, rds_custom_all for full access.

6

Restart your MCP client and test an RDS query

Restart Claude Desktop (or your chosen client), then ask it to list your RDS instances or describe a specific instance to confirm the connection.

Alibaba Cloud RDS (OpenAPI) Examples

Client configuration

Add this to claude_desktop_config.json, replacing paths and credentials with your actual values.

{
  "mcpServers": {
    "alibabacloud-rds": {
      "command": "uv",
      "args": [
        "--directory",
        "/absolute/path/to/alibabacloud-rds-openapi-mcp-server/src",
        "run",
        "server.py"
      ],
      "env": {
        "ALIBABA_CLOUD_ACCESS_KEY_ID": "your-access-key-id",
        "ALIBABA_CLOUD_ACCESS_KEY_SECRET": "your-access-key-secret",
        "MCP_TOOLSETS": "rds"
      }
    }
  }
}

Prompts to try

Once connected, use these prompts to manage and query your Alibaba Cloud RDS instances.

- "List all my RDS instances in the cn-hangzhou region and show their status"
- "Show me the slow query logs for instance rm-xxx from the last 24 hours"
- "Run EXPLAIN on this SELECT query and tell me if there are any missing indexes"
- "What are the current monitoring metrics for my primary RDS instance?"
- "Add IP address 203.0.113.10 to the whitelist for instance rm-xxx"

Troubleshooting Alibaba Cloud RDS (OpenAPI)

Authentication error: InvalidAccessKeyId

Verify that ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET are correct and that the RAM user's access key is enabled in the Alibaba Cloud console.

Permission denied when calling RDS APIs

The RAM user must have AliyunRDSFullAccess or at minimum specific RDS OpenAPI permissions. Attach the appropriate policy in RAM console under the user's permission settings.

Server should not be exposed to the internet

Run the server on the loopback address (127.0.0.1) only. If non-loopback access is required, set an API_KEY environment variable and restrict access to trusted networks only.

Frequently Asked Questions about Alibaba Cloud RDS (OpenAPI)

What is Alibaba Cloud RDS (OpenAPI)?

Alibaba Cloud RDS (OpenAPI) is a Model Context Protocol (MCP) server that mcp server for rds services via openapi. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Alibaba Cloud RDS (OpenAPI)?

Follow the installation instructions on the Alibaba Cloud RDS (OpenAPI) GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Alibaba Cloud RDS (OpenAPI)?

Alibaba Cloud RDS (OpenAPI) works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Alibaba Cloud RDS (OpenAPI) free to use?

Yes, Alibaba Cloud RDS (OpenAPI) is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

Browse More Cloud Services MCP Servers

Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "alibabacloud-rds-openapi": { "command": "npx", "args": ["-y", "alibabacloud-rds-openapi"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Alibaba Cloud RDS (OpenAPI)?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides