56
/ 100
1 month ago
glama

MySQL MCP Server

Enables Cursor IDE to interact with MySQL databases through schema and data operations, including read and write capabilities with environment-specific safety controls.

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 5 credentials: MYSQL_LOCAL_PASSWORD, MYSQL_PASSWORD, MYSQL_PREPRODUCTION_PASSWORD, MYSQL_PRODUCTION_PASSWORD, MYSQL_STAGING_PASSWORD
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies2 critical3 high2 low

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

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

MySQL2 for Node Arbitrary Code Injection

criticalmysql2@3.6.5GHSA-fpw7-j2hg-69v5

mysql2 Remote Code Execution (RCE) via the readCodeFor function

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

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

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

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

highmysql2@3.6.5GHSA-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.
configMYSQL_DATABASE
configMYSQL_HOST
configMYSQL_LOCAL_DATABASE"": "localDatabase",
configMYSQL_LOCAL_HOST"": "localhost",
🔐 secretMYSQL_LOCAL_PASSWORD"": "localPassword",
configMYSQL_LOCAL_PORT"": "3306",
configMYSQL_LOCAL_USER"": "root",
🔐 secretMYSQL_PASSWORD
configMYSQL_PORT
configMYSQL_PREPRODUCTION_DATABASE"": "preprod_db"
configMYSQL_PREPRODUCTION_HOST"": "preprod-db.example.com",
🔐 secretMYSQL_PREPRODUCTION_PASSWORD"": "preprod_pw",
configMYSQL_PREPRODUCTION_PORT"": "3306",
configMYSQL_PREPRODUCTION_USER"": "preprod_user",
configMYSQL_PRODUCTION_DATABASE
configMYSQL_PRODUCTION_HOST
🔐 secretMYSQL_PRODUCTION_PASSWORD
configMYSQL_PRODUCTION_PORT
configMYSQL_PRODUCTION_USER
configMYSQL_STAGING_DATABASE"": "staging_db",
configMYSQL_STAGING_HOST"": "staging.db.example.com",
🔐 secretMYSQL_STAGING_PASSWORD"": "staging_pw",
configMYSQL_STAGING_PORT"": "3306",
configMYSQL_STAGING_USER"": "staging_user",
configMYSQL_USER
// 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 3 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/binoy154-mysql-mcp-1g9dsu)](https://m8ven.ai/mcp/binoy154-mysql-mcp-1g9dsu)
commit: f21bb66b238d6cb6d9b2c0a0c94eb444708db650
code hash: 284c5c3c1cb2948001655d472a609d75c5841e9b6b847ad7d43d31e3ba95f16a
verified: 6/22/2026, 12:04:16 PM
view raw JSON →