Skip to content

Commit fd8f23f

Browse files
committed
support more API
1 parent 640f1b6 commit fd8f23f

File tree

7 files changed

+3074
-586
lines changed

7 files changed

+3074
-586
lines changed

server/mcp_server_rds_postgresql/README.md

Lines changed: 210 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -3,72 +3,235 @@
33
44
---
55

6-
| Item | Details |
7-
| ---- | ---- |
8-
| Version | v1.0.0 |
6+
| Item | Details |
7+
| ---- |-------------------------------------------------------------------------------------------|
8+
| Version | v1.1.0 |
99
| Description | Volcengine RDS PostgreSQL is a ready - to - use and reliable relational database service. |
10-
| Category | Database |
11-
| Tags | PostgreSQL, RDS, Relational Database, Database |
10+
| Category | Database |
11+
| Tags | PostgreSQL, RDS, Relational Database, Database |
1212

1313
---
1414

1515
## Tools
1616

17-
### 1. `describe_db_instances`
18-
- **Detailed Description**: View the list of a user's RDS PostgreSQL instances, supporting pagination queries.
19-
- **Trigger Example**: `"List my RDS PostgreSQL instances"`
17+
### 1. `describe_wal_log_backups`
18+
- **Detailed Description**: Call the DescribeWALLogBackups API to get the list of WAL log backups for a specified instance.
19+
- **Trigger Example**: `Get the WAL log backup list for instance postgres-123456`
2020

21-
### 2. `describe_db_instance_detail`
22-
- **Detailed Description**: View the details of a specified RDS PostgreSQL instance by its ID.
23-
- **Trigger Example**: `"View the details of the instance with ID postgres-123456"`
2421

25-
### 3. `describe_databases`
26-
- **Detailed Description**: Get the list of databases for a specified RDS PostgreSQL instance.
27-
- **Trigger Example**: `"Get the database list of the postgres-123456 instance"`
22+
### 2. `describe_db_instance_ssl`
23+
- **Detailed Description**: Call the DescribeDBInstanceSSL API to query the SSL settings of a specified instance.
24+
- **Trigger Example**: `Query the SSL configuration of instance postgres-123456`
2825

29-
### 4. `describe_db_accounts`
30-
- **Detailed Description**: Get the list of accounts for a specified RDS PostgreSQL instance.
31-
- **Trigger Example**: `"Get the account list of the postgres-123456 instance"`
3226

33-
### 5. `describe_schemas`
34-
- **Detailed Description**: Get the list of schemas for a specified RDS PostgreSQL instance.
35-
- **Trigger Example**: `"Get the schema list of the postgres-123456 instance"`
27+
### 3. `describe_tasks`
28+
- **Detailed Description**: Call the DescribeTasks API to query tasks.
29+
- **Trigger Example**: `View the recent tasks of instance postgres-123456`
3630

37-
### 6. `describe_db_instance_parameters`
38-
- **Detailed Description**: Get the list of parameters for a specified RDS PostgreSQL instance.
39-
- **Trigger Example**: `"Get the parameter list of the postgres-123456 instance"`
4031

41-
### 7. `describe_allow_lists`
42-
- **Detailed Description**: Get the list of allow lists in a specified region for RDS PostgreSQL.
43-
- **Trigger Example**: `"Get the allow list in the cn-beijing region"`
32+
### 4. `describe_db_engine_version_parameters`
33+
- **Detailed Description**: Call the DescribeDBEngineVersionParameters API to query the list of parameters that can be set by users for a specified database engine version.
34+
- **Trigger Example**: `Query the list of parameters supported by PostgreSQL 14`
4435

45-
### 8. `describe_allow_list_detail`
46-
- **Detailed Description**: Get the details of an RDS PostgreSQL allow list.
47-
- **Trigger Example**: `"Get the details of the allow list acl-123456"`
4836

49-
### 9. `describe_backups`
50-
- **Detailed Description**: Get the list of backups for a specified RDS PostgreSQL instance.
51-
- **Trigger Example**: `"Get the backup list of the postgres-123456 instance"`
37+
### 5. `describe_planned_events`
38+
- **Detailed Description**: Call the DescribePlannedEvents API to query maintenance events in the current region.
39+
- **Trigger Example**: `View the database maintenance events in the current region`
5240

53-
### 10. `describe_backup_policy`
54-
- **Detailed Description**: Get the backup policy for a specified RDS PostgreSQL instance.
55-
- **Trigger Example**: `"Get the backup policy of the postgres-123456 instance"`
5641

57-
### 11. `create_db_instance`
58-
- **Detailed Description**: Create an RDS PostgreSQL instance.
59-
- **Trigger Example**: `"Create an RDS PostgreSQL instance"`
42+
### 6. `get_backup_download_link`
43+
- **Detailed Description**: Call the GetBackupDownloadLink API to obtain the download link for a backup.
44+
- **Trigger Example**: `Get the download link for backup ID backup-789012`
6045

61-
### 12. `create_database`
62-
- **Detailed Description**: Create an RDS PostgreSQL database.
63-
- **Trigger Example**: `"Create a database named testdb in the postgres-123456 instance"`
6446

65-
### 13. `create_db_account`
66-
- **Detailed Description**: Create an RDS PostgreSQL database account.
67-
- **Trigger Example**: `"Create a database account named testuser in the postgres-123456 instance"`
47+
### 7. `clone_database`
48+
- **Detailed Description**: Call the CloneDatabase API to clone an existing database.
49+
- **Trigger Example**: `Clone the mydb database in instance postgres-123456`
6850

69-
### 14. `create_schema`
70-
- **Detailed Description**: Create an RDS PostgreSQL database Schema.
71-
- **Trigger Example**: `"Create a schema named testschema in the testdb database of the postgres-123456 instance"`
51+
52+
### 8. `describe_slots`
53+
- **Detailed Description**: Call the DescribeSlots API to query the replication slot list.
54+
- **Trigger Example**: `Query replication slot information for instance postgres-123456`
55+
56+
57+
### 9. `describe_allow_list_detail`
58+
- **Detailed Description**: Call the DescribeAllowListDetail API to view the allowlist details.
59+
- **Trigger Example**: `View the details of allowlist with ID allowlist-345678`
60+
61+
62+
### 10. `describe_allow_lists`
63+
- **Detailed Description**: Call the DescribeAllowLists API to view the allowlist list in the specified region.
64+
- **Trigger Example**: `List all allowlists in the current region`
65+
66+
67+
### 11. `revoke_db_account_privilege`
68+
- **Detailed Description**: Call the RevokeDBAccountPrivilege API to revoke all privileges from a database account.
69+
- **Trigger Example**: `Revoke all privileges from account user1 in instance postgres-123456`
70+
71+
72+
### 12. `modify_db_endpoint_name`
73+
- **Detailed Description**: Call the ModifyDBEndpointName API to modify the connection endpoint name.
74+
- **Trigger Example**: `Rename the connection endpoint endpoint-789012 of instance postgres-123456 to main-endpoint`
75+
76+
77+
### 13. `describe_detached_backups`
78+
- **Detailed Description**: Call the DescribeDetachedBackups API to query backups of deleted instances.
79+
- **Trigger Example**: `Query the backup list of deleted instances`
80+
81+
82+
### 14. `describe_backup_policy`
83+
- **Detailed Description**: Call the DescribeBackupPolicy API to query the backup policy.
84+
- **Trigger Example**: `View the backup policy of instance postgres-123456`
85+
86+
87+
### 15. `describe_backups`
88+
- **Detailed Description**: Call the DescribeBackups API to query the backup list.
89+
- **Trigger Example**: `List all backups for instance postgres-123456`
90+
91+
92+
### 16. `modify_db_instance_name`
93+
- **Detailed Description**: Call the ModifyDBInstanceName API to modify the instance name.
94+
- **Trigger Example**: `Rename instance postgres-123456 to my-postgres-instance`
95+
96+
97+
### 17. `describe_db_instance_parameters`
98+
- **Detailed Description**: Call the DescribeDBInstanceParameters API to query the instance parameter configuration.
99+
- **Trigger Example**: `View the current parameter configuration of instance postgres-123456`
100+
101+
102+
### 18. `modify_db_instance_parameters`
103+
- **Detailed Description**: Call the ModifyDBInstanceParameters API to modify instance parameters.
104+
- **Trigger Example**: `Modify the max_connections parameter of instance postgres-123456 to 500`
105+
106+
107+
### 19. `modify_db_instance_charge_type`
108+
- **Detailed Description**: Call the ModifyDBInstanceChargeType API to modify the instance billing type.
109+
- **Trigger Example**: `Change the billing type of instance postgres-123456 to monthly subscription`
110+
111+
112+
### 20. `describe_db_instance_price_difference`
113+
- **Detailed Description**: Call the DescribeDBInstancePriceDifference API to query the price difference for instance.
114+
- **Trigger Example**: `Query the price difference for upgrading the specification of instance postgres-123456`
115+
116+
117+
### 21. `modify_db_endpoint_dns`
118+
- **Detailed Description**: Call the ModifyDBEndpointDNS API to modify the resolution method of the private network address for the instance.
119+
- **Trigger Example**: `Modify the private network DNS resolution method of instance postgres-123456`
120+
121+
122+
### 22. `remove_tags_from_resource`
123+
- **Detailed Description**: Call the RemoveTagsFromResource API to unbind tags from the instance.
124+
- **Trigger Example**: `Unbind the tag env=test from instance postgres-123456`
125+
126+
127+
### 23. `add_tags_to_resource`
128+
- **Detailed Description**: Call the AddTagsToResource API to bind tags to the instance.
129+
- **Trigger Example**: `Add the tag env=prod to instance postgres-123456`
130+
131+
132+
### 24. `describe_db_instance_price_detail`
133+
- **Detailed Description**: Call the DescribeDBInstancePriceDetail API to query the detailed price for instance.
134+
- **Trigger Example**: `Query the detailed price for creating a PostgreSQL instance`
135+
136+
137+
### 25. `create_db_endpoint`
138+
- **Detailed Description**: Call the CreateDBEndpoint API to create a connection endpoint for the specified instance.
139+
- **Trigger Example**: `Create a new connection endpoint for instance postgres-123456`
140+
141+
142+
### 26. `describe_db_instance_detail`
143+
- **Detailed Description**: Call the DescribeDBInstanceDetail API to query detailed information about the instance.
144+
- **Trigger Example**: `View detailed information for instance postgres-123456`
145+
146+
147+
### 27. `modify_db_instance_spec`
148+
- **Detailed Description**: Call the ModifyDBInstanceSpec API to modify the instance configuration.
149+
- **Trigger Example**: `Upgrade the specification of instance postgres-123456 to 4 cores 16G`
150+
151+
152+
### 28. `restore_to_new_instance`
153+
- **Detailed Description**: Call the RestoreToNewInstance API to restore to a new instance.
154+
- **Trigger Example**: `Restore from backup backup-789012 to a new instance`
155+
156+
157+
### 29. `create_db_instance`
158+
- **Detailed Description**: Call the CreateDBInstance API to create an instance.
159+
- **Trigger Example**: `Create a PostgreSQL 14 version instance`
160+
161+
162+
### 30. `describe_db_instances`
163+
- **Detailed Description**: Call the DescribeDBInstances API to query the instance list.
164+
- **Trigger Example**: `List all PostgreSQL instances in the current region`
165+
166+
167+
### 31. `describe_db_instance_specs`
168+
- **Detailed Description**: Call the DescribeDBInstanceSpecs API to query the available instance specifications for sale.
169+
- **Trigger Example**: `Query available PostgreSQL instance specifications`
170+
171+
172+
### 32. `describe_recoverable_time`
173+
- **Detailed Description**: Call the DescribeRecoverableTime API to query the recoverable time range for instance backups.
174+
- **Trigger Example**: `Query the recoverable time range for instance postgres-123456`
175+
176+
177+
### 33. `modify_db_endpoint_address`
178+
- **Detailed Description**: Call the ModifyDBEndpointAddress API to modify the port and prefix of the private network connection address for the instance.
179+
- **Trigger Example**: `Modify the private network connection port of instance postgres-123456 to 5433`
180+
181+
182+
### 34. `describe_failover_logs`
183+
- **Detailed Description**: Call the DescribeFailoverLogs API to query the primary-standby switchover logs for the instance.
184+
- **Trigger Example**: `View the primary-standby switchover history for instance postgres-123456`
185+
186+
187+
### 35. `reset_db_account`
188+
- **Detailed Description**: Call the ResetDBAccount API to reset the password of the account.
189+
- **Trigger Example**: `Reset the password for account user1 in instance postgres-123456`
190+
191+
192+
### 36. `modify_db_account_privilege`
193+
- **Detailed Description**: Call the ModifyDBAccountPrivilege API to modify the database account privileges.
194+
- **Trigger Example**: `Add read-write privileges on database mydb to account user1 in instance postgres-123456`
195+
196+
197+
### 37. `create_schema`
198+
- **Detailed Description**: Call the CreateSchema API to create a Schema.
199+
- **Trigger Example**: `Create schema1 in database mydb of instance postgres-123456`
200+
201+
202+
### 38. `modify_schema_owner`
203+
- **Detailed Description**: Call the ModifySchemaOwner API to modify the owner of a Schema.
204+
- **Trigger Example**: `Change the owner of schema1 in database mydb of instance postgres-123456 to user2`
205+
206+
207+
### 39. `describe_schemas`
208+
- **Detailed Description**: Call the DescribeSchemas API to query the Schema list.
209+
- **Trigger Example**: `List all schemas in database mydb of instance postgres-123456`
210+
211+
212+
### 40. `modify_database_owner`
213+
- **Detailed Description**: Call the ModifyDatabaseOwner API to modify the database Owner.
214+
- **Trigger Example**: `Change the owner of database mydb in instance postgres-123456 to user2`
215+
216+
217+
### 41. `create_database`
218+
- **Detailed Description**: Call the CreateDatabase API to create a database.
219+
- **Trigger Example**: `Create a new database newdb in instance postgres-123456`
220+
221+
222+
### 42. `describe_databases`
223+
- **Detailed Description**: Call the DescribeDatabases API to query the database list.
224+
- **Trigger Example**: `List all databases in instance postgres-123456`
225+
226+
227+
### 43. `create_db_account`
228+
- **Detailed Description**: Call the CreateDBAccount API to create an account.
229+
- **Trigger Example**: `Create a new account user3 in instance postgres-123456`
230+
231+
232+
### 44. `describe_db_accounts`
233+
- **Detailed Description**: Call the DescribeDBAccounts API to query the account list.
234+
- **Trigger Example**: `List all accounts in instance postgres-123456`
72235

73236
---
74237

0 commit comments

Comments
 (0)