58
/ 100
1 month ago
glama

MySQL MCP Server

A MySQL MCP server for secure database interaction, enabling schema inspection, query execution, and RBAC via AI coding assistants.

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: 2 critical, 3 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
🔐
You'll be asked for 3 credentials: DEFAULT_API_KEY, MYSQL_PASSWORD, MYSQL_SSL_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies2 critical3 high3 low

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

criticalmysql2@3.9.0GHSA-4rch-2fh8-94vw

MySQL2 for Node Arbitrary Code Injection

criticalmysql2@3.9.0GHSA-fpw7-j2hg-69v5

mysql2 Remote Code Execution (RCE) via the readCodeFor function

high@modelcontextprotocol/sdk@1.0.0GHSA-8r9q-7v3j-jr4g

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

high@modelcontextprotocol/sdk@1.0.0GHSA-w48q-cv73-mx4w

Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default

highmysql2@3.9.0GHSA-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.
configALLOWED_OPERATIONSSELECT,SHOW,DESCRIBE,EXPLAIN
configAPI_KEYS
configAUDIT_ENABLED
configAUDIT_LOG_DIR
configAUDIT_LOG_FLUSH_INTERVAL
configAUDIT_LOG_LEVEL
configAUDIT_LOG_MAX_FILES
configAUDIT_LOG_MAX_SIZE
configAUTH_ENABLED
configBLOCKED_OPERATIONS
🔐 secretDEFAULT_API_KEY
configMAX_QUERY_EXECUTION_TIME
configMAX_REQUESTS_PER_MINUTE
configMCP_SERVER_NAME
configMYSQL_CONNECTION_LIMIT
configMYSQL_DATABASEyour_database
configMYSQL_HOST"": "${env:MYSQL_HOST}",
🔐 secretMYSQL_PASSWORDyour_password
configMYSQL_PORT"": "${env:MYSQL_PORT}",
configMYSQL_SSL_CA
configMYSQL_SSL_CERT
configMYSQL_SSL_ENABLED
🔐 secretMYSQL_SSL_KEY
configMYSQL_USERyour_username
configRATE_LIMITING_ENABLED
configRATE_LIMIT_CLEANUP_INTERVAL
configRATE_LIMIT_MAX_PER_DAY
configRATE_LIMIT_MAX_PER_HOUR
configRATE_LIMIT_MAX_PER_MINUTE
configSECURITY_ENABLED
configSECURITY_REQUIRE_AUTH
// 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/az-coder-123-mysql-mcp-10hmtb)](https://m8ven.ai/mcp/az-coder-123-mysql-mcp-10hmtb)
commit: 05323a87de52306fdf336871f1e193273ae39d47
code hash: 67d4822e17a87c262d97cc7d313d4544490cf160df532f81adff6de973f935ca
verified: 6/18/2026, 11:01:14 AM
view raw JSON →