Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

MySQL Legacy MCP

by Ruffletversion 0.2.1i★ –iRuns on your computer
Registry nameio.github.Rufflet/mysql-legacy-mcp

Install

Overview

Description from the maker (original English)

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

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Databases & datasets
  • You need to fill in: MYSQL_LEGACY_HOST, MYSQL_LEGACY_USER, MYSQL_LEGACY_PASSWORD

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: MYSQL_LEGACY_HOST, MYSQL_LEGACY_USER, MYSQL_LEGACY_PASSWORD, MYSQL_LEGACY_PORT, MYSQL_LEGACY_DATABASE, MYSQL_LEGACY_HIDE_SYSTEM_DATABASES, MYSQL_LEGACY_QUERY_TIMEOUT, MYSQL_LEGACY_MAX_ROWS, MYSQL_LEGACY_MAX_RESULT_BYTES, MYSQL_LEGACY_CONNECT_TIMEOUT, MYSQL_LEGACY_POOL_SIZE, MYSQL_LEGACY_ALLOW_INSERT, MYSQL_LEGACY_ALLOW_UPDATE, MYSQL_LEGACY_ALLOW_DELETE, MYSQL_LEGACY_ALLOW_DDL, MYSQL_LEGACY_DISABLE_READ_ONLY_TRANSACTIONS

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "mysql-legacy": {
      "command": "npx",
      "args": [
        "-y",
        "mysql-legacy-mcp"
      ],
      "env": {
        "MYSQL_LEGACY_HOST": "your-value",
        "MYSQL_LEGACY_USER": "your-value",
        "MYSQL_LEGACY_PASSWORD": "your-value",
        "MYSQL_LEGACY_PORT": "your-value",
        "MYSQL_LEGACY_DATABASE": "your-value",
        "MYSQL_LEGACY_HIDE_SYSTEM_DATABASES": "your-value",
        "MYSQL_LEGACY_QUERY_TIMEOUT": "your-value",
        "MYSQL_LEGACY_MAX_ROWS": "your-value",
        "MYSQL_LEGACY_MAX_RESULT_BYTES": "your-value",
        "MYSQL_LEGACY_CONNECT_TIMEOUT": "your-value",
        "MYSQL_LEGACY_POOL_SIZE": "your-value",
        "MYSQL_LEGACY_ALLOW_INSERT": "your-value",
        "MYSQL_LEGACY_ALLOW_UPDATE": "your-value",
        "MYSQL_LEGACY_ALLOW_DELETE": "your-value",
        "MYSQL_LEGACY_ALLOW_DDL": "your-value",
        "MYSQL_LEGACY_DISABLE_READ_ONLY_TRANSACTIONS": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add mysql-legacy --env MYSQL_LEGACY_HOST=your-value --env MYSQL_LEGACY_USER=your-value --env MYSQL_LEGACY_PASSWORD=your-value --env MYSQL_LEGACY_PORT=your-value --env MYSQL_LEGACY_DATABASE=your-value --env MYSQL_LEGACY_HIDE_SYSTEM_DATABASES=your-value --env MYSQL_LEGACY_QUERY_TIMEOUT=your-value --env MYSQL_LEGACY_MAX_ROWS=your-value --env MYSQL_LEGACY_MAX_RESULT_BYTES=your-value --env MYSQL_LEGACY_CONNECT_TIMEOUT=your-value --env MYSQL_LEGACY_POOL_SIZE=your-value --env MYSQL_LEGACY_ALLOW_INSERT=your-value --env MYSQL_LEGACY_ALLOW_UPDATE=your-value --env MYSQL_LEGACY_ALLOW_DELETE=your-value --env MYSQL_LEGACY_ALLOW_DDL=your-value --env MYSQL_LEGACY_DISABLE_READ_ONLY_TRANSACTIONS=your-value -- npx -y mysql-legacy-mcp

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "mysql-legacy": {
      "command": "npx",
      "args": [
        "-y",
        "mysql-legacy-mcp"
      ],
      "env": {
        "MYSQL_LEGACY_HOST": "your-value",
        "MYSQL_LEGACY_USER": "your-value",
        "MYSQL_LEGACY_PASSWORD": "your-value",
        "MYSQL_LEGACY_PORT": "your-value",
        "MYSQL_LEGACY_DATABASE": "your-value",
        "MYSQL_LEGACY_HIDE_SYSTEM_DATABASES": "your-value",
        "MYSQL_LEGACY_QUERY_TIMEOUT": "your-value",
        "MYSQL_LEGACY_MAX_ROWS": "your-value",
        "MYSQL_LEGACY_MAX_RESULT_BYTES": "your-value",
        "MYSQL_LEGACY_CONNECT_TIMEOUT": "your-value",
        "MYSQL_LEGACY_POOL_SIZE": "your-value",
        "MYSQL_LEGACY_ALLOW_INSERT": "your-value",
        "MYSQL_LEGACY_ALLOW_UPDATE": "your-value",
        "MYSQL_LEGACY_ALLOW_DELETE": "your-value",
        "MYSQL_LEGACY_ALLOW_DDL": "your-value",
        "MYSQL_LEGACY_DISABLE_READ_ONLY_TRANSACTIONS": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "mysql-legacy": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mysql-legacy-mcp"
      ],
      "env": {
        "MYSQL_LEGACY_HOST": "your-value",
        "MYSQL_LEGACY_USER": "your-value",
        "MYSQL_LEGACY_PASSWORD": "your-value",
        "MYSQL_LEGACY_PORT": "your-value",
        "MYSQL_LEGACY_DATABASE": "your-value",
        "MYSQL_LEGACY_HIDE_SYSTEM_DATABASES": "your-value",
        "MYSQL_LEGACY_QUERY_TIMEOUT": "your-value",
        "MYSQL_LEGACY_MAX_ROWS": "your-value",
        "MYSQL_LEGACY_MAX_RESULT_BYTES": "your-value",
        "MYSQL_LEGACY_CONNECT_TIMEOUT": "your-value",
        "MYSQL_LEGACY_POOL_SIZE": "your-value",
        "MYSQL_LEGACY_ALLOW_INSERT": "your-value",
        "MYSQL_LEGACY_ALLOW_UPDATE": "your-value",
        "MYSQL_LEGACY_ALLOW_DELETE": "your-value",
        "MYSQL_LEGACY_ALLOW_DDL": "your-value",
        "MYSQL_LEGACY_DISABLE_READ_ONLY_TRANSACTIONS": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • MYSQL_LEGACY_HOST required env
    Database host or local tunnel endpoint
  • MYSQL_LEGACY_USER required env
    Dedicated database reader account
  • MYSQL_LEGACY_PASSWORD secret required env
    Nonempty database account password
  • MYSQL_LEGACY_PORT env
    TCP port, 1–65535
  • MYSQL_LEGACY_DATABASE env
    Optional default database
  • MYSQL_LEGACY_HIDE_SYSTEM_DATABASES env
    Hide mysql and information_schema from listings
  • MYSQL_LEGACY_QUERY_TIMEOUT env
    Driver query timeout, 100–60000 milliseconds
  • MYSQL_LEGACY_MAX_ROWS env
    SELECT response row limit, 1–1000
  • MYSQL_LEGACY_MAX_RESULT_BYTES env
    SELECT row-data JSON byte limit, 1024–1048576
  • MYSQL_LEGACY_CONNECT_TIMEOUT env
    Connection-establishment timeout, 100–60000 milliseconds
  • MYSQL_LEGACY_POOL_SIZE env
    Pooled connection limit, 1–50
  • MYSQL_LEGACY_ALLOW_INSERT env
    Enable the mysql_legacy_insert tool
  • MYSQL_LEGACY_ALLOW_UPDATE env
    Enable the mysql_legacy_update tool (WHERE clause always required)
  • MYSQL_LEGACY_ALLOW_DELETE env
    Enable the mysql_legacy_delete tool (WHERE clause always required)
  • MYSQL_LEGACY_ALLOW_DDL env
    Enable the mysql_legacy_ddl tool (table-level statements only)
  • MYSQL_LEGACY_DISABLE_READ_ONLY_TRANSACTIONS env
    Disable the read-only transaction wrap around mysql_legacy_select on MySQL 5.6.5+

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 8, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account Rufflet, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Databases & datasetsi

  • More stars than 0% of the other 1141 servers in this category
  • Published to the registry more recently than 37% of the other 1141 servers in this category
  • Basic checks equal to or better than 100% of the other 1141 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is MySQL Legacy MCP safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: MYSQL_LEGACY_HOST, MYSQL_LEGACY_USER, MYSQL_LEGACY_PASSWORD

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.2.1) reached the registry 2 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Supabase, MongoDB MCP Server, Elasticsearch MCP Server

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Supabase

by supabase

Supabase’s official server lets AI create tables, query data and review project settings in your Supabase database.

Computer or cloud★ 2,993Apache-2.0Updated yesterday
Install

MongoDB MCP Server

by mongodb-js

MongoDB Model Context Protocol Server

Runs on your computer★ 1,157Apache-2.0Updated 3 days ago
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

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 ER_NOT_SUPPORTED_AUTH_MODE, HANDSHAKE_INSECURE_AUTH, 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.

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-mcp

Codex
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-mcp

Cursor and other clients
{

"mcpServers": { "mysql-legacy": { "type": "stdio", "command": "npx", "args": ["-y", "mysql-legacy-mcp"], "env": { "MYSQL_LEGACY_HOST": "127.0.0.1", "MYSQL_LEGACY_USER": "legacy_reader", "MYSQL_LEGACY_PASSWORD": "replace-with-a-secret", "MYSQL_LEGACY_DATABASE": "legacy_app" } } } }

Use the schema required by your client. Full copy-paste instructions for Claude Desktop, Codex, VS Code, Windsurf, Gemini, Trae, Qoder, and more are in the Installation guide.

Compatibility

MySQLStatus
5.0Verified: 5.0.51a
5.1Verified: 5.1.73
5.5Verified: 5.5.62
5.6Verified: 5.6.51
5.7Verified reference only: 5.7.44
8.0Not a target; default caching_sha2_password is unsupported

Each tested target passed all 11 tools — the 7 read-only tools plus the 4 opt-in write tools, with MYSQL_LEGACY_ALLOW_* flags checked both left at their default false and explicitly enabled — through a real MCP stdio session. On MySQL 5.6.5 and later, this also exercised the actual START TRANSACTION READ ONLY path used by mysql_legacy_select; below that version it exercised the silent plain-query fallback. Exact sources, test conditions, and the MySQL 8.0 boundary are recorded in the compatibility audit. This does not cover pre-4.1 old_password, custom connection charsets, TLS, or your server's exact patch level.

Compared with modern MySQL MCP servers

ServerStated MySQL baselineFocus
mysql-legacy-mcpVerified live: 5.0–5.6Legacy schema inspection and SELECT by default; opt-in INSERT/UPDATE/DELETE/DDL, with UPDATE/DELETE always requiring a WHERE clause
@benborla29/mcp-server-mysql5.7+; 8.0+ recommendedModern MySQL features such as TLS, SSH tunnels, and optional writes

This is a compatibility distinction, not a benchmark: choose the modern server for its modern-database features.

Features

  • Read-only SELECT tool with parser checks and result-size limits, wrapped in a read-only transaction on MySQL 5.6.5+
  • SHOW-based database, table, column, CREATE TABLE, and index inspection
  • Opt-in INSERT/UPDATE/DELETE/DDL tools, each disabled by default and gated by its own MYSQL_LEGACY_ALLOW_* flag; UPDATE and DELETE always require a WHERE clause
  • A small pooled set of MySQL connections (MYSQL_LEGACY_POOL_SIZE); no reliance on CTEs, JSON functions, or modern metadata columns

Tools

ToolPurpose
mysql_legacy_pingReturn VERSION()
mysql_legacy_selectRun one parsed SELECT statement
mysql_legacy_insertRun one INSERT statement (opt-in, MYSQL_LEGACY_ALLOW_INSERT)
mysql_legacy_updateRun one UPDATE statement with a required WHERE clause (opt-in, MYSQL_LEGACY_ALLOW_UPDATE)
mysql_legacy_deleteRun one DELETE statement with a required WHERE clause (opt-in, MYSQL_LEGACY_ALLOW_DELETE)
mysql_legacy_ddlRun one table-level CREATE/ALTER/DROP/TRUNCATE/RENAME statement (opt-in, MYSQL_LEGACY_ALLOW_DDL)
mysql_legacy_list_databasesList databases
mysql_legacy_list_tablesList tables and views
mysql_legacy_describe_tableShow columns
mysql_legacy_show_create_tableShow table DDL
mysql_legacy_list_indexesShow indexes

Documentation

  • Installation guide — client-specific setup
  • Configuration — environment variables, privileges, and security limits
  • Troubleshooting — authentication, TLS, encoding, and startup errors
  • Compatibility audit — reproducible version evidence
  • Roadmap — deliberately deferred work and why

Why this exists

This project came from a QA/fullstack workflow that needed AI-assisted inspection of a production MySQL 5.1 database. It is a focused utility for exploring legacy schemas and preparing migrations.

Contributing

See CONTRIBUTING.md for how to propose changes, run checks locally, and what evidence a compatibility claim needs. Quick start:

npm ci

npm run check npm run smoke:static

For authorized database testing, see the smoke-test instructions in the compatibility audit.

License

MIT.

Ask PopNx