MCP server exposing MySQL database functionalities as tools for LLM agents, allowing interaction with MySQL databases through a standardized protocol.
From the registry: MCP server exposing MySQL database functionalities as tools
$ pip install mcp-mysql-connectorhttps://pypi.org/project/mcp-mysql-connector/Please install the `mcp-mysql-connector` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install mcp-mysql-connector** — Install from PyPI Run: `pip install mcp-mysql-connector` (https://pypi.org/project/mcp-mysql-connector/)
- **Python 3.11+** — Requires Python 3.11 or newer
Canonical MCP server config (stdio transport):
- command: `mcp-mysql-connector`
- args: []
- optional environment variables:
- `MYSQL_HOST`: MySQL host (example: `localhost`)
- `MYSQL_PORT`: MySQL port (example: `3306`)
- `MYSQL_USER`: MySQL user (example: `root`)
- `MYSQL_PASSWORD`: MySQL password (example: `<your-password>`)
- `MYSQL_DATABASE`: Default database (example: `<your-database>`)
Note: MySQL operations as MCP tools (databases, tables, queries, users, transactions). Connection can be made via env vars or via the connect tool at runtime.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.MYSQL_HOSTrequiredHost of the MySQL serverMYSQL_PORTrequiredPort of the MySQL serverMYSQL_USERrequiredUsername for MySQL authenticationMYSQL_PASSWORDrequiredPassword for MySQL authenticationMYSQL_DATABASErequiredDatabase to connect toMCP server for interacting with the Supabase platform