MySQL Legacy MCP server
Inspect and query MySQL 5.0–5.6; opt-in INSERT/UPDATE/DELETE/DDL. Live-verified 5.0–8.0.
0 stars215 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.5 · 2026-09-19 · 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 4 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Install directly
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
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, Claude Desktop or Cursor 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 4 days ago (2026-09-15). 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: DBHub MCP server, LINQ to DB MCP server and Infrawise MCP server. Compare all MySQL Legacy MCP alternatives.
Alternatives to MySQL Legacy MCP
Same job from other publishers: the closest match first, then the best rated.
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA
- LINQ to DBInspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.not reviewedEstablishedA
- InfrawiseLive AWS, database & Kafka infrastructure context for AI coding assistants via MCP.not reviewedGrowingA
- Beget HostingBeget hosting: sites, domains, DNS, MySQL, FTP, cron, backups, mail — 73 toolsnot reviewedGrowingB
GrainRun SQL queries and inspect database schemas through safe, visible MCP tools.not reviewedGrowingB