awslabs.mysql-mcp-server
v1.1.6An AWS Labs Model Context Protocol (MCP) server for mysql
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
run_query
Run a SQL query against MySQL
| Parameter | Type | Description |
|---|---|---|
cluster_identifier * | string | Cluster identifier |
connection_method * | connection method | |
database * | string | database name |
db_endpoint * | string | database endpoint |
sql * | string | The SQL query to run |
query_parameters | Parameters for the SQL query |
get_table_schema
Fetch table columns and comments from MySQL
| Parameter | Type | Description |
|---|---|---|
cluster_identifier * | string | Cluster identifier |
connection_method * | connection method | |
database * | string | database name |
db_endpoint * | string | database endpoint |
table_name * | string | name of the table |
connect_to_database
Connect to a specific database and save the connection internally
| Parameter | Type | Description |
|---|---|---|
cluster_identifier * | string | cluster identifier |
connection_method * | connection method | |
database * | string | database name |
database_type * | database type | |
db_endpoint * | string | database endpoint |
port * | integer | MySQL port |
region * | string | region |
is_database_connected
Check if a connection has been established
| Parameter | Type | Description |
|---|---|---|
cluster_identifier * | string | cluster identifier |
get_database_connection_info
Get all cached database connection information
create_cluster
Create an Aurora MySQL cluster
| Parameter | Type | Description |
|---|---|---|
cluster_identifier * | string | cluster identifier |
region * | string | region |
cluster_type | string | Aurora cluster topology. 'serverless_v2' (default) creates a Serverless v2 cluster with auto-scaling ACU — recommended for variable, bursty, or cost-sensitive workloads. 'provisioned' creates a fixe… |
database | string | default database name |
db_instance_class | string | Writer instance class. 'db.serverless' (default) for cluster_type='serverless_v2'. For cluster_type='provisioned', choose a non-serverless class such as db.r6g.large, db.r6g.xlarge, db.r7g.large, etc.… |
db_subnet_group_name | Optional DB subnet group name. Required when the AWS account does not have default VPC subnets (most production accounts). When omitted, RDS tries to use default subnets, which fails with InvalidSubne… | |
engine_version | string | engine version |
vpc_security_group_ids | Optional list of VPC security group IDs to attach to the cluster. When omitted, RDS uses the default security group of the chosen subnet group. |
get_job_status
get background job status
| Parameter | Type | Description |
|---|---|---|
job_id * | string |