AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

MySQL Legacy MCP

Community

MCP server by Rufflet · updated · ★ 0 · 20 downloads a week

Score 30

Inspect and query MySQL 5.0–5.6; opt-in INSERT/UPDATE/DELETE/DDL. Live-verified 5.0–8.0. MySQL Legacy MCP is a community project by Rufflet, not verified by a company domain.

Yours? Claim it
Maintenance

Last commit 31 days ago

Licence

MIT: permissive, fine for commercial use

Quality

Clear description, published package or server URL, original repository

Security

Not checked yet. What we check

What you need

SettingNeededWhat it is
MYSQL_LEGACY_HOSTEnvironment variableRequiredDatabase host or local tunnel endpoint
MYSQL_LEGACY_USEREnvironment variableRequiredDedicated database reader account
MYSQL_LEGACY_PASSWORDEnvironment variable, secretRequiredNonempty database account password
MYSQL_LEGACY_PORTEnvironment variableOptionalTCP port, 1–65535 Default: 3306
MYSQL_LEGACY_DATABASEEnvironment variableOptionalOptional default database
MYSQL_LEGACY_HIDE_SYSTEM_DATABASESEnvironment variableOptionalHide mysql and information_schema from listings Default: true
MYSQL_LEGACY_QUERY_TIMEOUTEnvironment variableOptionalDriver query timeout, 100–60000 milliseconds Default: 10000
MYSQL_LEGACY_MAX_ROWSEnvironment variableOptionalSELECT response row limit, 1–1000 Default: 200
MYSQL_LEGACY_MAX_RESULT_BYTESEnvironment variableOptionalSELECT row-data JSON byte limit, 1024–1048576 Default: 262144
MYSQL_LEGACY_CONNECT_TIMEOUTEnvironment variableOptionalConnection-establishment timeout, 100–60000 milliseconds Default: 10000
MYSQL_LEGACY_POOL_SIZEEnvironment variableOptionalPooled connection limit, 1–50 Default: 5
MYSQL_LEGACY_ALLOW_INSERTEnvironment variableOptionalEnable the mysql_legacy_insert tool Default: false
MYSQL_LEGACY_ALLOW_UPDATEEnvironment variableOptionalEnable the mysql_legacy_update tool (WHERE clause always required) Default: false
MYSQL_LEGACY_ALLOW_DELETEEnvironment variableOptionalEnable the mysql_legacy_delete tool (WHERE clause always required) Default: false
MYSQL_LEGACY_ALLOW_DDLEnvironment variableOptionalEnable the mysql_legacy_ddl tool (table-level statements only) Default: false
MYSQL_LEGACY_DISABLE_READ_ONLY_TRANSACTIONSEnvironment variableOptionalDisable the read-only transaction wrap around mysql_legacy_select on MySQL 5.6.5+ Default: false

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Install MySQL Legacy MCP

Built from the published package, never by AI
claude mcp add mysql-legacy-mcp -e MYSQL_LEGACY_HOST=YOUR_MYSQL_LEGACY_HOST -e MYSQL_LEGACY_USER=YOUR_MYSQL_LEGACY_USER -e MYSQL_LEGACY_PASSWORD=YOUR_MYSQL_LEGACY_PASSWORD -- npx -y mysql-legacy-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install MySQL Legacy MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mysql-legacy-mcp block.

Weekly newsletter

Like MySQL Legacy MCP? Get the best new MCP servers every week

The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.

No spam. Unsubscribe in one click. Privacy

Alternatives to MySQL Legacy MCP

All alternatives →

MySQL Legacy MCP: common questions

How do I install MySQL Legacy MCP?

In Claude Code run claude mcp add mysql-legacy-mcp -e MYSQL_LEGACY_HOST=YOUR_MYSQL_LEGACY_HOST -e MYSQL_LEGACY_USER=YOUR_MYSQL_LEGACY_USER -e MYSQL_LEGACY_PASSWORD=YOUR_MYSQL_LEGACY_PASSWORD -- npx -y mysql-legacy-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is MySQL Legacy MCP the official server?

MySQL Legacy MCP is a community project by Rufflet, not verified by a company domain.

Is MySQL Legacy MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is MySQL Legacy MCP safe to use?

It scores 30 of 100. Grades: maintenance B, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.

What are alternatives to MySQL Legacy MCP?

Similar MCP servers: Supabase, ArcadeDB MCP Server, MCP Toolbox for Databases, MCP Toolbox for Databases.

Does MySQL Legacy MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.