Database-mcp-mysql MCP Server

MCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.

Local serverstdio

What is the Database-mcp-mysql MCP Server?

Database-mcp-mysql is an MCP integration. MCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.

Packages and local setup

The published npm package is @database-mcp/mysql, version 0.4.2. Its declared MCP transport is stdio.

The package declares MYSQL_HOST (required): Database host; MYSQL_USER (required): Database user (a read-only user is recommended); MYSQL_PASSWORD: Database password (or use MYSQL_PASSWORD_FILE); MYSQL_DATABASE (required): Database name.

The published pypi package is database-mcp-mysql, version 0.1.0. Its declared MCP transport is stdio.

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.4.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_HOSTDatabase hostYes
MYSQL_USERDatabase user (a read-only user is recommended)Yes
MYSQL_PASSWORDDatabase password (or use MYSQL_PASSWORD_FILE)Optional
MYSQL_DATABASEDatabase nameYes