AWS RDS Management
Manage Amazon RDS and Aurora database clusters, including instances, backups, parameters, costs, and monitoring.
AWS Labs RDS Management MCP Server
The official MCP Server for managing AWS RDS database resources. This server provides comprehensive tools for creating, modifying, deleting, and managing Amazon RDS database instances and clusters.
Available Resource Templates
DB Cluster Resources
aws-rds://db-cluster
- List all available Amazon RDS clusters in your accountaws-rds://db-cluster/{db_cluster_identifier}
- Get detailed information about a specific RDS cluster
DB Instance Resources
aws-rds://db-instance
- List all available Amazon RDS instances in your accountaws-rds://db-instance/{db_instance_identifier}
- Get detailed information about a specific RDS instance
Available Tools
DB Cluster Management Tools
CreateDBCluster
- Create a new Amazon RDS database clusterModifyDBCluster
- Modify an existing RDS database cluster configurationDeleteDBCluster
- Delete an RDS database clusterChangeDBClusterStatus
- Start, stop, or reboot a DB clusterFailoverDBCluster
- Force a failover for an RDS database clusterCreateDBClusterSnapshot
- Create a snapshot of a DB clusterDeleteDBClusterSnapshot
- Delete a DB cluster snapshotRestoreDBClusterFromSnapshot
- Restore a DB cluster from a snapshotRestoreDBClusterToPointInTime
- Restore a DB cluster to a point in timeDescribeDBClusters
- Retrieve information about RDS database clusters
DB Instance Management Tools
CreateDBInstance
- Create a new Amazon RDS database instanceModifyDBInstance
- Modify an existing RDS database instanceDeleteDBInstance
- Delete an RDS database instanceManageDBInstanceStatus
- Start, stop, or reboot a DB instanceDescribeDBInstances
- Retrieve information about RDS database instances
Parameter Group Management Tools
CreateDBClusterParameterGroup
- Create a new custom DB cluster parameter groupCreateDBInstanceParamGroup
- Create a new custom DB instance parameter groupModifyDBClusterParameterGroup
- Modify parameters in a DB cluster parameter groupModifyDBInstanceParamGroup
- Modify parameters in a DB instance parameter groupResetDBClusterParameterGroup
- Reset parameters in a DB cluster parameter groupResetDBInstanceParameterGroup
- Reset parameters in a DB instance parameter groupDescribeDBClusterParamGroups
- List DB cluster parameter group descriptionsDescribeDBInstanceParamGroups
- List DB instance parameter group descriptions
Instructions
The AWS RDS Management MCP Server provides comprehensive tools for managing your Amazon RDS database resources. Each tool provides specific functionality for working with RDS clusters and instances, allowing you to create, modify, delete, and control database resources.
To use these tools, ensure you have proper AWS credentials configured with appropriate permissions for RDS operations. The server will automatically use credentials from environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN) or other standard AWS credential sources.
All tools support an optional region_name
parameter to specify which AWS region to operate in. If not provided, it will use the AWS_REGION environment variable.
Prerequisites
- Install
uv
from Astral or the GitHub README - Install Python using
uv python install 3.10
- Set up AWS credentials with access to RDS services
- Consider setting up Read-only permission if you don't want the LLM to modify any resources
Installation
Add the MCP to your favorite agentic tools. (e.g. for Amazon Q Developer CLI MCP, ~/.aws/amazonq/mcp.json
):
{
"mcpServers": {
"awslabs.rds-management-mcp-server": {
"command": "uv",
"args": [
"--directory",
"/path/to/rds-management",
"run",
"main.py"
],
"env": {
"AWS_PROFILE": "default",
"AWS_REGION": "us-west-2",
"FASTMCP_LOG_LEVEL": "ERROR"
},
"disabled": false,
"autoApprove": []
}
}
}
If you would like to prevent the MCP from taking any mutating actions (i.e. Create/Update/Delete Resource), you can specify the readonly flag as demonstrated below:
{
"mcpServers": {
"awslabs.rds-management-mcp-server": {
"command": "uv",
"args": [
"--directory",
"/path/to/rds-management",
"run",
"main.py",
"--readonly"
],
"env": {
"AWS_PROFILE": "default",
"AWS_REGION": "us-west-2",
"FASTMCP_LOG_LEVEL": "ERROR"
},
"disabled": false,
"autoApprove": []
}
}
}
Configuration
AWS Configuration
Configure AWS credentials and region:
# AWS settings
AWS_PROFILE=default # AWS credential profile to use
AWS_REGION=us-east-1 # AWS region to connect to
The server automatically handles:
- AWS authentication and credential management
- Connection establishment and management
Server Settings
The following CLI arguments can be passed when running the server:
# Server CLI arguments
--max-items 100 # Maximum number of items returned from API responses
--port 8888 # Port to run the server on
--readonly # Whether to run in readonly mode (prevents mutating operations)
--no-readonly # Whether to turn off readonly mode (allow mutating operations)
--region us-east-1 # AWS region for RDS operations
--profile default # AWS profile to use for credentials
Development
Running Tests
uv venv
source .venv/bin/activate
uv sync
uv run --frozen pytest
Running the Server
uv --directory /path/to/rds-management run main.py
Running in Readonly Mode
uv --directory /path/to/rds-management run main.py --readonly
Related Servers
AKShare One
Access Chinese stock market data, including historical prices, real-time quotes, news, and financial statements.
Simple MySQL MCP Server
A simple MCP server for MySQL, demonstrating fundamental MCP protocol concepts. Requires a MySQL database connection configured via environment variables.
DBHub
Universal database MCP server supporting mainstream databases.
GraphMem
An MCP server for graph-based memory management, enabling AI to create, retrieve, and manage knowledge entities and their relationships.
D&D 5E MCP Server
Access Dungeons & Dragons 5th Edition content, including spells, classes, and monsters, via the Open5e API.
MongoDB MCP Server
A server for interacting with MongoDB databases and MongoDB Atlas.
CData Jira Assets
A read-only MCP server for Jira Assets, powered by the CData JDBC Driver.
BigQuery
Server implementation for Google BigQuery integration that enables direct BigQuery database access and querying capabilities
MySQL Server
A server for accessing and managing MySQL databases.
Crunchbase
Access Crunchbase data for business information and insights. Requires a Crunchbase API key.