MySQL
by allizwellai
Query MySQL / MariaDB databases; schema inspection, read (and optionally write) SQL. Source: allizwellai/mysql-mcp-server (read-only) or cnosuke/mcp-mysql (Go).
MySQL server hostname; default localhost
localhostMySQL server port; default 3306
3306MySQL username for authentication
MySQL password for authentication
Target MySQL database name
TLS mode for the connection (e.g., REQUIRED, DISABLED)
Session character set (e.g., utf8mb4)
Session collation (e.g., utf8mb4_unicode_ci)
Session SQL mode string
MySQL authentication plugin (e.g., mysql_native_password)
Connection timeout in seconds
Treat warnings as errors
Enable SSH tunnel to reach MySQL
SSH tunnel host
SSH tunnel port; default 22
Username for SSH authentication
Path to private key for SSH
MySQL hostname as seen from SSH host
MySQL port as seen from SSH host
Local port for SSH tunnel forwarding
Restrict to named tool groups
Communication transport: stdio (default) or sse
Host for SSE transport
Port for SSE transport
Comma-separated list of allowed hosts for SSE
Optional KEY=VALUE pairs (one per line) set as extra environment variables on the connector's process. Lines starting with # are ignored; uncomment and edit what you need.
Default template
# Optional extra environment variables, one KEY=VALUE per line. # Lines starting with # are ignored: uncomment and edit what you need. # Documented options: https://github.com/allizwellai/mysql-mcp-server # Route the connector through an HTTP proxy, if your network needs one. # HTTPS_PROXY=http://proxy.example:8080 # Turn up logging for troubleshooting (read by many servers; the name varies). # LOG_LEVEL=debug
This template lands in your config when you add the connector. Edit or override anytime from My Connectors — click the connector's config action to open the same editor with your saved values.
Runtime commands — technical reference. Nothing to configure here; the desktop runs these for you.
uvx mysql-mcp-server==0.4.5