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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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 Connectors
Query your warehouse or a CSV with Claude/ChatGPT over MCP, governed by table-level ACL + audit.
The Ramp MCP server enables users to securely connect Ramp with AI assistants like ChatGPT and Claude to query financial data and take actions using natural language. It transforms Ramp's developer API into a SQL interface that LLMs can query, allowing admins to analyze spend trends, identify cost savings, and run complex SQL analyses on comprehensive datasets (transactions, purchase orders, vendors, users), while all users can manage cards, view transactions, request reimbursements, and get expense policy answers.
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- AlicenseCqualityDmaintenanceAn MCP server that enables MySQL database integration with Claude. You can execute SQL queries and manage database connections.29MIT
- AlicenseBqualityDmaintenanceMCP server that allows Claude AI to interact directly with MySQL databases, enabling query execution and table information retrieval through natural language.154MIT
- AlicenseNot gradedqualityCmaintenanceMySQL 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.611MIT
- AlicenseNot gradedqualityDmaintenanceA MySQL MCP server for secure database interaction, enabling schema inspection, query execution, and RBAC via AI coding assistants.1,0815MIT
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