PluginBench
MCP Server
Maintained
MIT

MySQL MCP Server MCP Server

io.github.musaddiq-dev/mysql-mcp-server

RepositoryRegistry
How to choose

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.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • MYSQL_HOST

    MySQL host

  • MYSQL_PORT

    MySQL port

  • MYSQL_USER

    MySQL username

  • MYSQL_PASSWORD
    secret

    MySQL password

  • MYSQL_DATABASE
    required

    MySQL database name

  • MYSQL_POOL_SIZE

    MySQL connection pool size

  • LOG_LEVEL

    Python logging level

  • MYSQL_READ_QUERY_LIMIT

    Maximum rows returned by read queries

~/Library/Application Support/Claude/claude_desktop_config.json
JSON config
{
  "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

Python MCP server for PostgreSQL database inspection and querying

1
Python
MIT
View repository →
AWAWS CLI MCP Server logo

Python MCP server for AWS CLI inspection and operations

0
Python
MIT
View repository →

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

2
Python
MIT
View repository →
PHphylokit-mcp logo

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

0
Python
GPL-2.0
View repository →
DEDeoochform logo

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

0
MIT
View repository →

Write to Figma from any MCP client (Claude Code, Cursor). Complements the read-only official MCP.

1
Astro
MIT
View repository →