62
/ 100
6 days ago
glama

MySQL MCP Server

A Model Context Protocol server that provides secure access to MySQL databases through SSH tunnels, enabling LLMs to inspect schemas, execute SQL queries, and manage data with configurable permissions.

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 critical, 3 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
🔐
You'll be asked for 3 credentials: MYSQL_PASS, MYSQL_PASSWORD, REMOTE_SECRET_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configALLOW_DDL_OPERATION:启用 DDL 操作(默认:"false")
configALLOW_DELETE_OPERATION"": "false"
configALLOW_INSERT_OPERATION"": "false",
configALLOW_UPDATE_OPERATION"": "false",
configENABLE_LOGGING
configIS_REMOTE_MCP
configMULTI_DB_WRITE_MODE"": "false",
configMYSQL_DATABASE
configMYSQL_DB✅ 增强数据库访问验证 - 当设置 时,严格验证 SQL 查询的数据库访问,确保查询只作用于指定数据库,避免意外的跨库操作
configMYSQL_DISABLE_READ_ONLY_TRANSACTIONS✅ DDL 操作 - 添加了 以支持 CREATE TABLE
configMYSQL_HOST"": "127.0.0.1",
🔐 secretMYSQL_PASS"": "your_password",
🔐 secretMYSQL_PASSWORD
configMYSQL_PORT"": "3306",
configMYSQL_SOCKET_PATH:本地连接的 Unix 套接字路径(例如,"/tmp/mysql.sock")
configMYSQL_SSL"": "true",
configMYSQL_SSL_REJECT_UNAUTHORIZED
configMYSQL_USER"": "root",
configPORT
🔐 secretREMOTE_SECRET_KEY
configSCHEMA_DDL_PERMISSIONS:模式特定的 DDL 权限
configSCHEMA_DELETE_PERMISSIONS:模式特定的 DELETE 权限
configSCHEMA_INSERT_PERMISSIONS:模式特定的 INSERT 权限
configSCHEMA_UPDATE_PERMISSIONS:模式特定的 UPDATE 权限
configVITEST
// 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/chenlinyang-mcp-server-mysql-rigw81)](https://m8ven.ai/mcp/chenlinyang-mcp-server-mysql-rigw81)
commit: 6af9f5eafb3fcea2135d310d40391567ea3a7d48
code hash: 2eae66111639649a3af72a46de5c8c4a05284618ea63b7e94d1658dc48493a67
verified: 6/17/2026, 11:30:32 AM
view raw JSON →