neoai-agent

RDS MCP Server

Community neoai-agent
Updated

AWS RDS MCP(Model Context Protocol) server for monitoring and analyzing RDS(MySQL, PostgreSQL) instances and it's performance metrics.

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:

  1. Get RDS instance details:
await get_db_info(
    database_name="your-db-instance",
    region="your-aws-region"
)
  1. Get database metrics:
await get_database_metrics(
    database_name="your-db-instance",
    time_range_minutes=30
)
  1. Get slow queries:
await get_database_queries(
    database_name="your-db-instance",
    time_range_minutes=30
)
  1. 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

MCP Server · Populars

MCP Server · New

    softdaddy-o

    soft-ue-cli (+mcp)

    Python CLI + UE plugin that lets Claude Code (AI coding agent) control Unreal Engine in real time. Spawn actors, edit blueprints, call functions, capture screenshots, manage PIE sessions, and more -- all from the terminal. Works with UE5 editor and packaged builds via an in-process HTTP bridge.

    Community softdaddy-o
    opendatalab

    MinerU Document Explorer

    Agent-native knowledge engine with MCP tools for document indexing, wiki organization, fast retrieval and deep reading across PDF/DOCX/PPTX/Markdown

    Community opendatalab
    mgreen27

    Velociraptor MCP

    VelociraptorMCP is a Model Context Protocol bridge for exposing LLMs to MCP clients.

    Community mgreen27
    karavaev-evgeniy

    node-red-mcp-server

    MCP Server

    Community karavaev-evgeniy
    Shelpuk-AI-Technology-Consulting

    Improve AI-generated code quality by 20%

    Lad MCP Server: Autonomous code & system design review for AI coding agents (Claude Code, Cursor, Codex, etc.). Features multi-model consensus via OpenRouter and context-aware reviews via Serena.