MySQL MCP Server

Python MCP server for MySQL database inspection and querying

Local serverstdio

What is the MySQL MCP Server?

MySQL MCP Server is an MCP integration. Python MCP server for MySQL database inspection and querying.

Packages and local setup

The published pypi package is mdev-mysql-mcp-server, version 0.1.2. Its declared MCP transport is stdio.

The package declares MYSQL_HOST: MySQL host; MYSQL_PORT: MySQL port; MYSQL_USER: MySQL username; MYSQL_PASSWORD: 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.

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository. This profile uses version 0.1.2 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related databases MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
MYSQL_HOSTMySQL hostOptional
MYSQL_PORTMySQL portOptional
MYSQL_USERMySQL usernameOptional
MYSQL_PASSWORDMySQL passwordOptional
MYSQL_DATABASEMySQL database nameYes
MYSQL_POOL_SIZEMySQL connection pool sizeOptional
LOG_LEVELPython logging levelOptional
MYSQL_READ_QUERY_LIMITMaximum rows returned by read queriesOptional