aliyun/alibabacloud-rds-openapi-mcp-server
MCP server for RDS Services via OPENAPI.
3311bd91c675alibabacloud-rds-openapi-mcp-server4.0.1 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 152 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 4 of 67 tools, prompts and resources could not be followed through the code
- 3 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code
- 4 tools, prompts and resources registered only in the repository's tests are not counted on this page
Top risks in plain words
- CRITICAL6 production dependencies have known vulnerabilities (worst: critical).
- MEDIUM1 security advisory has been published for this server itself (worst: medium). It lists no fixed version.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Update its vulnerable packages
Use
aiohttp3.14.4 or later,anyio4.14.2 or later,certifi2026.10.18 or later,mcp1.30.0 or later and 2 more. - Read its open advisories before installing
GHSA-fw7c-j2q8-f24m (medium) lists no fixed version. Check whether the version you install is affected.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 59 tools, 4 prompts. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
describe_bills, describe_db_instance_parameters, describe_db_instance_performance, describe_db_instances, describe_monitor_metrics, describe_sql_insight_statisticadd_tags_to_db_instance, allocate_instance_public_connection, attach_whitelist_template_to_instance, create_db_instance, create_db_instance_account, describe_all_whitelist_template and 26 moreadd_tags_to_db_instance, allocate_instance_public_connection, attach_whitelist_template_to_instance, create_db_instance, create_db_instance_account, describe_all_whitelist_template and 26 moreadd_tags_to_db_instance, allocate_instance_public_connection, attach_whitelist_template_to_instance, create_db_instance, create_db_instance_account, describe_all_whitelist_template and 26 moreNo tool was seen to: start other programs on the machine; connect to the internet or other hosts.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files6 tools · describe_bills, describe_db_instance_parameters, describe_db_instance_performance +3
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (63: 59 tools, 4 prompts)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
(name computed at run time)prompt
No description.
prompt_objectprompt
No description.
rds_custom_sql_server_health_check_templateprompt Generates a structured, multi-step instructional string to perform
Generates a structured, multi-step instructional string to perform
a comprehensive health check on a specified RDS instance.
Args:
instance_id: The ID of the RDS instance to be checked.
region_id: The region where the RDS instance is located.
Returns:
A formatted string that serves as a detailed input prompt for the user,
outlining the steps for a health check.rds_custom_system_promptprompt Provides a system prompt that defines the role, goals, and core instructions
Provides a system prompt that defines the role, goals, and core instructions
for the CloudOps-Assistant AI. This sets the context and operating rules for the assistant.
Returns:
A list containing a dictionary that defines the 'system' role and its content.(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
add_tags_to_db_instancetool add tags to db instance.CredentialsEnv varsSensitive paths
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.allocate_instance_public_connectiontool allocate db instance public connection.CredentialsEnv varsSensitive paths
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.associate_eip_address_with_rc_instancetool associate an elastic ip address (eip) with an rds custom instance.
associate an elastic ip address (eip) with an rds custom instance.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the RDS Custom instance.
allocation_id: The ID of the Elastic IP Address.
Returns:
dict[str, Any]: The response containing the result of the operation.attach_whitelist_template_to_instancetool allocate db instance public connection.CredentialsEnv varsSensitive paths
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.create_db_instancetool Create an RDS instance.CredentialsEnv varsSensitive paths
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.create_db_instance_accounttool Create a new account for an RDS instance.CredentialsEnv varsSensitive paths
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.create_rc_snapshottool Create a manual snapshot for a specific cloud disk of an RDS Custom instance.
Create a manual snapshot for a specific cloud disk of an RDS Custom instance.
Args:
region_id: The region ID. You can call DescribeRegions to obtain the latest region list.
disk_id: The ID of the cloud disk for which to create a snapshot.
description: The description of the snapshot. It must be 2 to 256 characters in length and cannot start with http:// or https://.
retention_days: The retention period of the snapshot, in days. After the retention period expires, the snapshot is automatically released. Value range: 1 to 65536.
Returns:
dict[str, Any]: A dictionary containing the RequestId and the ID of the new snapshot.describe_all_whitelist_templatetool describe all whitelist template.CredentialsEnv varsSensitive paths
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.describe_available_classestool Query the RDS instance class_code and storage space that can be purchased in the inventory.CredentialsEnv varsSensitive paths
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.describe_available_zonestool Query available zones for RDS instances.CredentialsEnv varsSensitive paths
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.describe_billstool Query the consumption summary of all product instances or billing items for a user within a specific billing period.FilesCredentialsEnv varsSensitive pathsoutside text
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.describe_db_instance_accountstool Batch retrieves account information for multiple RDS instances.CredentialsEnv varsSensitive paths
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.describe_db_instance_attributetool Queries the details of an instance.CredentialsEnv varsSensitive paths
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:describe_db_instance_databasestool Batch retrieves database information for multiple RDS instances.CredentialsEnv varsSensitive paths
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.describe_db_instance_ip_allowlisttool Batch retrieves IP allowlist configurations for multiple RDS instances.CredentialsEnv varsSensitive paths
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.describe_db_instance_net_infotool Batch retrieves network configuration details for multiple RDS instances.CredentialsEnv varsSensitive paths
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.describe_db_instance_parameterstool Batch retrieves parameter information for multiple RDS instances.FilesCredentialsEnv varsSensitive pathsoutside text
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.describe_db_instance_performancetool Queries the performance data of an instance using the RDS OpenAPI.FilesCredentialsEnv varsSensitive pathsoutside text
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)describe_db_instancestool Queries instances.FilesCredentialsEnv varsSensitive pathsoutside text
Queries instances.
Args:
region_id: queries instances in region id(e.g. cn-hangzhou)
:return:describe_error_logstool Query error logs of an RDS instance.CredentialsEnv varsSensitive paths
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 informationdescribe_instance_linked_whitelist_templatetool describe instance linked whitelist template.CredentialsEnv varsSensitive paths
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.describe_monitor_metricstool Queries performance and diagnostic metrics for an instance using the DAS (Database Autonomy Service) API.FilesCredentialsEnv varsSensitive pathsoutside text
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.describe_rc_diskstool Query the list of disks for an RDS Custom instance.
Query the list of disks for an RDS Custom instance.
Args:
region_id: The region ID. You can call DescribeRegions to obtain the latest region list.
instance_id: The ID of the instance to which the disks belong.
disk_ids: The list of disk IDs to query. Supports up to 100 IDs.
page_number: The page number to return.
page_size: The number of entries to return on each page. Value range: 30 to 100. Default value: 30.
tag: A list of tags to filter results. For example: [{"Key": "your_key", "Value": "your_value"}].
Returns:
dict[str, Any]: A dictionary containing the list of disks and pagination information.describe_rc_image_listtool describe the list of custom images for creating rds custom instances.
describe the list of custom images for creating rds custom instances.
Args:
region_id: The region ID to query for images.
page_number: The page number of the results.
page_size: The number of records per page.
type: The image type, currently only 'self' is supported.
architecture: The system architecture of the image, e.g., 'x86_64'.
image_id: The ID of a specific image to query.
image_name: The name of a specific image to query.
instance_type: The instance type to query usable images for.
Returns:
dict[str, Any]: The response containing the list of custom images.describe_rc_instance_attributetool describe a single rds custom instance's details.
describe a single rds custom instance's details.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the RDS Custom instance.
Returns:
dict[str, Any]: The response containing the instance details.describe_rc_instance_ddos_counttool describe the count of ddos attacks on rds custom instances.
describe the count of ddos attacks on rds custom instances.
Args:
region_id: The region ID where the Custom instance is located.
ddos_region_id: The region ID of the public IP asset to query.
instance_type: The instance type of the public IP asset, fixed value 'ecs'.
Returns:
dict[str, Any]: The response containing the count of ddos attacks.describe_rc_instance_ip_addresstool describe the ddos protection details for an rds custom instance.
describe the ddos protection details for an rds custom instance.
Args:
region_id: The region ID where the Custom instance is located.
instance_id: The ID of the Custom instance.
ddos_region_id: The region ID of the public IP asset.
instance_type: The instance type of the public IP asset, fixed value 'ecs'.
resource_type: The resource type, fixed value 'ecs'.
ddos_status: The DDoS protection status of the public IP asset.
instance_ip: The IP address of the public IP asset to query.
current_page: The page number of the results to display.
page_size: The number of instances per page.
instance_name: The name of the Custom instance.
Returns:
dict[str, Any]: The response containing the DDoS protection details.describe_rc_instance_vnc_urltool describe the vnc login url for a specific rds custom instance.
describe the vnc login url for a specific rds custom instance.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the instance.
db_type: The database type, e.g., 'mysql' or 'mssql'.
Returns:
dict[str, Any]: The response containing the VNC login URL.describe_rc_instancestool describe rds custom instances.
describe rds custom instances.
Args:
region_id: The region ID of the RDS Custom instances.
instance_id: The ID of a specific instance. If omitted, all instances in the region are returned.
Returns:
dict[str, Any]: The response containing instance metadata.describe_rc_metric_listtool describe monitoring data for a specific metric of an rds custom instance.
describe monitoring data for a specific metric of an rds custom instance.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the instance to query.
metric_name: The metric to be monitored, e.g., 'CPUUtilization'.
start_time: The start time of the query, format 'YYYY-MM-DD HH:MM:SS'.
end_time: The end time of the query, format 'YYYY-MM-DD HH:MM:SS'.
period: The statistical period of the monitoring data in seconds.
length: The number of entries to return on each page.
next_token: The pagination token.
dimensions: The dimensions to query data for multiple resources in batch.
express: A reserved parameter.
Returns:
dict[str, Any]: The response containing the list of monitoring data.describe_rc_snapshotstool Query the list of RDS Custom snapshots information.
Query the list of RDS Custom snapshots information.
Args:
region_id: The region ID. You can call DescribeRegions to obtain the latest region list.
disk_id: The specified cloud disk ID.
snapshot_ids: The list of snapshot IDs.
page_number: The page number to return.
page_size: The number of entries to return on each page. Value range: 30~100. Default value: 30.
Returns:
dict[str, Any]: The response containing the list of snapshots and pagination information.describe_slow_log_recordstool Query slow log records for an RDS instance.CredentialsEnv varsSensitive paths
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.describe_sql_insight_statistictool Query SQL Log statistics, including SQL cost time, execution times, and account.FilesCredentialsEnv varsSensitive pathsoutside text
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.describe_vpcstool Query VPC list.CredentialsEnv varsSensitive paths
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.describe_vswitchestool Query VSwitch list.CredentialsEnv varsSensitive paths
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.explain_sqltool show sql execute plan
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.get_current_timetool Get the current time.
Get the current time.
Returns:
Dict[str, Any]: The response containing the current time.get_current_timetool Get the current time.
Get the current time.
Returns:
Dict[str, Any]: The response containing the current time.modify_db_instance_descriptiontool modify db instance description.CredentialsEnv varsSensitive paths
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.modify_db_instance_spectool Modify RDS instance specifications.CredentialsEnv varsSensitive paths
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.modify_parametertool Modify RDS instance parameters.CredentialsEnv varsSensitive paths
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.modify_rc_instance_attributetool modify attributes of a specific rds custom instance.
modify attributes of a specific rds custom instance.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the RDS Custom instance to modify.
password: The new password for the instance.
reboot: Specifies whether to restart the instance after modification.
host_name: The new hostname for the instance.
security_group_id: The ID of the new security group for the instance.
deletion_protection: Specifies whether to enable the deletion protection feature.
Returns:
dict[str, Any]: The response containing the result of the operation.modify_rc_instance_descriptiontool modify the description of a specific rds custom instance.
modify the description of a specific rds custom instance.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the instance to modify.
instance_description: The new description for the instance.
Returns:
dict[str, Any]: The response containing the result of the operation.modify_security_ipstool modify security ips。CredentialsEnv varsSensitive paths
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.query_sqltool execute read-only sql likes show xxx, select xxxCredentialsEnv varsSensitive paths
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.reboot_rc_instancetool reboot a specific rds custom instance.
reboot a specific rds custom instance.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the instance to reboot.
force_stop: Specifies whether to force shutdown before rebooting. Default is false.
dry_run: Specifies whether to perform a dry run only. Default is false.
Returns:
dict[str, Any]: The response containing the result of the operation.resize_rc_instance_disktool resize a specific rds custom instance's disk.
resize a specific rds custom instance's disk.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the RDS Custom instance.
new_size: The target size of the disk in GiB.
disk_id: The ID of the cloud disk.
auto_pay: Specifies whether to enable automatic payment. Default is false.
dry_run: Specifies whether to perform a dry run. Default is false.
Returns:
dict[str, Any]: The response containing the result of the operation.restart_db_instancetool Restart an RDS instance.CredentialsEnv varsSensitive paths
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.run_rc_instancestool Creates one or more RDS Custom instances by converting dicts to model objects internally.
Creates one or more RDS Custom instances by converting dicts to model objects internally.
Args:
region_id: The region ID.
instance_type: The instance specification. See RDS Custom instance specification list for details.
password: The password for the instance. It must be 8 to 30 characters long and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
vswitch_id: The vSwitch ID for the target instance.
security_group_id: The ID of the security group to which the instance belongs.
zone_id: The zone ID to which the instance belongs.
image_id: The image ID used by the instance.
instance_charge_type: The billing method. Valid values: Prepaid (subscription), PostPaid (pay-as-you-go).
amount: The number of RDS Custom instances to create. Default is 1.
period: The subscription duration of the resource. Used when instance_charge_type is 'Prepaid'.
period_unit: The unit of the subscription duration. Valid values: Month, Year.
auto_renew: Specifies whether to enable auto-renewal for the subscription.
auto_pay: Specifies whether to enable automatic payment.
client_token: A client token used to ensure the idempotence of the request.
auto_use_coupon: Specifies whether to automatically use coupons.
promotion_code: The coupon code.
data_disk: The list of data disks. Example: [{"Size": 50, "Category": "cloud_essd"}]
system_disk: The system disk specification. Example: {"Size": 60, "Category": "cloud_essd"}
deployment_set_id: The deployment set ID.
internet_max_bandwidth_out: The maximum public outbound bandwidth in Mbit/s for Custom for SQL Server.
description: The description of the instance.
key_pair_name: The name of the key pair.
dry_run: Specifies whether to perform a dry run to check the request.
tag: A list of tags to attach to the instance. Example: [{"Key": "your_key", "Value": "your_value"}].
resource_group_id: The resource group ID.
create_mode: Whether to allow joining an ACK cluster. '1' means allowed.
host_name: The hostname of the instance.
spot_strategy: The bidding strategy for the pay-as-you-go instance.
support_case: The RDS Custom edition. 'share' or 'exclusive'.
create_ack_edge_param: Information for the ACK Edge cluster.
user_data: Custom data for the instance, up to 32 KB in raw format.
user_data_in_base_64: Whether the custom data is Base64 encoded.
deletion_protection: Specifies whether to enable release protection.
Returns:
dict[str, Any]: A dictionary containing the OrderId, RequestId, and the set of created instance IDs.show_create_tabletool show create table db_name.table_name
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.show_engine_innodb_statustool show engine innodb status in db.
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.show_largest_tabletool Query the top few tables with the highest space occupancyCredentialsEnv varsSensitive paths
Query the top few tables with the highest space occupancy
show_largest_table_fragmenttool Query the tables with the largest table fragmentsCredentialsEnv varsSensitive paths
Query the tables with the largest table fragments
start_rc_instancestool start one or more rds custom instances in batch.
start one or more rds custom instances in batch.
Args:
region_id: The region ID of the RDS Custom instances.
instance_ids: A list of instance IDs to be started.
batch_optimization: The batch operation mode.
Returns:
dict[str, Any]: The response containing the result of the operation.stop_rc_instancestool stop one or more rds custom instances in batch.
stop one or more rds custom instances in batch.
Args:
region_id: The region ID of the RDS Custom instances.
instance_ids: A list of instance IDs to be stopped.
force_stop: Specifies whether to force stop the instances. Default is false.
batch_optimization: The batch operation mode.
Returns:
dict[str, Any]: The response containing the result of the operation.sync_rc_security_grouptool synchronize the security group rules for an rds sql server custom instance.
synchronize the security group rules for an rds sql server custom instance.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the RDS Custom instance.
security_group_id: The ID of the security group.
Returns:
dict[str, Any]: The response containing the result of the operation.unassociate_eip_address_with_rc_instancetool unassociate an elastic ip address (eip) from an rds custom instance.
unassociate an elastic ip address (eip) from an rds custom instance.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the RDS Custom instance.
allocation_id: The ID of the Elastic IP Address to unassociate.
Returns:
dict[str, Any]: The response containing the result of the operation.Text the model reads (63)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
(name computed at run time) tool
describe_db_instances tool
Queries instances.
Args:
region_id: queries instances in region id(e.g. cn-hangzhou)
:return:describe_db_instance_attribute tool
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:describe_db_instance_performance tool
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)modify_parameter tool
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.modify_db_instance_spec tool
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.describe_available_classes tool
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.create_db_instance tool
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.describe_available_zones tool
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.describe_vpcs tool
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.describe_vswitches tool
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.describe_slow_log_records tool
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.describe_error_logs tool
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 informationdescribe_db_instance_net_info tool
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.describe_db_instance_ip_allowlist tool
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.describe_db_instance_databases tool
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.describe_db_instance_accounts tool
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.create_db_instance_account tool
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.describe_db_instance_parameters tool
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.describe_bills tool
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.modify_db_instance_description tool
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.allocate_instance_public_connection tool
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.describe_all_whitelist_template tool
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.describe_instance_linked_whitelist_template tool
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.attach_whitelist_template_to_instance tool
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.add_tags_to_db_instance tool
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.get_current_time tool
Get the current time.
Returns:
Dict[str, Any]: The response containing the current time.modify_security_ips tool
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.restart_db_instance tool
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.describe_monitor_metrics tool
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.describe_sql_insight_statistic tool
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.show_engine_innodb_status tool
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.show_create_table tool
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.explain_sql tool
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.query_sql tool
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.show_largest_table tool
Query the top few tables with the highest space occupancy
show_largest_table_fragment tool
Query the tables with the largest table fragments
(name computed at run time) tool
resize_rc_instance_disk tool
resize a specific rds custom instance's disk.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the RDS Custom instance.
new_size: The target size of the disk in GiB.
disk_id: The ID of the cloud disk.
auto_pay: Specifies whether to enable automatic payment. Default is false.
dry_run: Specifies whether to perform a dry run. Default is false.
Returns:
dict[str, Any]: The response containing the result of the operation.modify_rc_instance_attribute tool
modify attributes of a specific rds custom instance.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the RDS Custom instance to modify.
password: The new password for the instance.
reboot: Specifies whether to restart the instance after modification.
host_name: The new hostname for the instance.
security_group_id: The ID of the new security group for the instance.
deletion_protection: Specifies whether to enable the deletion protection feature.
Returns:
dict[str, Any]: The response containing the result of the operation.stop_rc_instances tool
stop one or more rds custom instances in batch.
Args:
region_id: The region ID of the RDS Custom instances.
instance_ids: A list of instance IDs to be stopped.
force_stop: Specifies whether to force stop the instances. Default is false.
batch_optimization: The batch operation mode.
Returns:
dict[str, Any]: The response containing the result of the operation.start_rc_instances tool
start one or more rds custom instances in batch.
Args:
region_id: The region ID of the RDS Custom instances.
instance_ids: A list of instance IDs to be started.
batch_optimization: The batch operation mode.
Returns:
dict[str, Any]: The response containing the result of the operation.reboot_rc_instance tool
reboot a specific rds custom instance.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the instance to reboot.
force_stop: Specifies whether to force shutdown before rebooting. Default is false.
dry_run: Specifies whether to perform a dry run only. Default is false.
Returns:
dict[str, Any]: The response containing the result of the operation.modify_rc_instance_description tool
modify the description of a specific rds custom instance.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the instance to modify.
instance_description: The new description for the instance.
Returns:
dict[str, Any]: The response containing the result of the operation.sync_rc_security_group tool
synchronize the security group rules for an rds sql server custom instance.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the RDS Custom instance.
security_group_id: The ID of the security group.
Returns:
dict[str, Any]: The response containing the result of the operation.associate_eip_address_with_rc_instance tool
associate an elastic ip address (eip) with an rds custom instance.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the RDS Custom instance.
allocation_id: The ID of the Elastic IP Address.
Returns:
dict[str, Any]: The response containing the result of the operation.create_rc_snapshot tool
Create a manual snapshot for a specific cloud disk of an RDS Custom instance.
Args:
region_id: The region ID. You can call DescribeRegions to obtain the latest region list.
disk_id: The ID of the cloud disk for which to create a snapshot.
description: The description of the snapshot. It must be 2 to 256 characters in length and cannot start with http:// or https://.
retention_days: The retention period of the snapshot, in days. After the retention period expires, the snapshot is automatically released. Value range: 1 to 65536.
Returns:
dict[str, Any]: A dictionary containing the RequestId and the ID of the new snapshot.run_rc_instances tool
Creates one or more RDS Custom instances by converting dicts to model objects internally.
Args:
region_id: The region ID.
instance_type: The instance specification. See RDS Custom instance specification list for details.
password: The password for the instance. It must be 8 to 30 characters long and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
vswitch_id: The vSwitch ID for the target instance.
security_group_id: The ID of the security group to which the instance belongs.
zone_id: The zone ID to which the instance belongs.
image_id: The image ID used by the instance.
instance_charge_type: The billing method. Valid values: Prepaid (subscription), PostPaid (pay-as-you-go).
amount: The number of RDS Custom instances to create. Default is 1.
period: The subscription duration of the resource. Used when instance_charge_type is 'Prepaid'.
period_unit: The unit of the subscription duration. Valid values: Month, Year.
auto_renew: Specifies whether to enable auto-renewal for the subscription.
auto_pay: Specifies whether to enable automatic payment.
client_token: A client token used to ensure the idempotence of the request.
auto_use_coupon: Specifies whether to automatically use coupons.
promotion_code: The coupon code.
data_disk: The list of data disks. Example: [{"Size": 50, "Category": "cloud_essd"}]
system_disk: The system disk specification. Example: {"Size": 60, "Category": "cloud_essd"}
deployment_set_id: The deployment set ID.
internet_max_bandwidth_out: The maximum public outbound bandwidth in Mbit/s for Custom for SQL Server.
description: The description of the instance.
key_pair_name: The name of the key pair.
dry_run: Specifies whether to perform a dry run to check the request.
tag: A list of tags to attach to the instance. Example: [{"Key": "your_key", "Value": "your_value"}].
resource_group_id: The resource group ID.
create_mode: Whether to allow joining an ACK cluster. '1' means allowed.
host_name: The hostname of the instance.
spot_strategy: The bidding strategy for the pay-as-you-go instance.
support_case: The RDS Custom edition. 'share' or 'exclusive'.
create_ack_edge_param: Information for the ACK Edge cluster.
user_data: Custom data for the instance, up to 32 KB in raw format.
user_data_in_base_64: Whether the custom data is Base64 encoded.
deletion_protection: Specifies whether to enable release protection.
Returns:
dict[str, Any]: A dictionary containing the OrderId, RequestId, and the set of created instance IDs.unassociate_eip_address_with_rc_instance tool
unassociate an elastic ip address (eip) from an rds custom instance.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the RDS Custom instance.
allocation_id: The ID of the Elastic IP Address to unassociate.
Returns:
dict[str, Any]: The response containing the result of the operation.describe_rc_instances tool
describe rds custom instances.
Args:
region_id: The region ID of the RDS Custom instances.
instance_id: The ID of a specific instance. If omitted, all instances in the region are returned.
Returns:
dict[str, Any]: The response containing instance metadata.describe_rc_instance_attribute tool
describe a single rds custom instance's details.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the RDS Custom instance.
Returns:
dict[str, Any]: The response containing the instance details.describe_rc_instance_vnc_url tool
describe the vnc login url for a specific rds custom instance.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the instance.
db_type: The database type, e.g., 'mysql' or 'mssql'.
Returns:
dict[str, Any]: The response containing the VNC login URL.describe_rc_instance_ip_address tool
describe the ddos protection details for an rds custom instance.
Args:
region_id: The region ID where the Custom instance is located.
instance_id: The ID of the Custom instance.
ddos_region_id: The region ID of the public IP asset.
instance_type: The instance type of the public IP asset, fixed value 'ecs'.
resource_type: The resource type, fixed value 'ecs'.
ddos_status: The DDoS protection status of the public IP asset.
instance_ip: The IP address of the public IP asset to query.
current_page: The page number of the results to display.
page_size: The number of instances per page.
instance_name: The name of the Custom instance.
Returns:
dict[str, Any]: The response containing the DDoS protection details.describe_rc_image_list tool
describe the list of custom images for creating rds custom instances.
Args:
region_id: The region ID to query for images.
page_number: The page number of the results.
page_size: The number of records per page.
type: The image type, currently only 'self' is supported.
architecture: The system architecture of the image, e.g., 'x86_64'.
image_id: The ID of a specific image to query.
image_name: The name of a specific image to query.
instance_type: The instance type to query usable images for.
Returns:
dict[str, Any]: The response containing the list of custom images.describe_rc_snapshots tool
Query the list of RDS Custom snapshots information.
Args:
region_id: The region ID. You can call DescribeRegions to obtain the latest region list.
disk_id: The specified cloud disk ID.
snapshot_ids: The list of snapshot IDs.
page_number: The page number to return.
page_size: The number of entries to return on each page. Value range: 30~100. Default value: 30.
Returns:
dict[str, Any]: The response containing the list of snapshots and pagination information.describe_rc_metric_list tool
describe monitoring data for a specific metric of an rds custom instance.
Args:
region_id: The region ID of the RDS Custom instance.
instance_id: The ID of the instance to query.
metric_name: The metric to be monitored, e.g., 'CPUUtilization'.
start_time: The start time of the query, format 'YYYY-MM-DD HH:MM:SS'.
end_time: The end time of the query, format 'YYYY-MM-DD HH:MM:SS'.
period: The statistical period of the monitoring data in seconds.
length: The number of entries to return on each page.
next_token: The pagination token.
dimensions: The dimensions to query data for multiple resources in batch.
express: A reserved parameter.
Returns:
dict[str, Any]: The response containing the list of monitoring data.describe_rc_disks tool
Query the list of disks for an RDS Custom instance.
Args:
region_id: The region ID. You can call DescribeRegions to obtain the latest region list.
instance_id: The ID of the instance to which the disks belong.
disk_ids: The list of disk IDs to query. Supports up to 100 IDs.
page_number: The page number to return.
page_size: The number of entries to return on each page. Value range: 30 to 100. Default value: 30.
tag: A list of tags to filter results. For example: [{"Key": "your_key", "Value": "your_value"}].
Returns:
dict[str, Any]: A dictionary containing the list of disks and pagination information.describe_rc_instance_ddos_count tool
describe the count of ddos attacks on rds custom instances.
Args:
region_id: The region ID where the Custom instance is located.
ddos_region_id: The region ID of the public IP asset to query.
instance_type: The instance type of the public IP asset, fixed value 'ecs'.
Returns:
dict[str, Any]: The response containing the count of ddos attacks.get_current_time tool
Get the current time.
Returns:
Dict[str, Any]: The response containing the current time.prompt_object prompt
(name computed at run time) prompt
rds_custom_system_prompt prompt
Provides a system prompt that defines the role, goals, and core instructions
for the CloudOps-Assistant AI. This sets the context and operating rules for the assistant.
Returns:
A list containing a dictionary that defines the 'system' role and its content.rds_custom_sql_server_health_check_template prompt
Generates a structured, multi-step instructional string to perform
a comprehensive health check on a specified RDS instance.
Args:
instance_id: The ID of the RDS instance to be checked.
region_id: The region where the RDS instance is located.
Returns:
A formatted string that serves as a detailed input prompt for the user,
outlining the steps for a health check.What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 63 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 63 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 63 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 63 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 63 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 63 capabilities; 57 more call code the scanner could not follow, where it may happen
- Tools that touch files6 of 63 capabilities touch files; 51 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 63 capabilities; 57 more call code the scanner could not follow, where it may happen
Where the code is: 63 handlers in 7 files at commit 3311bd91c675
src/alibabacloud_rds_openapi_mcp_server/core/mcp.py(name computed at run time), prompt_objectsrc/alibabacloud_rds_openapi_mcp_server/prompts/__init__.py(name computed at run time)src/alibabacloud_rds_openapi_mcp_server/prompts/system_prompts.pyrds_custom_system_prompt, rds_custom_sql_server_health_check_templatesrc/alibabacloud_rds_openapi_mcp_server/server.pydescribe_db_instances, describe_db_instance_attribute, describe_db_instance_performance, modify_parameter, modify_db_instance_spec, describe_available_classes, create_db_instance, describe_available_zones, describe_vpcs, describe_vswitches, describe_slow_log_records, describe_error_logs +24src/alibabacloud_rds_openapi_mcp_server/tools/__init__.py(name computed at run time)src/alibabacloud_rds_openapi_mcp_server/tools/rds_custom_action.pyresize_rc_instance_disk, modify_rc_instance_attribute, stop_rc_instances, start_rc_instances, reboot_rc_instance, modify_rc_instance_description, sync_rc_security_group, associate_eip_address_with_rc_instance, create_rc_snapshot, run_rc_instances, unassociate_eip_address_with_rc_instancesrc/alibabacloud_rds_openapi_mcp_server/tools/rds_custom_read.pydescribe_rc_instances, describe_rc_instance_attribute, describe_rc_instance_vnc_url, describe_rc_instance_ip_address, describe_rc_image_list, describe_rc_snapshots, describe_rc_metric_list, describe_rc_disks, describe_rc_instance_ddos_count, get_current_time
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests3 manifests: pyproject.toml, rds-copilot-bot-gateway/requirements.txt, skill/alibabacloud-rds-copilot/requirements.txt
- Lockfiles checked against OSV3 files resolved and checked against the OSV database; 3 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; rds-copilot-bot-gateway/requirements.txt: 10 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile
- Known vulnerabilities in production dependencies CRITICAL6 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionmcp >=1.26.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentials32 of 63 capabilities read credentials; 25 more call code the scanner could not follow, where it may happen
- Environment variables32 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (4 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (6 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
pyjwtPyPI 2.13.0 CRITICAL 29 advisories 2.14.02.15.0
- CRITICALGHSA-ffc3-869f-jxw9 CVE-2026-102268 PYSEC-2026-4145PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
- HIGHGHSA-w2cx-738m-mc7w CVE-2026-102273 PYSEC-2026-4151PyJWT accepts public JWK containers as HMAC secrets
- HIGHGHSA-9v7f-9g4p-ffgj CVE-2026-102267 PYSEC-2026-4144PyJWT: PyJWKClient follows redirects when fetching JWKS
- HIGHGHSA-p4g4-x82p-q773 CVE-2026-102271 PYSEC-2026-4149PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard
- HIGHGHSA-9j54-fg26-wv3r CVE-2026-102266 PYSEC-2026-4143PyJWT: PyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation
- HIGHGHSA-pxh4-856f-4h89PyJWT: HS256/384/512 verify accepts empty HMAC key via oct JWK (PyJWK/PyJWKClient) enabling token forgery
- HIGHGHSA-r6x4-923q-g947 CVE-2026-102272 PYSEC-2026-4150PyJWT BOM Bypass
- MEDIUMPYSEC-2026-4151 CVE-2026-102273 GHSA-w2cx-738m-mc7wPyJWT accepts public JWK containers as HMAC secrets
- MEDIUMGHSA-x33g-cr3x-6449 CVE-2026-102275 PYSEC-2026-4183PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion
- MEDIUMGHSA-gvp8-978c-rx2q CVE-2026-103001 PYSEC-2026-4146PyJWT.decode() reintroduces options-dict mutation, enabling silent claim-verification bypass on dict reuse
- MEDIUMPYSEC-2026-4150 CVE-2026-102272 GHSA-r6x4-923q-g947PyJWT BOM Bypass
- MEDIUMGHSA-hxm8-2xgr-2p9m CVE-2026-102269 PYSEC-2026-4147PyJWT: Non-canonical signature segments enable raw-token revocation bypass
- MEDIUMGHSA-42vr-xj54-vc7v CVE-2026-101918 PYSEC-2026-4141PyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
- MEDIUMGHSA-w6j9-cwv2-h6wq CVE-2026-102274 PYSEC-2026-4152PyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
- MEDIUMPYSEC-2026-4144 CVE-2026-102267 GHSA-9v7f-9g4p-ffgjPyJWT: PyJWKClient follows redirects when fetching JWKS
- MEDIUMPYSEC-2026-4152 CVE-2026-102274 GHSA-w6j9-cwv2-h6wqPyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
- MEDIUMPYSEC-2026-4183 CVE-2026-102275 GHSA-x33g-cr3x-6449PyJWT is a Python implementation of JSON Web Token standards. From 2.1.0 until 2.15.0, PyJWT OKPAlgorithm.from_jwk in jwt/algorithms.py is affected because private-JWK import path does not compare the public key derived from d with x. This occurs when an OKP private JWK supplies non-corresponding x and d components. As a result, identity derived from x can differ from operations performed with d. Consequently, if an integration also accepts private key parameters from a proof header without rejecting them, an attacker may use a stolen sender-constrained token without the legitimate private key. This issue is fixed in version 2.15.0.
- MEDIUMGHSA-jwrc-g2q2-pq5p CVE-2026-102270 PYSEC-2026-4148PyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
- MEDIUMPYSEC-2026-4147 CVE-2026-102269 GHSA-hxm8-2xgr-2p9mPyJWT: Non-canonical signature segments enable raw-token revocation bypass
- MEDIUMPYSEC-2026-4143 CVE-2026-102266 GHSA-9j54-fg26-wv3rPyJWT: PyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation
- MEDIUMPYSEC-2026-4148 CVE-2026-102270 GHSA-jwrc-g2q2-pq5pPyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
- MEDIUMPYSEC-2026-4146 CVE-2026-103001 GHSA-gvp8-978c-rx2qPyJWT.decode() reintroduces options-dict mutation, enabling silent claim-verification bypass on dict reuse
- MEDIUMPYSEC-2026-4149 CVE-2026-102271 GHSA-p4g4-x82p-q773PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard
- MEDIUMGHSA-2gx3-rcp4-g85q CVE-2026-101917 PYSEC-2026-4140PyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of CVE-2026-48524)
- MEDIUMPYSEC-2026-4142 CVE-2026-102265 GHSA-8wjv-2p76-3863PyJWT: Uncaught RecursionError in jwt.decode() on deeply nested token header
- MEDIUMPYSEC-2026-4140 CVE-2026-101917 GHSA-2gx3-rcp4-g85qPyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of CVE-2026-48524)
- MEDIUMPYSEC-2026-4141 CVE-2026-101918 GHSA-42vr-xj54-vc7vPyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
- MEDIUMPYSEC-2026-4145 CVE-2026-102268 GHSA-ffc3-869f-jxw9PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
- MEDIUMGHSA-8wjv-2p76-3863 CVE-2026-102265 PYSEC-2026-4142PyJWT: Uncaught RecursionError in jwt.decode() on deeply nested token header
anyioPyPI 4.9.0 CRITICAL 4 advisories 4.14.2
- CRITICALGHSA-82r6-8w77-94w6 CVE-2026-63374 PYSEC-2026-4025AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
- MEDIUMPYSEC-2026-4024 CVE-2026-64847 GHSA-5p39-cfhj-2xmpAnyIO process-pool workers can block indefinitely on undrained stderr
- MEDIUMGHSA-5p39-cfhj-2xmp CVE-2026-64847 PYSEC-2026-4024AnyIO process-pool workers can block indefinitely on undrained stderr
- MEDIUMPYSEC-2026-4025 CVE-2026-63374 GHSA-82r6-8w77-94w6AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
certifiPyPI 2025.1.31 CRITICAL 2 advisories 2026.10.18
- CRITICALGHSA-6q48-6c7w-9gw2 PYSEC-2026-4320certifi bundles emSign root CAs with compromised intermediate CA keys
- MEDIUMPYSEC-2026-4320 GHSA-6q48-6c7w-9gw2certifi bundles emSign root CAs with compromised intermediate CA keys
aiohttpPyPI 3.14.3 HIGH 34 advisories 3.14.4
- HIGHGHSA-5rmc-48h2-hvcm CVE-2026-128132 PYSEC-2026-4400AIOHTTP: WebSocket receive queue limits bypassed by small or compressed messages
- HIGHGHSA-5wr8-gcqf-gqf3 CVE-2026-111064 PYSEC-2026-4366aiohttp server lacks an initial request/header timeout
- HIGHGHSA-h4cc-hm5h-fmm9 CVE-2026-128131 PYSEC-2026-4399AIOHTTP: Concatenated compressed streams cause excessive CPU use
- HIGHGHSA-24c4-3p7v-29cm CVE-2026-128127 PYSEC-2026-4394AIOHTTP: Base64 multipart parts bypass client_max_size
- HIGHGHSA-9xw5-w5jj-pvcg CVE-2026-111066 PYSEC-2026-4368AIOHTTP: File descriptor exhaustion in multipart requests
- HIGHGHSA-3rp8-rxj8-mvjw CVE-2026-128128 PYSEC-2026-4395AIOHTTP: WebSocket max_msg_size bypass via integer overflow
- HIGHGHSA-28qf-cpwq-vmc2 CVE-2026-128130 PYSEC-2026-4398AIOHTTP: Pure-Python parser request replay and buffer growth behind a declined upgrade
- HIGHGHSA-xgw8-8ccx-rmqh CVE-2026-128126 PYSEC-2026-4393AIOHTTP: Too many URL-encoded form fields block the event loop
- HIGHGHSA-2g87-pp6c-29x5 CVE-2026-123817 PYSEC-2026-4389aiohttp: Multiple instances of excessive or unbounded memory/CPU use
- HIGHGHSA-jm3w-gw2p-xjfj CVE-2026-128124 PYSEC-2026-4391AIOHTTP: Event loop stall in add_domain() wildcard matching
- HIGHGHSA-pw86-h8fm-j323 CVE-2026-128129 PYSEC-2026-4397AIOHTTP: Unbounded buffering of data received during an upgrade request
- MEDIUMPYSEC-2026-4398 CVE-2026-128130 GHSA-28qf-cpwq-vmc2AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, when the pipelined request queue is full, the pure-Python parser stores the unparsed remainder internally and also returns the same data to its caller. After a handler declines an upgrade request, the caller feeds the remainder back to the parser, causing the buffer to grow with each handled request and dispatching already-handled requests to the application again. The issue affects deployments using AIOHTTP_NO_EXTENSIONS or otherwise running without the standard C-extension wheel, and can cause excessive memory use and repeated request processing. This issue is fixed in version 3.14.4.
- MEDIUMPYSEC-2026-4368 CVE-2026-111066 GHSA-9xw5-w5jj-pvcgAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. From 2.0.0 until 3.14.4, multipart request processing can retain an unbounded number of open file descriptors. An unauthenticated attacker can consequently exhaust file descriptors with specially crafted multipart requests when a handler uses Request.post(). This issue is fixed in version 3.14.4.
- MEDIUMPYSEC-2026-4369 CVE-2026-111748 GHSA-f9xw-jh8m-3mwqAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, an attacker can send an absolute-form request that causes Request.scheme to use attacker-controlled request-target scheme data instead of the connection protocol. Applications that use Request.scheme for security decisions can consequently be tricked into treating an unencrypted connection as encrypted or an encrypted connection as unencrypted. This issue is fixed in version 3.14.4.
- MEDIUMGHSA-5pv8-vvhc-h7jv CVE-2026-128125 PYSEC-2026-4392AIOHTTP: Unbounded cookie storage in client CookieJar
- MEDIUMPYSEC-2026-4393 CVE-2026-128126 GHSA-xgw8-8ccx-rmqhAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, Request.post() does not limit the number of fields in a URL-encoded form body, and inserting many repeated keys into MultiDict takes quadratic time on the event loop. A remote attacker can send a form POST within client_max_size to a handler that calls Request.post() and block the event loop. This issue is fixed in version 3.14.4.
- MEDIUMPYSEC-2026-4395 CVE-2026-128128 GHSA-3rp8-rxj8-mvjwAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, the C WebSocket reader adds a declared frame length to the size of an already buffered partial message using signed 64-bit arithmetic. A length near two to the power of 63 can overflow, allowing the max_msg_size check to pass. A remote peer can send a small non-final fragment followed by an oversized message and cause unbounded memory consumption. The Python WebSocket reader is unaffected. This issue is fixed in version 3.14.4.
- MEDIUMPYSEC-2026-4389 CVE-2026-123817 GHSA-2g87-pp6c-29x5AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, the WebSocket reader retains one bytes object for each transport read while reassembling an incomplete frame. A malicious peer can split a frame into many tiny reads so per-object overhead substantially exceeds the payload bytes allowed by max_msg_size. The condition affects a server receiving frames from a malicious client and a client receiving frames from a malicious server, and can cause excessive memory consumption or denial of service. This issue is fixed in version 3.14.4.
- MEDIUMPYSEC-2026-4370 CVE-2026-111749 GHSA-gx76-c99x-2c96AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, Host-Only scope on an existing parent-domain cookie can be removed by a subdomain. A user who accesses an untrusted subdomain can consequently have host-only protections stripped from cookies, although impact is limited when applications do not reflect those cookies to a browser. This issue is fixed in version 3.14.4.
- MEDIUMGHSA-f9xw-jh8m-3mwq CVE-2026-111748 PYSEC-2026-4369AIOHTTP: Absolute-form request targets can spoof Request.scheme
- MEDIUMGHSA-pqxq-w44r-73xw CVE-2026-111750 PYSEC-2026-4371AIOHTTP: Pure-Python parser request smuggling
- MEDIUMPYSEC-2026-4367 CVE-2026-111065 GHSA-6cjc-53gc-5rqmAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, Max-Age processing can overflow and skip closing a connection. An attacker can consequently exhaust the connection pool temporarily until garbage collection resolves the connections. This issue is fixed in version 3.14.4.
- MEDIUMPYSEC-2026-4366 CVE-2026-111064 GHSA-5wr8-gcqf-gqf3AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, keepalive timeout handling is absent during the initial portion of a request. An attacker can keep an idle connection open indefinitely before sending any request data, consuming server connection capacity. This issue is fixed in version 3.14.4.
- MEDIUMPYSEC-2026-4392 CVE-2026-128125 GHSA-5pv8-vvhc-h7jvAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, Set-Cookie parsing treats unrecognized name=value attributes as additional cookies, while CookieJar does not limit the number of cookies stored or sent. A malicious server can make an aiohttp client accumulate a very large cookie set, consume memory and CPU repeatedly across redirects, and construct an excessively large Cookie header for later requests to the same domain. This issue is fixed in version 3.14.4.
- MEDIUMGHSA-494j-54xm-rwp3 CVE-2026-111063 PYSEC-2026-4365AIOHTTP: Secure attribute not enforced for shared cookie
- MEDIUMPYSEC-2026-4400 CVE-2026-128132 GHSA-5rmc-48h2-hvcmAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, the WebSocket reader continues parsing frames already received after the receive queue pauses the transport, and empty messages are not counted toward the queue size. With permessage-deflate, one read of compressed frames can add many megabytes of decompressed messages to the receive queue. A remote peer can send many small or compressed messages faster than the application consumes them and cause excessive memory use in a server or client. This issue is fixed in version 3.14.4.
- MEDIUMPYSEC-2026-4391 CVE-2026-128124 GHSA-jm3w-gw2p-xjfjAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, Application.add_domain() converts every asterisk wildcard in a domain mask into a greedy regular-expression fragment, so a mask containing two or more wildcards can take polynomial time to reject a long Host header that does not match. A remote attacker can repeatedly send such headers to a server configured with a multi-wildcard domain mask and stall the event loop. This issue is fixed in version 3.14.4.
- MEDIUMGHSA-6cjc-53gc-5rqm CVE-2026-111065 PYSEC-2026-4367AIOHTTP: Connector pool exhaustion via Max-Age overflow
- MEDIUMPYSEC-2026-4394 CVE-2026-128127 GHSA-24c4-3p7v-29cmAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, BodyPartReader.read_chunk() processing a multipart part with Content-Transfer-Encoding set to base64 keeps reading until the chunk length is a multiple of four without enforcing a byte limit. A short Content-Length or a long run of whitespace can cause one call to read the remaining body into memory before the size check or spin on the event loop. A remote attacker can send such a multipart request to a handler that reads multipart data and bypass client_max_size. This issue is fixed in version 3.14.4.
- MEDIUMPYSEC-2026-4399 CVE-2026-128131 GHSA-h4cc-hm5h-fmm9AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, aiohttp decompresses each member of a payload containing many concatenated gzip, deflate, or zstd streams by passing the entire remaining input to a new decompressor, causing quadratic CPU use. Empty members produce no output, so client_max_size and output backpressure do not limit the work. A remote attacker can block a server event loop with a crafted compressed request body or WebSocket message, and a malicious server can similarly block a client. This issue is fixed in version 3.14.4.
- MEDIUMPYSEC-2026-4365 CVE-2026-111063 GHSA-494j-54xm-rwp3AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, the Secure attribute for a shared cookie is not enforced. An attacker can consequently cause a shared cookie marked Secure to be sent with an unencrypted request. This issue is fixed in version 3.14.4.
- MEDIUMPYSEC-2026-4397 CVE-2026-128129 GHSA-pw86-h8fm-j323AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, aiohttp buffers all additional connection data received while a request marked for upgrade, such as a WebSocket handshake, is being handled, without a size limit or flow control. A remote attacker can stream data behind an upgrade request to a handler that does not immediately accept or reject the upgrade and cause unbounded memory consumption. This issue is fixed in version 3.14.4.
- MEDIUMPYSEC-2026-4371 CVE-2026-111750 GHSA-pqxq-w44r-73xwAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, the pure Python parser accepts ambiguous HTTP request framing. An unauthenticated attacker can consequently smuggle requests when an application uses AIOHTTP_NO_EXTENSIONS or otherwise runs without a standard wheel and an intermediary interprets the framing differently. This issue is fixed in version 3.14.4.
- LOWGHSA-gx76-c99x-2c96 CVE-2026-111749 PYSEC-2026-4370AIOHTTP: Cookie from subdomain can remove Host-Only Scope from existing cookies
urllib3PyPI 2.7.0 HIGH 6 advisories 2.8.0
- HIGHGHSA-8988-9cw3-xx77 CVE-2026-97687 PYSEC-2026-4175urllib3: HTTPS proxy TLS configuration may be ignored or overridden
- HIGHGHSA-vxq7-64xx-v4gw CVE-2026-97689 PYSEC-2026-4177urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory
- MEDIUMGHSA-gh4c-6fx4-qh6g CVE-2026-97688 PYSEC-2026-4176urllib3: Chunked Deflate streaming can enter an infinite loop
- MEDIUMPYSEC-2026-4177 CVE-2026-97689 GHSA-vxq7-64xx-v4gwurllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory
- MEDIUMPYSEC-2026-4176 CVE-2026-97688 GHSA-gh4c-6fx4-qh6gurllib3: Chunked Deflate streaming can enter an infinite loop
- MEDIUMPYSEC-2026-4175 CVE-2026-97687 GHSA-8988-9cw3-xx77urllib3: HTTPS proxy TLS configuration may be ignored or overridden
mcpPyPI 1.28.1 HIGH 5 advisories 1.30.02.2.0
- HIGHGHSA-qx49-fqc8-xw99 CVE-2026-115563Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
- MEDIUMGHSA-84m7-p3x7-pcfv CVE-2026-59951MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion
- MEDIUMGHSA-rwrf-2pqf-9j8j CVE-2026-116686Model Context Protocol Python SDK: Client fetched server-chosen $ref URLs while validating tool results against output schemas
- MEDIUMGHSA-5h93-6whr-6q8j CVE-2026-116685Model Context Protocol Python SDK: HTTP client transports followed cross-origin redirects carrying custom headers and bodies
- MEDIUMGHSA-w4fh-qvv9-3v23 CVE-2026-116684Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource server
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
- MEDIUM GHSA-fw7c-j2q8-f24mCVE-2026-9680Improper exposure of the MCP server in alibabacloud-rds-openapi-mcp-server allows remote attacker...
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | mcp >=1.26.0 |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | 1 · 0 with a fixed version released |
| Last push | 2026-10-23 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 5 catalogs (awesome_tensorblock, github_search, glama, mcp_toplist, mcpservers_org) |
|---|---|
| License | Apache-2.0 |
| Created | 2025-04-17 |
| Topics | ai mcp rds |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.