mysql-mcp
Supports connecting to Amazon Aurora MySQL using IAM authentication, requiring AmazonRDSReadOnlyAccess IAM policy. Provides the same tools as MySQL/MariaDB for querying, explaining, schema inspection, health checks, and diagnostic playbooks.
Provides tools for executing SQL queries (read-only by default), explaining query plans, retrieving schema information (tables, columns, indexes, constraints), checking InnoDB health, connections, replication, and slow query summary, as well as running diagnostic playbooks (health, slow-query, pre-deploy, replication, innodb-status).
Provides tools for executing SQL queries (read-only by default), explaining query plans, retrieving schema information (tables, columns, indexes, constraints), checking InnoDB health, connections, replication, and slow query summary, as well as running diagnostic playbooks (health, slow-query, pre-deploy, replication, innodb-status).
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mysql-mcpshow schema of the users table"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mysql-mcp
MCP server for MySQL / MariaDB / Aurora MySQL — built for Claude Desktop and Claude Code.
mysql-mcp serve --url "mysql://root:root@localhost:3306/mydb"
mysql-mcp serve --aurora-host my-cluster.cluster-xxx.us-east-1.rds.amazonaws.com \
--aurora-region us-east-1 --aurora-user myuser --dbname mydb
mysql-mcp playbook slow-query --url "mysql://..."
mysql-mcp config desktop --url "mysql://root:root@localhost:3306/mydb"Tools exposed to Claude
Tool | What it does |
| Execute SQL (read-only by default) |
|
|
| List tables + describe columns, indexes, constraints |
| InnoDB status, connections, replication, slow query summary |
| Named multi-step diagnostic workflow (see below) |
Related MCP server: Database Tools for Claude AI
Playbooks
mysql-mcp playbook health --url "..." # full cluster health
mysql-mcp playbook slow-query --url "..." # find + diagnose slow queries
mysql-mcp playbook pre-deploy --url "..." # safe to deploy?
mysql-mcp playbook replication --url "..." # diagnose replica lag
mysql-mcp playbook innodb-status --url "..." # parse SHOW ENGINE INNODB STATUSClaude Desktop setup
mysql-mcp config desktop --url "mysql://root:root@localhost:3306/mydb"Prints the JSON block to paste into ~/Library/Application Support/Claude/claude_desktop_config.json.
Aurora MySQL (IAM auth)
mysql-mcp serve \
--aurora-host my-cluster.cluster-xxx.us-east-1.rds.amazonaws.com \
--aurora-region us-east-1 \
--aurora-user myuser \
--dbname mydbRequires AmazonRDSReadOnlyAccess IAM policy on the calling role and IAM DB auth enabled on the cluster.
Part of the rajivonai polyglot database toolkit
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceAn MCP server that enables MySQL database integration with Claude. You can execute SQL queries and manage database connections.Last updated29MIT
- AlicenseBqualityDmaintenanceMCP server that allows Claude AI to interact directly with MySQL databases, enabling query execution and table information retrieval through natural language.Last updated144MIT
- Alicense-qualityAmaintenanceMySQL MCP Server enables Claude Desktop and Claude Code to execute SQL queries, explore databases, Webview to add or enable Databases, Connections, and interact with your MySQL data - all through a secure, permission-controlled interface.Last updated34MIT
- Alicense-qualityDmaintenanceA MySQL MCP server for secure database interaction, enabling schema inspection, query execution, and RBAC via AI coding assistants.Last updated4485MIT
Related MCP Connectors
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
GibsonAI MCP server: manage your databases with natural language
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rajivonai/mysql-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server