Home › Databases & Data › MySQL Legacy MCP
MySQL Legacy MCP
Inspect and query MySQL 5.0–5.6; opt-in INSERT/UPDATE/DELETE/DDL. Live-verified 5.0–8.0.
Topics: Databases
Connect
Review any command before running it. Package names and URLs come from the server's own registry entry.
Package (npm 0.2.1)
npx -y [email protected]
Or add to your MCP client config:
{
"mcpServers": {
"mysql-legacy-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MYSQL_LEGACY_HOST": "<YOUR_VALUE>",
"MYSQL_LEGACY_USER": "<YOUR_VALUE>",
"MYSQL_LEGACY_PASSWORD": "<YOUR_VALUE>"
}
}
}
}
MYSQL_LEGACY_HOSTrequired — Database host or local tunnel endpointMYSQL_LEGACY_USERrequired — Dedicated database reader accountMYSQL_LEGACY_PASSWORDrequired secret — Nonempty database account passwordMYSQL_LEGACY_PORT— TCP port, 1–65535MYSQL_LEGACY_DATABASE— Optional default databaseMYSQL_LEGACY_HIDE_SYSTEM_DATABASES— Hide mysql and information_schema from listingsMYSQL_LEGACY_QUERY_TIMEOUT— Driver query timeout, 100–60000 millisecondsMYSQL_LEGACY_MAX_ROWS— SELECT response row limit, 1–1000MYSQL_LEGACY_MAX_RESULT_BYTES— SELECT row-data JSON byte limit, 1024–1048576MYSQL_LEGACY_CONNECT_TIMEOUT— Connection-establishment timeout, 100–60000 millisecondsMYSQL_LEGACY_POOL_SIZE— Pooled connection limit, 1–50MYSQL_LEGACY_ALLOW_INSERT— Enable the mysql_legacy_insert toolMYSQL_LEGACY_ALLOW_UPDATE— Enable the mysql_legacy_update tool (WHERE clause always required)MYSQL_LEGACY_ALLOW_DELETE— Enable the mysql_legacy_delete tool (WHERE clause always required)MYSQL_LEGACY_ALLOW_DDL— Enable the mysql_legacy_ddl tool (table-level statements only)MYSQL_LEGACY_DISABLE_READ_ONLY_TRANSACTIONS— Disable the read-only transaction wrap around mysql_legacy_select on MySQL 5.6.5+
Related servers
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
convex-backend
Convex database integration to introspect tables and functions and run one-off queries.
Nhost
Let your users work with their own data through an AI assistant, limited to what they can see.
baserow/baserow
Baserow database integration: search and list tables, and create, read, update and delete rows.
crystaldba/postgres-mcp
Postgres development and operations: performance analysis, tuning and health checks.
Supabase
MCP server for interacting with the Supabase platform
Listed in punkpeye/awesome-mcp-servers (MIT)
Data from the Official MCP Registry