本项目通过 OPENAPI 接口为 RDS 服务提供 MCP 服务器,助力用户更便捷地使用 RDS 服务。
uv。uv python install 3.12 安装 Python。根据 Cherry - Studio 文档 安装 MCP 环境,然后配置并使用 RDS MCP。 在 MCP 客户端配置文件中添加以下内容:
"mcpServers": {
"rds-openapi-mcp-server": {
"command": "uvx",
"args": [
"alibabacloud-rds-openapi-mcp-server@latest"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "access_id",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "access_key",
"ALIBABA_CLOUD_SECURITY_TOKEN": "sts_security_token" // 可选,使用 STS Token 时需要
}
}
}
# 下载并安装 uv 工具
curl -L https://github.com/astral-sh/uv/releases/download/v0.36.1/uv-linux-amd64.tar.gz | tar xz
chmod +x uv
# 创建配置文件
uv init --type=rds
# 启动 MCP 服务
uv start
create_db_instance - 初始化 RDS 实例。get_db_instance_info - 查询 RDS 实例详情。query_monitor_data - 获取 RDS 监控指标。analyze_performance - 评估 RDS 性能状态。manage_backup - 管理 RDS 备份任务。欢迎贡献!请随意提交 Pull Request。
git checkout -b feature/amazing - feature)。git commit -m '添加一些神奇的功能')。git push origin feature/amazing - feature)。本项目在 Apache 2.0 许可证下发行。