Skip to main content
Glama
Alibaba Cloud RDS OpenAPI MCP Server

Alibaba Cloud RDS OpenAPI MCP Server

Official
by aliyun

Alibaba Cloud RDS OpenAPI MCP サーバー

OPENAPI 経由の RDS サービス用の MCP サーバー

前提条件

  1. AstralまたはGitHubのREADMEからuvをインストールします。

  2. uv python install 3.12を使用して Python をインストールします。

  3. Alibaba Cloud RDS サービスにアクセスできる Alibaba Cloud の資格情報

Related MCP server: AlibabaCloud MCP Server

クイックスタート

Cherry-studioの使用(推奨)

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" // optional, required when using STS Token 
    }
  }
}

Clineの使用

環境を設定し、mcp サーバーを実行します。

# set env
export SERVER_TRANSPORT=sse;
export ALIBABA_CLOUD_ACCESS_KEY_ID=$you_access_id;
export ALIBABA_CLOUD_ACCESS_KEY_SECRET=$you_access_key;
export ALIBABA_CLOUD_SECURITY_TOKEN=$you_sts_security_token; # optional, required when using STS Token 

# run mcp server
uvx alibabacloud-rds-openapi-mcp-server@latest

mcp サーバーを実行すると、次の出力が表示されます。

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)

次に、Cline を構成します。

remote_server = "http://127.0.0.1:8000/sse";

クロードの使用

Githubからダウンロード

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

MCP クライアント構成ファイルに次の構成を追加します。

"mcpServers": {
  "rds-openapi-mcp-server": {
    "command": "uv",
    "args": [
      "--directory",
      "/path/to/alibabacloud-rds-openapi-mcp-server/src/alibabacloud_rds_openapi_mcp_server",
      "run",
      "server.py"
    ],
    "env": {
      "ALIBABA_CLOUD_ACCESS_KEY_ID": "access_id",
      "ALIBABA_CLOUD_ACCESS_KEY_SECRET": "access_key",
      "ALIBABA_CLOUD_SECURITY_TOKEN": "sts_security_token"  // optional, required when using STS Token
    }
  }
}

コンポーネント

ツール

  • create_db_instance : RDS インスタンスを作成します。

  • describe_db_instances : インスタンスを照会します。

  • describe_db_instance_attribute : インスタンスの詳細を照会します。

  • describe_db_instance_performance : インスタンスのパフォーマンス データを照会します。

  • describe_error_logs : インスタンスのエラー ログを照会します。

  • describe_db_instance_net_info : 複数の RDS インスタンスのネットワーク構成の詳細をバッチで取得します。

  • describe_db_instance_ip_allowlist : 複数の RDS インスタンスの IP 許可リスト構成をバッチで取得します。

  • describe_db_instance_databases : 複数の RDS インスタンスのデータベース情報をバッチで取得します。

  • describe_db_instance_accounts : 複数の RDS インスタンスのアカウント情報をバッチで取得します。

  • describe_available_classes : 利用可能なインスタンス クラスとストレージ範囲を照会します。

  • describe_available_zones : RDS インスタンスの利用可能なゾーンを照会します。

  • describe_bills : 特定の請求期間内のユーザーのすべての製品インスタンスまたは請求項目の消費量の概要を照会します。

  • describe_vpcs : VPC リストを照会します。

  • describe_vswitches : VSwitch リストを照会します。

  • describe_slow_log_records : RDS インスタンスのスローログレコードを照会します。

  • describe_db_instance_parameters : 複数の RDS インスタンスのパラメータ情報をバッチで取得します。

  • modify_parameter : RDS インスタンスパラメータを変更します。

  • modify_db_instance_spec : RDS インスタンスの仕様を変更します。

  • get_current_time : 現在の時刻を取得します。

リソース

現時点ではありません

プロンプト

# Role  
You are a professional Alibaba Cloud RDS Copilot, specializing in providing customers with efficient technical support and solutions for RDS (Relational Database Service). Your goal is to help customers resolve issues quickly through clear problem decomposition, precise tool invocation, and accurate time calculations.

## Skills  

### Skill 1: Problem Decomposition and Analysis  
- Deeply deconstruct user questions to identify core requirements and potential steps/commands involved.  
- Provide clear task breakdowns to ensure each step contributes to the final solution.
- Please organize your answers in a table format as much as possible.

### Skill 2: RDS MCP Tool Invocation  
- Proficiently invoke the RDS MCP tool to retrieve database information or execute operations.  
- Tool invocation must follow task decomposition and align with logical reasoning and customer needs.  
- Select appropriate MCP modules (e.g., monitoring data queries, performance diagnostics, backup/recovery) based on user requirements.  

### Skill 3: Time Interpretation and Calculation  
- Accurately parse relative time concepts like "today," "yesterday," or "the last hour."  
- Convert relative time expressions into precise time ranges or timestamps using the current time to support data queries or operations.  

## Constraints  
- **Task Decomposition First**: Always provide detailed task breakdowns.  
- **Tool Dependency Clarity**: All MCP tool invocations must be justified by clear task requirements and logical reasoning.  
- **Time Precision**: Calculate exact time ranges for time-sensitive queries.  
- **Professional Focus**: Discuss only Alibaba Cloud RDS-related technical topics.  
- **Safety Awareness**: Ensure no operations negatively impact customer databases.

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

  1. リポジトリをフォークする

  2. 機能ブランチを作成します( git checkout -b feature/amazing-feature )

  3. 変更をコミットします ( git commit -m 'Add some amazing feature' )

  4. ブランチにプッシュする ( git push origin feature/amazing-feature )

  5. プルリクエストを開く

ライセンス

このプロジェクトは、Apache 2.0 ライセンスに基づいてライセンスされます。

Available Tools

36 tools
add_tags_to_db_instanceC
add tags to db instance.
Args:
    region_id: The region ID of the RDS instance.
    db_instance_id: The ID of the RDS instance.
    tags: The tags to be added to the RDS instance.
Returns:
    dict[str, Any]: The response.

Inputs: tags (required), region_id (required), db_instance_id (required).

allocate_instance_public_connectionC
allocate db instance public connection.
Args:
    region_id: The region ID of the RDS instance.
    db_instance_id: The ID of the RDS instance.
    connection_string_prefix: The prefix of connection string.
Returns:
    dict[str, Any]: The response.

Inputs: region_id (required), db_instance_id (required), port, connection_string_prefix.

attach_whitelist_template_to_instanceD
allocate db instance public connection.
Args:
    region_id: The region ID of the RDS instance.
    db_instance_id: The ID of the RDS instance.
    template_id: Whitelist Template ID. Can be obtained via DescribeAllWhitelistTemplate.
Returns:
    dict[str, Any]: The response.

Inputs: region_id (required), template_id (required), db_instance_id (required).

create_db_instanceB

Create an RDS instance.

Args:
    region_id: Region ID.
    engine: Database type (MySQL, SQLServer, PostgreSQL, MariaDB).
    engine_version: Database version.
    dbinstance_class: Instance specification. Query available class_codes by `describe_available_classes`.
    dbinstance_storage: Storage space in GB.
    security_ip_list: IP whitelist, separated by commas. Default: "127.0.0.1".
    instance_network_type: Network type (Classic, VPC). Default: VPC.
    zone_id: Zone ID. Query available zones by `describe_available_zones`.
    zone_id_slave1: Slave Node1 Zone ID. Query available zones by `describe_available_zones`.
    zone_id_slave2: Slave Node2 Zone ID. Query available zones by `describe_available_zones`.
    pay_type: Payment type (Postpaid, Prepaid). Default: Postpaid.
    instance_charge_type: Instance charge type.
    system_db_charset: Character set.
    dbinstance_net_type: Network connection type (Internet, Intranet). Default: Internet.
    category: Instance category. Default: Basic.
    dbinstance_storage_type: Storage type. (e.g. local_ssd,general_essd,cloud_essd,cloud_essd2,cloud_essd3)
    vpc_id: VPC ID.
    vswitch_id: VSwitch ID.
    private_ip_address: Private IP address.
    client_token: Idempotence token.
    resource_group_id: Resource group ID.
    tde_status: TDE status (Enable, Disable).
    encryption_key: Custom encryption key.
    serverless_config: Serverless instance configuration.
    table_names_case_sensitive: Are table names case-sensitive.
    db_time_zone: the db instance time zone.
    connection_string: the connection string for db instance.
    db_param_group_id: the db param group id for db instance.
Returns:
    Dict[str, Any]: Response containing the created instance details.

Inputs: engine (required), vpc_id (required), zone_id (required), region_id (required), +23 more. Returns: result

create_db_instance_accountC
Create a new account for an RDS instance.
Args:
    region_id: The region ID of the RDS instance.
    db_instance_id: The ID of the RDS instance.
    account_name: The name of the new account.
    account_password: The password for the new account.
    account_description: The description for the new account.
    account_type: The type of the new account. (e.g. Normal,Super)
Returns:
     dict[str, Any]: The response.

Inputs: region_id (required), account_name (required), db_instance_id (required), account_password (required), +2 more.

describe_all_whitelist_templateB
Read-only
describe all whitelist template.
Args:
    region_id: The region ID of the RDS instance.
    template_name: The ID of the RDS instance.
Returns:
    List[Dict[str, Any]]: The response contains all whitelist template information.

Inputs: region_id (required), template_name. Returns: result

describe_available_classesA
Read-only

Query the RDS instance class_code and storage space that can be purchased in the inventory.

Args:
    region_id: The region ID of the RDS instance.
    zone_id: The zone ID of the RDS instance. Query available zones by `describe_available_zones`.
    instance_charge_type: Instance payment type. Values: Prepaid, Postpaid, Serverless.
    engine: Database engine type. Values: MySQL, SQLServer, PostgreSQL, MariaDB.
    engine_version: Database version.
    dbinstance_storage_type: Storage type. Values: local_ssd,general_essd,cloud_essd,cloud_essd2,cloud_essd3
    category: Instance category. Values: Basic, HighAvailability, cluster, AlwaysOn, Finance, serverless_basic, serverless_standard, serverless_ha.
    dbinstance_id: The ID of the RDS instance.
    order_type: Order type. Currently only supports "BUY".
    commodity_code: Commodity code for read-only instances.

Returns:
    Dict[str, Any]: The response containing available instance classes and storage ranges.

Inputs: engine (required), zone_id (required), category (required), region_id (required), +6 more. Returns: result

describe_available_zonesA
Read-only

Query available zones for RDS instances.

Args:
    region_id: Region ID.
    engine: Database type (MySQL, SQLServer, PostgreSQL, MariaDB).
    engine_version: Database version.
        MySQL: 5.5, 5.6, 5.7, 8.0
        SQL Server: 2008r2, 2012, 2014, 2016, 2017, 2019
        PostgreSQL: 10.0, 11.0, 12.0, 13.0, 14.0, 15.0
        MariaDB: 10.3
    commodity_code: Commodity code.
        bards: Pay-as-you-go primary instance (China site)
        rds: Subscription primary instance (China site)
        rords: Pay-as-you-go read-only instance (China site)
        rds_rordspre_public_cn: Subscription read-only instance (China site)
        bards_intl: Pay-as-you-go primary instance (International site)
        rds_intl: Subscription primary instance (International site)
        rords_intl: Pay-as-you-go read-only instance (International site)
        rds_rordspre_public_intl: Subscription read-only instance (International site)
        rds_serverless_public_cn: Serverless instance (China site)
        rds_serverless_public_intl: Serverless instance (International site)
    zone_id: Zone ID.
    dispense_mode: Whether to return zones that support single-zone deployment.
        1: Return (default)
        0: Do not return
    dbinstance_name: Primary instance ID. Required when querying read-only instance resources.
    category: Instance category.
        Basic: Basic Edition
        HighAvailability: High-availability Edition
        cluster: MySQL Cluster Edition
        AlwaysOn: SQL Server Cluster Edition
        Finance: Enterprise Edition
        serverless_basic: Serverless Basic Edition
        serverless_standard: MySQL Serverless High-availability Edition
        serverless_ha: SQL Server Serverless High-availability Edition

Returns:
    Dict[str, Any]: Response containing available zones information.

Inputs: engine (required), region_id (required), zone_id, category, +4 more. Returns: result

describe_billsB
Read-only
Query the consumption summary of all product instances or billing items for a user within a specific billing period.
Args:
    billing_cycles: bill cycle YYYY-MM, e.g. 2020-03
    db_instance_id: DB instance id (e.g., "rm-xxx")
    is_billing_item: Whether to pull data according to the billing item dimension.
Returns:
    str: billing information.

Inputs: billing_cycles (required), db_instance_id, is_billing_item. Returns: object

describe_db_instance_accountsA
Read-only
Batch retrieves account information for multiple RDS instances.
Args:
    region_id: The region ID of the RDS instance.
    db_instance_ids: List of DB instance identifiers (e.g., ["rm-uf6wjk5****", "db-instance-01"])
Returns:
    list[dict]: A list of dictionaries containing account information for each instance.

Inputs: region_id (required), db_instance_ids (required). Returns: result

describe_db_instance_attributeA
Read-only
Queries the details of an instance.
Args:
    region_id: db instance region(e.g. cn-hangzhou)
    db_instance_id: db instance id(e.g. rm-xxx)
:return:

Inputs: region_id (required), db_instance_id (required).

describe_db_instance_databasesA
Read-only
Batch retrieves database information for multiple RDS instances.
Args:
    region_id: The region ID of the RDS instance.
    db_instance_ids: List of DB instance identifiers (e.g., ["rm-uf6wjk5****", "db-instance-01"])
Returns:
    list[dict]: A list of dictionaries containing database information for each instance.

Inputs: region_id (required), db_instance_ids (required). Returns: result

describe_db_instance_ip_allowlistA
Read-only
Batch retrieves IP allowlist configurations for multiple RDS instances.
Args:
    region_id: The region ID of the RDS instance.
    db_instance_ids: List of DB instance identifiers (e.g., ["rm-uf6wjk5****", "db-instance-01"])
Returns:
    list[dict]: A list of dictionaries containing network configuration details for each instance.

Inputs: region_id (required), db_instance_ids (required). Returns: result

describe_db_instance_net_infoA
Read-only
Batch retrieves network configuration details for multiple RDS instances.
Args:
    region_id: The region ID of the RDS instance.
    db_instance_ids: List of DB instance identifiers (e.g., ["rm-uf6wjk5****", "db-instance-01"])
Returns:
    list[dict]: A list of dictionaries containing network configuration details for each instance.

Inputs: region_id (required), db_instance_ids (required). Returns: result

describe_db_instance_parametersA
Read-only
Batch retrieves parameter information for multiple RDS instances.
Args:
    region_id: The region ID of the RDS instance.
    db_instance_ids: List of DB instance identifiers (e.g., ["rm-uf6wjk5****", "db-instance-01"])
    paramters: List of parameter names (e.g., ["max_connections", "innodb_buffer_pool_size"])
Returns:
    list[dict]: A list of dictionaries containing parameter information(ParamGroupInfo,ConfigParameters,RunningParameters) foreach instance.

Inputs: region_id (required), db_instance_ids (required), paramters. Returns: object

describe_db_instance_performanceB
Read-only
Queries the performance data of an instance using the RDS OpenAPI.
This method provides performance data collected from the RDS service, such as MemCpuUsage, QPSTPS, Sessions, ThreadStatus, MBPS, etc.

Args:
    region_id: db instance region(e.g. cn-hangzhou)
    db_instance_id: db instance id(e.g. rm-xxx)
    db_type: the db instance database type(e.g. mysql,pgsql,sqlserver)
    perf_keys: Performance Key  (e.g. ["MemCpuUsage", "QPSTPS", "Sessions", "COMDML", "RowDML", "ThreadStatus", "MBPS", "DetailedSpaceUsage"])
    start_time: start time(e.g. 2023-01-01 00:00)
    end_time: end time(e.g. 2023-01-01 00:00)

Inputs: db_type (required), end_time (required), perf_keys (required), region_id (required), +2 more.

describe_db_instancesC
Read-only
Queries instances.
Args:
    region_id: queries instances in region id(e.g. cn-hangzhou)
:return:

Inputs: region_id (required).

describe_error_logsA
Read-only
Query error logs of an RDS instance.
Args:
    region_id: The region ID of the RDS instance.
    db_instance_id: The ID of the RDS instance.
    start_time: The start time of the query. Format: yyyy-MM-dd HH:mm.
    end_time: The end time of the query. Format: yyyy-MM-dd HH:mm.
    page_size: The number of records per page. Range: 30~100. Default: 30.
    page_number: The page number. Default: 1.
Returns:
    Dict[str, Any]: A dictionary containing error log information

Inputs: end_time (required), region_id (required), start_time (required), db_instance_id (required), +2 more. Returns: result

describe_instance_linked_whitelist_templateD
Read-only
describe instance linked whitelist template.
Args:
    region_id: The region ID of the RDS instance.
    db_instance_id: The ID of the RDS instance.
Returns:
    dict[str, Any]: The response.

Inputs: region_id (required), db_instance_id (required).

describe_monitor_metricsA
Read-only
Queries performance and diagnostic metrics for an instance using the DAS (Database Autonomy Service) API.
This method provides extra monitoring and diagnostic data which cannot be queried by describe_db_instance_performance, such as IOPSUsage, MdlLockSession, etc.

Args:
    dbinstance_id (str): The ID of the RDS instance.
    metrics_list (list[str]): The metrics to query. (e.g. ["IOBytesPS", "IOPSUsage", "MdlLockSession", "DiskUsage"])
    db_type (str): The type of the database. (e.g. "mysql")
    start_time(str): the start time. e.g. 2025-06-06 20:00:00
    end_time(str): the end time. e.g. 2025-06-06 20:10:00
Returns:
    the monitor metrics information.

Inputs: db_type (required), end_time (required), start_time (required), metrics_list (required), +1 more.

describe_slow_log_recordsA
Read-only

Query slow log records for an RDS instance.

Args:
    region_id: The region ID of the RDS instance.
    dbinstance_id: The ID of the RDS instance.
    start_time: Start time in format: yyyy-MM-dd HH:mm.
        Cannot be earlier than 30 days before the current time.
    end_time: End time in format: yyyy-MM-dd HH:mm.
        Must be later than the start time.
    sqlhash: The unique identifier of the SQL statement in slow log statistics.
        Used to get slow log details for a specific SQL statement.
    db_name: The name of the database.
    page_size: Number of records per page. Range: 30-100. Default: 30.
    page_number: Page number. Must be greater than 0 and not exceed Integer max value. Default: 1.
    node_id: Node ID. Only applicable to cluster instances.
        If not specified, logs from the primary node are returned by default.

Returns:
    Dict[str, Any]: The response containing slow log records.

Inputs: end_time (required), region_id (required), start_time (required), dbinstance_id (required), +5 more. Returns: result

describe_sql_insight_statisticB
Read-only
Query SQL Log statistics, including SQL cost time, execution times, and account.
Args:
    dbinstance_id (str): The ID of the RDS instance.
    start_time(str): the start time of sql insight statistic. e.g. 2025-06-06 20:00:00
    end_time(str): the end time of sql insight statistic. e.g. 2025-06-06 20:10:00
Returns:
    the sql insight statistic information in csv format.

Inputs: end_time (required), start_time (required), dbinstance_id (required). Returns: result

describe_vpcsA
Read-only

Query VPC list.

Args:
    region_id: The region ID of the VPC.
    vpc_id: The ID of the VPC. Up to 20 VPC IDs can be specified, separated by commas.
    vpc_name: The name of the VPC.
    resource_group_id: The resource group ID of the VPC to query.
    page_number: The page number of the list. Default: 1.
    page_size: The number of entries per page. Maximum value: 50. Default: 10.
    vpc_owner_id: The Alibaba Cloud account ID of the VPC owner.
    tags: The tags of the resource.

Returns:
    Dict[str, Any]: The response containing the list of VPCs.

Inputs: region_id (required), tags, vpc_id, vpc_name, +4 more. Returns: result

describe_vswitchesA
Read-only

Query VSwitch list.

Args:
    region_id: The region ID of the VSwitch. At least one of region_id or vpc_id must be specified.
    vpc_id: The ID of the VPC to which the VSwitch belongs. At least one of region_id or vpc_id must be specified.
    vswitch_id: The ID of the VSwitch to query.
    zone_id: The zone ID of the VSwitch.
    vswitch_name: The name of the VSwitch.
    resource_group_id: The resource group ID of the VSwitch.
    page_number: The page number of the list. Default: 1.
    page_size: The number of entries per page. Maximum value: 50. Default: 10.

Returns:
    Dict[str, Any]: The response containing the list of VSwitches.

Inputs: vpc_id, zone_id, page_size, region_id, +5 more. Returns: result

explain_sqlB
Read-only
show sql execute plan
Args:
    dbinstance_id (str): The ID of the RDS instance.
    region_id(str): the region id of instance.
    db_name(str): the db name for table.
    sql(str): the target sql.
Returns:
    the sql execute plan.

Inputs: sql (required), db_name (required), region_id (required), dbinstance_id (required). Returns: result

get_current_timeA
Read-only

Get the current time.

Returns:
    Dict[str, Any]: The response containing the current time.

Inputs: no named parameters. Returns: result

modify_db_instance_descriptionC
modify db instance description.
Args:
    region_id: The region ID of the RDS instance.
    db_instance_id: The ID of the RDS instance.
    description: The RDS instance description.
Returns:
    dict[str, Any]: The response.

Inputs: region_id (required), description (required), db_instance_id (required).

modify_db_instance_specB

Modify RDS instance specifications.

Args:
    region_id: The region ID of the RDS instance.
    dbinstance_id: The ID of the RDS instance.
    dbinstance_class: Target instance specification.
    dbinstance_storage: Target storage space in GB.
    pay_type: Instance payment type. Values: Postpaid, Prepaid, Serverless.
    effective_time: When the new configuration takes effect. Values: Immediate, MaintainTime, ScheduleTime.
    switch_time: Scheduled switch time in format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
    switch_time_mode: Switch time mode. Values: Immediate, MaintainTime, ScheduleTime.
    source_biz: Source business type.
    dedicated_host_group_id: Dedicated host group ID.
    zone_id: Zone ID.
    vswitch_id: VSwitch ID.
    category: Instance category.
    instance_network_type: Instance network type.
    direction: Specification change direction. Values: UP, DOWN.
    auto_pause: Whether to enable auto pause for Serverless instances.
    max_capacity: Maximum capacity for Serverless instances.
    min_capacity: Minimum capacity for Serverless instances.
    switch_force: Whether to force switch for Serverless instances.
    client_token: Client token for idempotency, max 64 ASCII characters.

Returns:
    Dict[str, Any]: The response containing the request ID.

Inputs: region_id (required), dbinstance_id (required), zone_id, category, +16 more. Returns: result

modify_parameterA

Modify RDS instance parameters.

Args:
    region_id: The region ID of the RDS instance.
    dbinstance_id: The ID of the RDS instance.
    parameters (Dict[str, str], optional): Parameters and their values in JSON format.
        Example: {"delayed_insert_timeout": "600", "max_length_for_sort_data": "2048"}
    parameter_group_id: Parameter template ID.
    forcerestart: Whether to force restart the database. Default: False.
    switch_time_mode: Execution time mode. Values: Immediate, MaintainTime, ScheduleTime. Default: Immediate.
    switch_time: Scheduled execution time in format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
    client_token: Client token for idempotency, max 64 ASCII characters.

Returns:
    Dict[str, Any]: The response containing the request ID.

Inputs: region_id (required), dbinstance_id (required), parameters, switch_time, +4 more. Returns: result

modify_security_ipsB

modify security ips。

Args:
    region_id (str): RDS instance region id.
    dbinstance_id (str): RDS instance id.
    security_ips (str): security ips list, separated by commas.
    whitelist_network_type (str, optional): whitelist network type.
        - MIX: mixed network type
        - Classic: classic network
        - VPC: vpc
        default value: MIX
    security_ip_type (str, optional): security ip type.
        - normal: normal security ip
        - hidden: hidden security ip
    dbinstance_ip_array_name (str, optional): security ip array name.
    dbinstance_ip_array_attribute (str, optional): security ip array attribute.
        - hidden: hidden security ip
        - normal: normal security ip
    client_token (str, optional): idempotency token, max 64 ascii characters.

Returns:
    Dict[str, Any]: response contains request id.

Inputs: region_id (required), security_ips (required), dbinstance_id (required), client_token, +4 more. Returns: result

query_sqlB
Read-only
execute read-only sql likes show xxx, select xxx
Args:
    dbinstance_id (str): The ID of the RDS instance.
    region_id(str): the region id of instance.
    db_name(str): the db name for execute sql.
    sql(str): the sql to be executed.
Returns:
    the sql result.

Inputs: sql (required), db_name (required), region_id (required), dbinstance_id (required). Returns: result

restart_db_instanceA

Restart an RDS instance.

Args:
    region_id (str): The region ID of the RDS instance.
    dbinstance_id (str): The ID of the RDS instance.
    effective_time (str, optional): When to restart the instance. Options:
        - Immediate: Restart immediately
        - MaintainTime: Restart during maintenance window
        - ScheduleTime: Restart at specified time
        Default: Immediate
    switch_time (str, optional): The scheduled restart time in format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
        Required when effective_time is ScheduleTime.
    client_token (str, optional): Idempotency token, max 64 ASCII characters.

Returns:
    Dict[str, Any]: Response containing the request ID.

Inputs: region_id (required), dbinstance_id (required), switch_time, client_token, +1 more. Returns: result

show_create_tableB
Read-only
show create table db_name.table_name
Args:
    dbinstance_id (str): The ID of the RDS instance.
    region_id(str): the region id of instance.
    db_name(str): the db name for table.
    table_name(str): the table name.
Returns:
    the sql result.

Inputs: db_name (required), region_id (required), table_name (required), dbinstance_id (required). Returns: result

show_engine_innodb_statusB
Read-only
show engine innodb status in db.
Args:
    dbinstance_id (str): The ID of the RDS instance.
    region_id(str): the region id of instance.
Returns:
    the sql result.

Inputs: region_id (required), dbinstance_id (required). Returns: result

show_largest_tableA
Read-only

Query the top few tables with the highest space occupancy

Inputs: region_id (required), dbinstance_id (required), topK. Returns: result

show_largest_table_fragmentB
Read-only

Query the tables with the largest table fragments

Inputs: region_id (required), dbinstance_id (required), topK. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 36 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes, but there is some overlap between describe_db_instance_performance and describe_monitor_metrics (both query metrics), and a few tools like query_sql vs show_* tools could be confused. Additionally, attach_whitelist_template_to_instance has an incorrect description matching allocate_instance_public_connection, which may mislead agents.

    Naming Consistency4/5

    The naming generally follows a verb_noun pattern (e.g., describe_db_instance_*, modify_db_instance_*), but there are minor inconsistencies like show_largest_table (no verb prefix), get_current_time (uses 'get' instead of describe/query), and explain_sql (verb_noun but different verb). Overall, the pattern is predictable.

    Tool Count5/5

    With 36 tools covering instance lifecycle, monitoring, SQL execution, and network management, the count is well-suited for the RDS domain. Each tool adds clear value, and the set is neither too sparse nor overly bloated.

    Completeness2/5

    The tool surface lacks critical operations: no tool to delete an RDS instance, no create/modify/delete database tools (except via query_sql), and no backup/restore functionality. These gaps will likely cause agent failures when performing cleanup or database management tasks.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      A server that provides access to Alibaba Cloud resources including ECS, VPC, and CloudMonitor through API and OOS implementations, enabling resource management and monitoring via a unified interface.
      34
      137
      Apache 2.0
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      MCP server for connecting to databases (PostgreSQL, MySQL, SQL Server, Redis) enabling SQL queries, table exploration, and Redis key-value operations.
      1
      MIT