MySQL Legacy MCP
Inspect and query MySQL 5.0–5.6; opt-in INSERT/UPDATE/DELETE/DDL.
Connector by Rufflet · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/rufflet-mysql-legacy-mcp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 7 read · 0 write · 4 delete
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- Not scanned yet
- Runs as
- Node.js package
Tools by what they do 11
Read from the source code; the running server may list different tools.
Read 7 · Look things up without changing anything.
mysql_legacy_describe_tablemysql_legacy_list_databasesmysql_legacy_list_indexesmysql_legacy_list_tablesmysql_legacy_pingmysql_legacy_selectmysql_legacy_show_create_table
Delete 4 · Delete, drop, revoke or wipe things.
mysql_legacy_ddlmysql_legacy_deletemysql_legacy_insertmysql_legacy_update
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
MYSQL_LEGACY_PASSWORD
Other settings (environment variables or headers).
MYSQL_LEGACY_ALLOW_DDLMYSQL_LEGACY_ALLOW_DELETEMYSQL_LEGACY_ALLOW_INSERTMYSQL_LEGACY_ALLOW_UPDATEMYSQL_LEGACY_CONNECT_TIMEOUTMYSQL_LEGACY_DATABASEMYSQL_LEGACY_DISABLE_READ_ONLY_TRANSACTIONSMYSQL_LEGACY_HIDE_SYSTEM_DATABASESMYSQL_LEGACY_HOSTMYSQL_LEGACY_MAX_RESULT_BYTESMYSQL_LEGACY_MAX_ROWSMYSQL_LEGACY_POOL_SIZE
Show 3 more settings
MYSQL_LEGACY_PORTMYSQL_LEGACY_QUERY_TIMEOUTMYSQL_LEGACY_USER
Tools (11)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
mysql_legacy_ddlcan change or delete dataRuns 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_deletecan change or delete dataRuns 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_tableread-onlyLists 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_insertcan change or delete dataRuns 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_databasesread-onlyLists 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_indexesread-onlyLists 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_tablesread-onlyLists 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_pingread-onlyChecks 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_selectread-onlyRuns 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, mysql_legacy_update, or mysql_legacy_delete.
mysql_legacy_show_create_tableread-onlyReturns 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_updatecan change or delete dataRuns 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.
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit
- Sep 22, 2026 (1 month ago)
- Last release
- Sep 14, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.Rufflet/mysql-legacy-mcp- Version
- 0.2.1
- Auth
- API key
- Packages
- npm mysql-legacy-mcp
- License
- MIT
- Repository
- github.com/Rufflet/mysql-legacy-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Cite this page
MySQL Legacy MCP. Agent Mart. https://agentmart.dev/connectors/rufflet-mysql-legacy-mcp (last updated 2026-10-24)