← Index

MySQL MCP Server

io.github.musaddiq-dev/mysql-mcp-server·v0.1.2·Databases
Quality Score
85
/100

Python MCP server for MySQL database inspection and querying

§00  Trust verdict · v1 advisory ·  method
UNVERIFIEDno verdict on file

Verdict not yet evaluated for this tool. The hybrid eval runs adversarial cases first; coverage rolls out as the corpus expands. Until a verdict is recorded, an agent should treat this tool as not-yet-cleared and fall back to its own checks. Method: hybrid eval, four-state verdict, honest limits.

§01  Install
Claude Desktop (uvx)
{
  "mcpServers": {
    "mysql-mcp-server": {
      "command": "uvx",
      "args": [
        "mdev-mysql-mcp-server"
      ],
      "env": {
        "MYSQL_HOST": "localhost",
        "MYSQL_PORT": "3306",
        "MYSQL_USER": "root",
        "MYSQL_PASSWORD": "<your-mysql_password>",
        "MYSQL_DATABASE": "<mysql_database>",
        "MYSQL_POOL_SIZE": "5",
        "LOG_LEVEL": "INFO",
        "MYSQL_READ_QUERY_LIMIT": "1000"
      }
    }
  }
}
§02  Environment variables
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

§03  MCP Quality Score  ·  methodology
freshness
25
completeness
15
installability
25
documentation
15
stability
5
§04  Alternatives in Databases