MCP Server MySQL Database Explorer

This MCP server connects to your MySQL database, providing seamless access to database schemas, tables, and query capabilities through LLMs.

Local serverstdio

What is the MCP Server MySQL Database Explorer MCP Server?

MCP Server MySQL Database Explorer is an MCP project maintained in the eth-ts-x/mcp-server-mysql-pool repository. The maintainer describes its purpose as “This MCP server connects to your MySQL database, providing seamless access to database schemas, tables, and query capabilities through LLMs”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using uv. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DB, MYSQL_POOL_SIZE. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the MCP Server MySQL Database Explorer MCP Server

{
  "mcpServers": {
    "mcp-server-mysql-pool": {
      "command": "uv",
      "args": [
        "--directory",
        "YOUR/PROJECT/ROOT/PATH",
        "run",
        "main.py"
      ],
      "env": {
        "MYSQL_HOST": "localhost",
        "MYSQL_PORT": "3306",
        "MYSQL_USER": "YOUR_USER",
        "MYSQL_PASSWORD": "YOUR_MYSQL_PASSWORD",
        "MYSQL_DB": "YOUR_DB",
        "MYSQL_POOL_SIZE": "10"
      },
      "autoApprove": [
        "query"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
MYSQL_HOSTDeclared in the maintainer’s client configuration.Check documentation
MYSQL_PORTDeclared in the maintainer’s client configuration.Check documentation
MYSQL_USERDeclared in the maintainer’s client configuration.Check documentation
MYSQL_PASSWORDDeclared in the maintainer’s client configuration.Check documentation
MYSQL_DBDeclared in the maintainer’s client configuration.Check documentation
MYSQL_POOL_SIZEDeclared in the maintainer’s client configuration.Check documentation