mcpbeat Sign in

MySQL Legacy MCP Server

local only

MySQL Legacy MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 48 installs a week from npm. Last commit 22 Sep 2026.

Inspect and query MySQL 5.0–5.6; opt-in INSERT/UPDATE/DELETE/DDL. Live-verified 5.0–8.0.

Installs per day peak 186 · avg 15 · +20% w/w
a month agotoday
48
Installs / week
npm · mysql-legacy-mcp
0
Stars
0 open issues
22 Sep 2026
Last commit
2 releases in 90 days
MIT
License
JavaScript

Nothing serious here today

Today is the operative word: we check MySQL Legacy MCP every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add mysql-legacy-mcp -e 'MYSQL_LEGACY_HOST=<MYSQL_LEGACY_HOST>' -e 'MYSQL_LEGACY_USER=<MYSQL_LEGACY_USER>' -e 'MYSQL_LEGACY_PASSWORD=<MYSQL_LEGACY_PASSWORD>' -- npx -y mysql-legacy-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mysql-legacy-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mysql-legacy-mcp"
      ],
      "env": {
        "MYSQL_LEGACY_HOST": "<MYSQL_LEGACY_HOST>",
        "MYSQL_LEGACY_PASSWORD": "<MYSQL_LEGACY_PASSWORD>",
        "MYSQL_LEGACY_USER": "<MYSQL_LEGACY_USER>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.mysql-legacy-mcp]
command = "npx"
args = ["-y", "mysql-legacy-mcp"]
env = { MYSQL_LEGACY_HOST = "<MYSQL_LEGACY_HOST>", MYSQL_LEGACY_USER = "<MYSQL_LEGACY_USER>", MYSQL_LEGACY_PASSWORD = "<MYSQL_LEGACY_PASSWORD>" }
.cursor/mcp.json
{
  "mcpServers": {
    "mysql-legacy-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mysql-legacy-mcp"
      ],
      "env": {
        "MYSQL_LEGACY_HOST": "<MYSQL_LEGACY_HOST>",
        "MYSQL_LEGACY_PASSWORD": "<MYSQL_LEGACY_PASSWORD>",
        "MYSQL_LEGACY_USER": "<MYSQL_LEGACY_USER>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mysql-legacy-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mysql-legacy-mcp"
      ],
      "env": {
        "MYSQL_LEGACY_HOST": "<MYSQL_LEGACY_HOST>",
        "MYSQL_LEGACY_PASSWORD": "<MYSQL_LEGACY_PASSWORD>",
        "MYSQL_LEGACY_USER": "<MYSQL_LEGACY_USER>"
      }
    }
  }
}

Put your own values in place of <MYSQL_LEGACY_HOST> (Database host or local tunnel endpoint), <MYSQL_LEGACY_USER> (Dedicated database reader account), <MYSQL_LEGACY_PASSWORD> (Nonempty database account password). The author’s registry entry marks them as required.

Optional settings from the registry entry, left out of the block above: MYSQL_LEGACY_PORT (TCP port, 1–65535), MYSQL_LEGACY_DATABASE (Optional default database), MYSQL_LEGACY_HIDE_SYSTEM_DATABASES (Hide mysql and information_schema from listings), MYSQL_LEGACY_QUERY_TIMEOUT (Driver query timeout, 100–60000 milliseconds), MYSQL_LEGACY_MAX_ROWS (SELECT response row limit, 1–1000), MYSQL_LEGACY_MAX_RESULT_BYTES (SELECT row-data JSON byte limit, 1024–1048576), MYSQL_LEGACY_CONNECT_TIMEOUT (Connection-establishment timeout, 100–60000 milliseconds), MYSQL_LEGACY_POOL_SIZE (Pooled connection limit, 1–50), MYSQL_LEGACY_ALLOW_INSERT (Enable the mysql_legacy_insert tool), MYSQL_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+).

Alternatives to MySQL Legacy MCP

same job, measured the same way
MySQL MCP Server
by musaddiq-dev

Python MCP server for MySQL database inspection and querying

115 installs/wk local only
Database Admin
by cybeleri

Database admin MCP: schema inspection, query optimization for PostgreSQL and MySQL

46 installs/wk local only
MySQL Ops MCP
by gt-dinuo

MySQL MCP server: browse schema, query, CRUD. Delete/drop gated by user approval.

49 installs/wk local only
Knack MCP by usefulapi
by usefulapi

Read, create, update and delete records; inspect objects, fields and schema in your Knack database.

9 tools answering
Sqlite
by ofershap

SQLite MCP — query databases, inspect schemas, explain queries, export data.

180 installs/wk local only
PostgreSQL MCP Server
by musaddiq-dev

Python MCP server for PostgreSQL database inspection and querying

115 installs/wk local only
MCP Local WP
by verygoodplugins

WordPress database access via Local by Flywheel. Execute read-only MySQL queries and inspect schema.

89 installs/wk local only
Postgres
by ofershap

PostgreSQL MCP — query databases, inspect schemas, explain queries.

50 installs/wk local only

MySQL Legacy MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for MySQL Legacy MCP?
MySQL Legacy MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package mysql-legacy-mcp was installed 48 times last week.
How do I connect MySQL Legacy MCP?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls mysql-legacy-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use MySQL Legacy MCP?
The npm package mysql-legacy-mcp was installed 48 times in the last week. Week over week that is +20%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is MySQL Legacy MCP open source?
Yes — it is published under the MIT licence, written in JavaScript and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.