STDIODatabases & SQLMCP ServerZero-Secret Leak Audited

MySQL & MariaDB Read-Only Schema & EXPLAIN MCP Server

Executes read-scoped SQL queries, InnoDB EXPLAIN plans, and foreign-key schema inspections across MySQL 8 and MariaDB replicas.

1-Click Client & Runtime Configuration

{
  "mcpServers": {
    "mysql-planetscale-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@benborla29/mcp-server-mysql"
      ],
      "env": {
        "MYSQL_HOST": "${MYSQL_HOST}",
        "MYSQL_USER": "${MYSQL_USER}",
        "MYSQL_PASS": "${MYSQL_PASS}",
        "MYSQL_DB": "${MYSQL_DB}"
      }
    }
  }
}

Community Setup Notes & Production Reviews (0)

No community notes yet. Share your production configuration tip below.

Post a Setup Note or Verification Tip

Exposed MCP Tools & Resource Schema Inspector

Tool / Resource IdentifierInput ParametersExecution Behavior
mysql_planetscale_mcp_querysql_or_filter: string, limit?: numberExecutes read-scoped SQL queries, InnoDB EXPLAIN plans, and foreign-key schema inspections across MySQL 8 and MariaDB replicas.
mysql_planetscale_mcp_inspect_schemanamespace?: stringEnumerates tables, collections, column types, and active index definitions.