Verified

Multi Mysql MCP Server

MySQL and MariaDB connectivity for AI assistants with multi-db management.

Data last scanned today · Reviewed today

477 tools0JavaScriptMIT

Overview

Multi Mysql MCP Server provides a centralized interface for interacting with multiple MySQL and MariaDB instances directly from AI coding assistants. It supports versions ranging from MySQL 5.7 to 9.x and MariaDB 10.x to 11.x, including cloud-hosted providers like AWS RDS and PlanetScale. The server features seven specific tools for database introspection and execution, including capabilities for listing tables, describing schemas, running health checks, and executing queries. It is built to facilitate AI-assisted database workflows using features like hot-reload configuration and per-project label isolation.

Our verdict

This server carries a high risk level with a security score of 27/100. Key concerns include its status as a community-maintained project without official vendor backing and the fact that its authentication methods and read-only implementation have not yet been independently verified. Users should exercise caution as the project has not undergone an editorial review, possesses limited community traction with zero GitHub stars, and has not received updates for over 200 days.

  • Supports multiple concurrent database connections
  • Includes tools for EXPLAIN ANALYZE with automatic rollback
  • Provides built-in SQL injection protection
  • Requires only three direct dependencies
  • High security risk score of 27/100
  • Not maintained by an official vendor
  • Last commit was 218 days ago
  • Authentication and read-only mechanisms are unverified

Setup

Claude Desktop
{
  "mcpServers": {
    "multi-mysql-mcp-server": {
      "args": [
        "-y",
        "mcp-mysql-multi"
      ],
      "command": "npx"
    }
  }
}

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop. Some servers require API keys or tokens as environment variables — check the project's README and add an "env" object if needed.

  • No read-only mode — running this grants full read/write access.
  • No built-in authentication — anyone with access to this config can invoke every tool it exposes.

Tools

ToolDescriptionRisk
mysql_list_databasesList all configured database connections with statuslow
mysql_queryExecute SQL queries with read-only enforcement and SQL injection protectionlow
mysql_list_tablesList tables with row counts, storage engine (InnoDB, MyISAM), and data sizelow
mysql_describe_tableShow columns, types, indexes, primary keys, foreign keys, and constraintslow
mysql_list_schemasList all databases/schemas available on the MySQL serverlow
mysql_health_checkTest connectivity, MySQL version, and response latencylow
mysql_explainRun EXPLAIN ANALYZE with automatic ROLLBACK for safetylow

Compatibility

ClientLocalDockerRemoteRead-only
ChatGPT
Claude Desktop
Cursor
VS Code
Windsurf

Frequently asked questions

Does this server support database platforms other than MySQL?

Yes, it supports both MySQL and MariaDB versions including AWS RDS, Azure, GCP Cloud SQL, and PlanetScale.

Can I configure my connection settings without restarting the server?

Yes, the server supports hot-reloading for configuration changes.

How can I restrict the server to only access specific databases for a project?

You can use the --label command line option to restrict the server to a single database connection.

Is it possible to use environment variables inside the configuration file?

Yes, the server supports ${VAR} or ${VAR:-default} syntax within configuration string values.

What security measures are in place to prevent accidental data modifications?

The server enforces read-only mode by default, blocks DDL statements like DROP or ALTER, and protects against SQL injection using a state-machine parser.

Do I have to provide the host and credentials for every database connection?

You can provide either an individual URL string or use the specific fields for host, user, and database to define a connection.

Alternatives

Changelog

Badge

Multi Mysql MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.