You need to enable JavaScript to run this app.
RDS for PostgreSQL

RDS for PostgreSQL

Copy page
Download PDF
Developer tool
MCP Server
Copy page
Download PDF
MCP Server
With the widespread application of AI technology, more clients begin supporting Anthropic's open-source Model Context Protocol (MCP), helping large language models (LLM) convert users' natural language management needs into standardized resource management commands.​
To further simplify resource management for RDS for PostgreSQL, we launched a dedicated service based on the MCP protocol - RDS PostgreSQL MCP Server. This service includes a full set of cloud database resource management tools that seamlessly connect with LLMs through MCP. This facilitates full-process automation of "natural language input → standardized command conversion → database operation execution," significantly reducing management costs.​
Deployment methods supported by RDS PostgreSQL MCP Server​
RDS PostgreSQL MCP currently supports two deployment methods: cloud deployment and local deployment.​
Install RDS PostgreSQL MCP Server​
Standard scenario (platform/development environment)​
If you use RDS PostgreSQL MCP Server in platforms or tools like Volcano Ark, TRAE, HiAgent, Cursor, or in the Python development environment, you can directly go to MCP marketplace to get a dedicated long-lasting URL.​
Custom scenario​
If you need to use it in scenarios other than those mentioned above, visit GitHub to download the full project source code and deployment configuration files of the RDS PostgreSQL MCP Server.​
Tools provided by RDS PostgreSQL MCP Server​
​
Tools​
Description​
Trigger example​
describe_wal_log_backups​
Call the DescribeWALLogBackups API to obtain the list of backed-up WAL logs for the specified instance.​
Get the list of WAL log backups for the instance postgres-12345678****.​
describe_db_instance_ssl​
Call the DescribeDBInstanceSSL API to query the SSL settings of the specified instance.​
Query the SSL configuration of the instance postgres-12345678****.​
describe_tasks​
Call the DescribeTasks API to query tasks.​
View the recent tasks of the instance postgres-12345678****.​
describe_db_engine_version_parameters​
Call DescribeDBEngineVersionParameters API to query the list of parameters that the specified database engine version supports for users to set.​
Query the list of supported parameters for PostgreSQL 14.​
describe_planned_events​
Call DescribePlannedEvents API to query the operation and maintenance events in the current region.​
View the database O&M events in the current region.​
get_backup_download_link​
Call GetBackupDownloadLink API to obtain the download link of the backup.​
Get the download link for the backup with ID 20260129-220815F.​
clone_database​
Call CloneDatabase API to clone an existing database.​
Clone the mydb database in the instance postgres-12345678****.​
describe_slots​
Call DescribeSlots API to query the replication slots of the instance.​
Query the replication slot information of the instance postgres-12345678****.​
describe_allow_list_detail​
Call DescribeAllowListDetail API to query the allowlist details.​
View the detailed information of the allowlist with ID acl-fe1339b0024e42ca9872e8f4af12****.​
describe_allow_lists​
Call DescribeAllowLists API to query the allowlists list in a specifc region.​
List all allowlists in the current region.​
revoke_db_account_privilege​
Call RevokeDBAccountPrivilege API to revoke authorization to database accounts.​
Clear all permissions of the account user1 in the instance postgres-12345678****.​
modify_db_endpoint_name​
Call ModifyDBEndpointName API to modify the connection endpoint name.​
Rename the connection endpoint with ID postgres-12345678****-cluster of the instance postgres-12345678**** to main-endpoint.​
describe_detached_backups​
Call DescribeDetachedBackups API to query the backup of a deleted instance.​
Query the backup list of deleted instances.​
describe_backup_policy​
Call DescribeBackupPolicy API to query the backup policy.​
View the backup policy of the instance postgres-12345678****.​
describe_backups​
Call DescribeBackups API to query a list of backups.​
List all backups of the instance postgres-12345678****.​
modify_db_instance_name​
Call the ModifyDBInstanceName API to modify the instance name.​
Rename the instance postgres-12345678**** to my-postgres-instance.​
describe_db_instance_parameters​
Call DescribeDBInstanceParameters API to query instance parameters.​
View the current parameter configuration of the instance postgres-12345678****.​
modify_db_instance_parameters​
Call ModifyDBInstanceParameters API to modify instance parameters.​
Modify the max_connections parameter of the instance postgres-12345678**** to 500.​
modify_db_instance_charge_type​
Call ModifyDBInstanceChargeType API to modify the billing type of an instance.​
Change the billing type of the instance postgres-12345678**** to subscription.​
describe_db_instance_price_difference​
Call DescribeDBInstancePriceDifference API to query instance price difference.​
Query the price difference for upgrading the specification of the instance postgres-12345678****.​
modify_db_endpoint_dns​
Call ModifyDBEndpointDNS API to modify the instance DNS.​
Modify the private network DNS resolution method of the instance postgres-12345678****.​
remove_tags_from_resource​
Call RemoveTagsFromResource API to remove tags from an instance.​
Unbind the tag env=test from the instance postgres-12345678****.​
add_tags_to_resource​
Call AddTagsToResource API to add tags to an instance.​
Add the tag env=prod to the instance postgres-12345678****.​
describe_db_instance_price_detail​
Call DescribeDBInstancePriceDetail API to query instance price details.​
Query the detailed price for creating a PostgreSQL instance.​
create_db_endpoint​
Call CreateDBEndpoint API to create an endpoint for the specified instance.​
Create a new connection terminal for the instance postgres-12345678****.​
describe_db_instance_detail​
Call DescribeDBInstanceDetail API to query instance details.​
View the detailed information of the instance postgres-12345678****.​
modify_db_instance_spec​
Call ModifyDBInstanceSpec API to modify instance configurations.​
Upgrade the specification of the instance postgres-12345678**** to 4 Core 16G.​
restore_to_new_instance​
Call RestoreToNewInstance API to recover data to a new instance.​
Restore to a new instance from the backup 20260129-220815F.​
create_db_instance​
Call CreateDBInstance API to create an instance.​
Create an instance of PostgreSQL 14.​
describe_db_instances​
Call DescribeDBInstances API to query a list of instances.​
List all PostgreSQL instances in the current region.​
describe_db_instance_specs​
Call DescribeDBInstanceSpecs API to query instance specifications available for sale.​
Query the available specifications for PostgreSQL instances.​
describe_recoverable_time​
Call DescribeRecoverableTime API to query the time range for data recovery from an instance backup.​
Query the recoverable time range of the instance postgres-12345678****.​
modify_db_endpoint_address​
Call ModifyDBEndpointAddress API to modify the instance address.​
Modify the private network connection port of the instance postgres-12345678**** to 5433.​
describe_failover_logs​
Call DescribeFailoverLogs API to query the primary/secondary switchover log of the instance.​
View the primary-secondary switchover history of the instance postgres-12345678****.​
reset_db_account​
Call ResetDBAccount API to reset the account password.​
Reset the password of the account user1 in the instance postgres-12345678****.​
modify_db_account_privilege​
Call ModifyDBAccountPrivilege API to modify the database account permissions.​
Add read-write permissions for the mydb database to the account user1 of the instance postgres-12345678****.​
create_schema​
Call CreateSchema API to create a schema.​
Create schema1 in the mydb database of the instance postgres-12345678****.​
modify_schema_owner​
Call ModifySchemaOwner API to modify the schema owner.​
Change the owner of schema1 in the mydb database of the instance postgres-12345678**** to user2.​
describe_schemas​
Call DescribeSchemas API to query a list of schemas.​
List all schemas in the mydb database of the instance postgres-12345678****.​
modify_database_owner​
Call ModifyDatabaseOwner API to modify the database owner.​
Change the owner of the mydb database in the instance postgres-12345678**** to user2.​
create_database​
Call CreateDatabase API to create a database.​
Create a new database newdb in the instance postgres-12345678****.​
describe_databases​
Call DescribeDatabases API to query a list of databases.​
List all databases of the instance postgres-12345678****.​
create_db_account​
Call CreateDBAccount API to create an account.​
Create a new account user3 in the instance postgres-12345678****.​
describe_db_accounts​
Call DescribeDBAccounts API to query a list of accounts.​
List all accounts of the instance postgres-12345678****.​
​
Last updated: 2026.02.04 11:21:18