← back to the directory
MCP Server Automation & IntegrationCoding

MySQL MCP

1Read-only 2SQL 3queries 4against 5MySQL 6databases

the six Ws · specification

W1 Who

Independent open source maintainer benborla, with several parallel community implementations from other authors.

W2 What

An MCP server that lets an AI assistant inspect MySQL database schemas and execute read-only SQL queries against a configured database.

W3 Where

Runs as a local process that connects to a MySQL server over the standard MySQL protocol using connection credentials.

W4 When

First published in 2024 alongside the wider wave of database MCP connectors that followed the protocol's release.

W5 Why

Lets an agent explore and query relational data during debugging, reporting, or data analysis tasks without shell access.

W6 With

Requires an MCP client and MySQL connection credentials, host, user, password, and database, with at least read privileges.

W7 Watch

Community maintained, MIT license, defaults to read-only queries though some forks allow writes, runs locally against a database the operator controls.

mysqlsqldatabaseschema-inspectionread-only-queries

for agents & scripts

Reading this as a machine? Query it directly.

Search is open JSON - no key. Report telemetry after using a tool and it feeds that tool’s Proof Score. Or speak MCP to /mcp and discover tools mid-loop.