33
/ 100
1 month ago
glama

MCP MySQL Server

A MCP MySQL server with DDL support, permission control and operation logs.

Is this your MCP?

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.

// key findings
⚠️
Known vulnerabilities in dependencies: 1 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
🔐
You'll be asked for 1 credential: MYSQL_PASSWORD
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies1 high

Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.

highmysql2@3.9.7GHSA-pmh2-wpjm-fj45

mysql2 vulnerable to Prototype Pollution

Depend on this server? Get alerted when its CVEs change.Watch this server free →
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configALLOW_DDLexport =true
configALLOW_DELETEexport =false
configALLOW_DROPexport =false
configMCP_DDL_LOG_FILEddl.sql DDL SQL log filename (v2.0.1+)
configMCP_LOG_DIR./.setting (or ./.setting.<TOOL_PREFIX> if TOOL_PREFIX is set) Log directory
configMCP_LOG_FILEmcp-mysql.log Log filename
configMYSQL_DATABASEexport =your_database
configMYSQL_HOSTexport =localhost
🔐 secretMYSQL_PASSWORDexport =your_password
configMYSQL_PORTexport =3306
configMYSQL_USERexport =root
configPROJECT_NAME✅ Project Branding: Added environment variable for custom tool descriptions
configREADONLY✅ Readonly Mode: Added environment variable - when enabled, only SELECT and SHOW commands are allowed (highest priority check)
configTOOL_PREFIX✅ Tool Prefix Support: Added environment variable for tool name isolation and config separation
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 4 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/liliangshan-mcp-server-mysql-kuwb1l)](https://m8ven.ai/mcp/liliangshan-mcp-server-mysql-kuwb1l)
commit: 804e745c1fde7de89edbce257e8905ee479af09d
code hash: 791139e1cd9b4a30049f93c90787d71cd1e211eb0006dff8482578eeef036df0
verified: 6/14/2026, 10:20:10 AM
view raw JSON →