MySQL MCP Server MCP Server
io.github.musaddiq-dev/mysql-mcp-server
What this kind of tool is for
- Query, inspect, or seed a database without writing a one-off script.
- Let your agent look up schema details before it writes migration code.
- Move a small dataset between tools without leaving the terminal.
How to compare servers like this
- Engine match:
- Confirm it speaks your exact database and version, not just the family.
- Access scope:
- Read-only connections are the safe default — start there before granting writes.
- Safety rails:
- Check whether destructive statements need an explicit confirmation before they run.
- Maintenance signal:
- Database drivers change; a recently updated tool is less likely to break mid-query.
This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.
What is the MySQL MCP Server MCP server?
Python MCP server for MySQL database inspection and querying
How to install MySQL MCP Server
Copy-paste configuration for popular MCP clients.
MYSQL_HOSTMySQL host
MYSQL_PORTMySQL port
MYSQL_USERMySQL username
MYSQL_PASSWORDsecretMySQL password
MYSQL_DATABASErequiredMySQL database name
MYSQL_POOL_SIZEMySQL connection pool size
LOG_LEVELPython logging level
MYSQL_READ_QUERY_LIMITMaximum rows returned by read queries
{
"mcpServers": {
"mysql-mcp-server": {
"command": "uvx",
"args": [
"mdev-mysql-mcp-server"
],
"env": {
"MYSQL_HOST": "<YOUR_MYSQL_HOST>",
"MYSQL_PORT": "<YOUR_MYSQL_PORT>",
"MYSQL_USER": "<YOUR_MYSQL_USER>",
"MYSQL_PASSWORD": "<YOUR_MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<YOUR_MYSQL_DATABASE>",
"MYSQL_POOL_SIZE": "<YOUR_MYSQL_POOL_SIZE>",
"LOG_LEVEL": "<YOUR_LOG_LEVEL>",
"MYSQL_READ_QUERY_LIMIT": "<YOUR_MYSQL_READ_QUERY_LIMIT>"
}
}
}
}Related MCP servers

PostgreSQL MCP Server
Python MCP server for PostgreSQL database inspection and querying

AWS CLI MCP Server
Python MCP server for AWS CLI inspection and operations

Data Aggregator
Find & fetch research datasets across 17 archives, omics registries, and literature sources.

phylokit-mcp
Phylogenetic inference via IQ-TREE 3 — never returns a topology without its support

Deoochform
Create forms, read submissions, and build invitations from Claude, ChatGPT, or any MCP client.

io.github.musepy/genable-mcp
Write to Figma from any MCP client (Claude Code, Cursor). Complements the read-only official MCP.