MCP server for RDS Services via OPENAPI
- Install
uvfrom Astral or the GitHub README - Install Python using
uv python install 3.12 - Alibaba Cloud credentials with access to Alibaba Cloud RDS services
Download from Github
git clone https://github.com/aliyun/alibabacloud-rds-openapi-mcp-server.gitUsing cherry-studio (Recommended)
Add the following configuration to the MCP client configuration file:
"mcpServers": { "rds-openapi-mcp-server": { "command": "uv", "args": [ "--directory", "/path/to/alibabacloud-rds-openapi-mcp-server/src/rds_openapi_mcp_server", "run", "server.py" ], "env": { "ALIBABA_CLOUD_ACCESS_KEY_ID": "access_id", "ALIBABA_CLOUD_ACCESS_KEY_SECRET": "access_key" } } }Set you env and run mcp server.
# set env export SERVER_TRANSPORT=sse; export ALIBABA_CLOUD_ACCESS_KEY_ID=$you_access_id; export ALIBABA_CLOUD_ACCESS_KEY_SECRET=$you_access_key; # run mcp server uv --directory alibabacloud-rds-openapi-mcp-server/src/rds_openapi_mcp_server run server.pyAfter run mcp server, you will see the following output:
INFO: Started server process [91594] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)And then configure the Cline.
remote_server = "http://127.0.0.1:8000/sse";Add the following configuration to the MCP client configuration file:
"mcpServers": { "rds-openapi-mcp-server": { "command": "uv", "args": [ "--directory", "/path/to/alibabacloud-rds-openapi-mcp-server/src/rds_openapi_mcp_server", "run", "server.py" ], "env": { "ALIBABA_CLOUD_ACCESS_KEY_ID": "access_id", "ALIBABA_CLOUD_ACCESS_KEY_SECRET": "access_key" } } }create_db_instance: Create an RDS instance.describe_db_instances: Queries instances.describe_db_instance_attribute: Queries the details of an instance.describe_db_instance_metrics: Queries the performance data、error log and sql reports of an instance.describe_available_classes: Query available instance classes and storage ranges.describe_available_zones: Query available zones for RDS instances.describe_vpcs: Query VPC list.describe_vswitches: Query VSwitch list.describe_slow_log_records: Query slow log records for an RDS instance.modify_parameter: Modify RDS instance parameters.modify_db_instance_spec: Modify RDS instance specifications.
None at this time
None at this time
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the Apache 2.0 License.