A Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
process.env. You'll be asked to provide them before it can run.ALLOW_DDL_OPERATION— Enable DDL operations (default: "false")ALLOW_DELETE_OPERATION— env ="false" \ALLOW_INSERT_OPERATION— env ="false" \ALLOW_UPDATE_OPERATION— env ="false" \ENABLE_LOGGING— "": "true",IS_REMOTE_MCP— 4. Set =trueMULTI_DB_WRITE_MODE— e ="false" \MYSQL_CONNECTION_STRING— MySQL CLI-format connection string (e.g., mysql --default-auth=mysql_native_password -A -hHOST -PPORT -uUSER -pPASS database_name)MYSQL_CONNECT_TIMEOUT— Connection timeout in milliseconds (default: "10000")MYSQL_DATABASEMYSQL_DATE_STRINGSMYSQL_DB— env ="your_database" \MYSQL_DISABLE_READ_ONLY_TRANSACTIONS— ✅ DDL Operations - Added for CREATE TABLE supportMYSQL_HOST— env ="127.0.0.1" \MYSQL_PASS— env ="your_password" \MYSQL_PASSWORDMYSQL_PORT— env ="3306" \MYSQL_QUEUE_LIMIT— Maximum number of queued connection requests (default: "100")MYSQL_SOCKET_PATH— e ="/tmp/mysql.sock" \MYSQL_SSL— e ="true" \MYSQL_SSL_CA— Path to SSL CA certificate file (PEM format). Only used when MYSQL_SSL=true. Required for connecting to MySQL instances with self-signed certificates or custom CAs.MYSQL_SSL_CERT— MYSQL_SSL_KEY: Path to the client private key file (PEM format) for mTLS. Only used when MYSQL_SSL=true. Must correspond to the certificate specified by .MYSQL_SSL_KEY— Path to the client private key file (PEM format) for mTLS. Only used when MYSQL_SSL=true. Must correspond to the certificate specified by MYSQL_SSL_CERT.MYSQL_SSL_REJECT_UNAUTHORIZEDMYSQL_TIMEZONEMYSQL_USER— env ="root" \PORT— 6. Provide custom if needed. Default is 3000.REMOTE_SECRET_KEY— 5. Set to a secure string.SCHEMA_DDL_PERMISSIONS— Schema-specific DDL permissionsSCHEMA_DELETE_PERMISSIONS— Schema-specific DELETE permissionsSCHEMA_INSERT_PERMISSIONS— Schema-specific INSERT permissionsSCHEMA_UPDATE_PERMISSIONS— Schema-specific UPDATE permissionsVITEST[](https://m8ven.ai/mcp/benborla-mcp-server-mysql-nhtasx)