Data as of

MCP Server for MySQL vs MySQL MCP: Tools & Setup Compared

MCP Server for MySQL vs MySQL: verdict

MCP Server for MySQL lets Claude and other AI clients inspect schemas and execute SQL. It defaults to read-only access, with optional write flags, SSH tunneling, multi-database support, and result redaction.

Expose MySQL schema inspection, data samples, and SQL execution to MCP assistants. It supports multi-database access, optional SSH tunnels, and local or network deployment, with database permissions controlling available operations.

MCP Server for MySQL and MySQL MCP Server have no exact tool-name overlap in their recorded lists. MySQL MCP Server lists 3 names absent from MCP Server for MySQL, including execute_sql, get_schema_info, get_table_sample. Moving from MCP Server for MySQL to MySQL MCP Server would also mean rechecking workflows using mysql_query, which appear only in MCP Server for MySQL's list. MCP Server for MySQL records node; MySQL MCP Server records python. MCP Server for MySQL and MySQL MCP Server both list stdio / MIT. MySQL MCP Server's repository has 767 fewer stars than MCP Server for MySQL (1,399 versus 2,166). Last pushes: MCP Server for MySQL 2026-07-27; MySQL MCP Server 2026-08-02.

MCP Server for MySQL and MySQL MCP Server overlap on tags mysql, schema-inspection, sql. MCP Server for MySQL-only tags: database-security, read-only. MySQL MCP Server-only tags: database-analysis, python.

MCP Server for MySQL vs MySQL: features compared

AttributeMCP Server for MySQLMySQL MCP Server
Repo stars21661399
Last push
Runtimenodepython
Tools13

MCP Server for MySQL vs MySQL: shared and unique tools

Shared Names

None

Only MCP Server for MySQL

  • mysql_query

Only MySQL

  • execute_sql
  • get_schema_info
  • get_table_sample

Exact names, not equivalent behavior.

MCP Server for MySQL vs MySQL: setup and configuration

MCP Server for MySQL references MYSQL_DB, MYSQL_HOST, MYSQL_PASS, MYSQL_PORT, MYSQL_USER; MySQL MCP Server references MYSQL_DATABASE, MYSQL_HOST, MYSQL_PASSWORD, MYSQL_PORT, MYSQL_USER. Check the MCP Server for MySQL → MySQL MCP Server variable mapping rather than copying credential values between entries. MCP Server for MySQL and MySQL MCP Server examples both use stdio local processes.

MCP Server for MySQL

MCP Server for MySQL source configuration
{
  "mcpServers": {
    "mcp-server-mysql": {
      "command": "npx",
      "args": [
        "-y",
        "@benborla29/mcp-server-mysql"
      ],
      "env": {
        "MYSQL_HOST": "<MySQL server hostname or address>",
        "MYSQL_PORT": "<MySQL server port>",
        "MYSQL_USER": "<MySQL username with appropriate privileges>",
        "MYSQL_PASS": "<MySQL user password>",
        "MYSQL_DB": "<Target database name>"
      }
    }
  }
}

MySQL MCP Server

MySQL MCP Server source configuration
{
  "mcpServers": {
    "mysql_mcp_server": {
      "command": "uvx",
      "args": [
        "--from",
        "mysql-mcp-server",
        "mysql_mcp_server"
      ],
      "env": {
        "MYSQL_HOST": "<MySQL hostname>",
        "MYSQL_PORT": "<MySQL port, default 3306>",
        "MYSQL_USER": "<dedicated least-privilege MySQL username>",
        "MYSQL_PASSWORD": "<MySQL account password>",
        "MYSQL_DATABASE": "<optional default database; omit for multi-database mode>"
      }
    }
  }
}