MySQL Legacy MCP server
io.github.Rufflet/mysql-legacy-mcp·v0.2.1Inspect and query MySQL 5.0–5.6; opt-in INSERT/UPDATE/DELETE/DDL. Live-verified 5.0–8.0.
0 stars44 downloads/wk
Reviews
Write oneNobody has reviewed MySQL Legacy MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
MySQL Legacy MCP tools (11, 6 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
mysql_legacy_ddlwrite actionRuns exactly one table-level CREATE, ALTER, DROP, TRUNCATE, or RENAME supplied in sql. Off unless MYSQL_LEGACY_ALLOW_DDL=true. DROP and TRUNCATE are irreversible. Rejects DROP DATABASE, views, and indexes. For row changes use mysql_legacy_insert, mysql_legacy_update, or mysql_legacy_delete.
mysql_legacy_deletewrite actionRuns exactly one DELETE supplied in sql. WHERE is required and cannot be disabled. Off unless MYSQL_LEGACY_ALLOW_DELETE=true. Returns affectedRows. To empty a table use TRUNCATE via mysql_legacy_ddl, not a WHERE-less DELETE.
mysql_legacy_describe_tableLists columns for database.table via SHOW FULL COLUMNS, including type, nullability, keys, comments, and collation. Use this for per-column metadata. For the full CREATE TABLE text and default charset use mysql_legacy_show_create_table. For index column order use mysql_legacy_list_indexes.
mysql_legacy_insertwrite actionRuns exactly one INSERT supplied in sql. Off unless MYSQL_LEGACY_ALLOW_INSERT=true. Returns insertId and affectedRows. INSERT ... ON DUPLICATE KEY UPDATE is accepted and can overwrite existing rows. For UPDATE/DELETE/DDL use mysql_legacy_update, mysql_legacy_delete, or mysql_legacy_ddl.
mysql_legacy_list_databasesLists database names via SHOW DATABASES. Hides mysql and information_schema unless include_system_databases=true (or MYSQL_LEGACY_HIDE_SYSTEM_DATABASES=false). Then pass a name to mysql_legacy_list_tables. Does not list tables or columns.
mysql_legacy_list_indexesLists indexes for database.table via SHOW INDEX (key name, columns, uniqueness, type). Use this for keys. For column types use mysql_legacy_describe_table; for full DDL use mysql_legacy_show_create_table.
mysql_legacy_list_tablesLists base tables and views in one database via SHOW FULL TABLES FROM database. Pass database. For column types use mysql_legacy_describe_table; for CREATE TABLE text use mysql_legacy_show_create_table; for keys use mysql_legacy_list_indexes. To list databases first, use mysql_legacy_list_databases.
mysql_legacy_pingChecks the MySQL connection with SELECT VERSION() AS version and returns {connected, version}. Call this first after connecting. For schema use mysql_legacy_list_tables; for row data use mysql_legacy_select.
mysql_legacy_selectwrite actionRuns exactly one SELECT supplied in sql. Rejects SELECT INTO and locking reads; truncates by MYSQL_LEGACY_MAX_ROWS and MYSQL_LEGACY_MAX_RESULT_BYTES. On MySQL 5.6.5+ wraps in START TRANSACTION READ ONLY unless MYSQL_LEGACY_DISABLE_READ_ONLY_TRANSACTIONS=true. For columns use mysql_legacy_describe_table; for CREATE TABLE text use mysql_legacy_show_create_table; for writes use mysql_legacy_insert, m
mysql_legacy_show_create_tablewrite actionReturns SHOW CREATE TABLE for database.table plus the parsed default charset. Use this for DDL text. For per-column types and collation use mysql_legacy_describe_table. For unique/non-unique keys use mysql_legacy_list_indexes.
mysql_legacy_updatewrite actionRuns exactly one UPDATE supplied in sql. WHERE is required and cannot be disabled. Off unless MYSQL_LEGACY_ALLOW_UPDATE=true. Returns affectedRows and changedRows. To empty a table use TRUNCATE via mysql_legacy_ddl, not a WHERE-less UPDATE.
Public scan report
scanner v0.1.10 · 2026-10-03 · same rubric, same numbers if you re-run it
- Code scan2 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 11 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How MySQL Legacy MCP compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 60% of 802 Databases servers
- Tools
- 11
- the typical Databases server has 8
- Tools that change things
- 55%
- typical: 10%. Fewer write tools means less an agent can break
- Downloads a week
- 44
- more than 31% of 328 Databases servers with a package
What its tools let an agent do: 5 read · 6 change
Install MySQL Legacy MCP in Claude Code, Cursor or VS Code
Runs npx -y mysql-legacy-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mysql-legacy-mcp -- npx -y mysql-legacy-mcp
What the publisher says
From the MySQL Legacy MCP repository's README, as published. We do not edit it. Read it on GitHub
MySQL Legacy MCP
MCP server for legacy MySQL 5.0–5.6 databases through stdio. The package is on npm as mysql-legacy-mcp and in the official MCP Registry as io.github.Rufflet/mysql-legacy-mcp.
It uses MySQL 5.1-compatible SQL and SHOW metadata queries. Live MCP tests cover MySQL 5.0.51a, 5.1.73, 5.5.62, and 5.6.51. It is deliberately small: read-only by default, with INSERT/UPDATE/DELETE/DDL as opt-in tools disabled unless explicitly enabled; no TLS configuration, and no custom authentication or charset options.
Is this for you?
- You need an AI agent to inspect a MySQL 5.0, 5.1, 5.5, or 5.6 database.
- Your current MySQL MCP server assumes MySQL 5.7+, JSON functions, or newer information_schema fields.
- You need schema inspection and SELECT queries, with write operations off by default and opt-in per statement type.
If you are seeing ERNOTSUPPORTEDAUTHMODE, HANDSHAKEINSECUREAUTH, Old password authentication is not supported, legacy TLS errors, or garbled cp1251 / latin1 text, read Troubleshooting first. Those symptoms are not all solved by this package.
Requirements
- Node.js 18.14.1 or later
- npm
- A dedicated MySQL account with only the required read and metadata privileges
Where it is listed
Installation is always local stdio via npm (npx -y mysql-legacy-mcp). Directory pages do not make that faster; they are discovery indexes. The official MCP Registry is the machine-readable source (io.github.Rufflet/mysql-legacy-mcp) that aggregators ingest, including env-var metadata from server.json. Clients that speak that registry can pre-fill configuration from it.
- npm
- Official MCP Registry
- Glama
- TensorBlock MCP Index
- Awesome MCP Servers
Maintainer submission status for other directories is in docs/RELEASE_CHECKLIST.md.
Quick install
Claude Code
claude mcp add --transport stdio mysql-legacy \
--env MYSQL_LEGACY_HOST=127.0.0.1 \
--env MYSQL_LEGACY_USER=legacy_reader \
--env MYSQL_LEGACY_PASSWORD=replace-with-a-secret \
--env MYSQL_LEGACY_DATABASE=legacy_app \
-- npx -y mysql-legacy-mcpCodex
codex mcp add mysql-legacy \
--env MYSQL_LEGACY_HOST=127.0.0.1 \
--env MYSQL_LEGACY_USER=legacy_reader \
--env MYSQL_LEGACY_PASSWORD=replace-with-a-secret \
--env MYSQL_LEGACY_DATABASE=legacy_app \
-- npx -y mysql-legacy-mcpCursor and other clients
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
MySQL Legacy MCP: common questions
- Is MySQL Legacy MCP server safe?
- Mostly: it is graded B (83/100). Read the MySQL Legacy MCP safety report
- How do I install MySQL Legacy MCP?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does MySQL Legacy MCP need an API key?
- Yes. The registry entry asks for
MYSQL_LEGACY_PASSWORD. - Is MySQL Legacy MCP maintained?
- The last commit was 43 days ago (2026-09-22). The latest release is v0.2.1.
- What can I use instead of MySQL Legacy MCP?
- Servers from other publishers that do the same job: MCP Local WP MCP server, DBHub MCP server and Appwrite MCP server.
- How does MySQL Legacy MCP compare with other Databases MCP servers?
- safety score 83/100 (higher than 60% of 802 Databases servers); tools 11 (the typical Databases server has 8); tools that change things 55% (typical: 10%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to MySQL Legacy MCP
Same job from other publishers: the closest match first, then the best rated.
- MCP Local WPWordPress database access via Local by Flywheel. Execute read-only MySQL queries and inspect schema.not reviewedGrowingA
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA
- AppwriteBuild and deploy backends: auth, Postgres/MySQL/vector databases, storage, functions, hosting, CDNnot reviewedEstablishedA
- FaucetSQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.not reviewedEstablishedA
- LINQ to DBInspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.not reviewedEstablishedA