About Rds MCP
Rds MCP is an MCP server published by neoai-agent in the Data category: aWS RDS MCP(Model Context Protocol) server for monitoring and analyzing RDS(MySQL, PostgreSQL) instances and it's performance metrics.
The repository has 8 stars and 3 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/neoai-agent/rds-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Rds MCP
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
RDS MCP Server
A Model Context Protocol (MCP) server for monitoring and analyzing Amazon RDS(MySQL, PostgreSQL) instances information, metrics and slowquery logs.
Installation
Install directly from GitHub using pipx:
# Install
pipx install git+https://github.com/neoai-agent/rds-mcp.git
# Or run without installation
pipx run git+https://github.com/neoai-agent/rds-mcp.git
Quick Start
Authentication Options
The server supports multiple AWS authentication methods:
Option 1: IAM Roles (Recommended for EC2/ECS)
When running on AWS infrastructure with IAM roles attached, you can omit AWS credentials:
rds-mcp --openai-api-key "YOUR_OPENAI_API_KEY" --region "YOUR_AWS_REGION"
Option 2: AWS Access Keys
For local development or when IAM roles are not available:
rds-mcp --access-key "YOUR_AWS_ACCESS_KEY" --secret-access-key "YOUR_AWS_SECRET_KEY" --region "YOUR_AWS_REGION" --openai-api-key "YOUR_OPENAI_API_KEY"
Option 3: Environment Variables
You can also set AWS credentials via environment variables:
rds-mcp --access-key "YOUR_AWS_ACCESS_KEY" --secret-access-key "YOUR_AWS_SECRET_KEY" --region "YOUR_AWS_REGION" --openai_api_key "YOUR_OPENAI_API_KEY"
Note: When using IAM roles, the server will automatically use the default AWS credential chain, which includes IAM roles, environment variables, and AWS credentials file.
Available Tools
The server provides the following tools for RDS instance management and monitoring:
- Get RDS instance details:
await get_db_info(
database_name="your-db-instance",
region="your-aws-region"
)
- Get database metrics:
await get_database_metrics(
database_name="your-db-instance",
time_range_minutes=30
)
- Get slow queries:
await get_database_queries(
database_name="your-db-instance",
time_range_minutes=30
)
- Get instance performance metrics:
await get_top_rds_load(
database_name="your-db-instance",
time_range_minutes=30
)
Development
For development setup:
git clone https://github.com/neoai-agent/rds-mcp.git
cd rds-mcp
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -e ".[dev]"
License
MIT License - See LICENSE file for details
README fetched from the repository yesterday. The original is authoritative.