MySQL MCP Server (moki74/mysql-mcp) is an MCP server listed on the M8ven Trust Index. It scores 50 out of 100, grade D. It declares 149 tools. No publisher has claimed this listing.
A production-ready MCP server for MySQL database integration with AI agents, enabling database exploration, CRUD operations, schema management, and performance monitoring through natural language.
Caution. Specific findings reduced this grade. They are listed on the page. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.
How we verified
Verified is a snapshot. Live keeps it current, and builds your track record.
⚡ Connect GitHub → continuous verification on every pushwhy connect →Who stands behind it
moki74
Source: Glama
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. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →
Install from
The grade above is for the source repository. Registries can serve a different version, so we mark the ones we were not able to read.
Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.
MySQL2 for Node Arbitrary Code Injection
mysql2 Remote Code Execution (RCE) via the readCodeFor function
@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse
Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
CACHE_ENABLEDCACHE_MAX_MEMORY_MBCACHE_MAX_SIZECACHE_TTL_MSDB_HOST"": "localhost",DB_NAMEyourdatabaseDB_PASSWORDyourpasswordDB_PORT"": "3306",DB_USER"": "root",MCP_CATEGORIES"": "database_discovery,performance_monitoring,custom_queries"MCP_CONFIGlist,read,utilityMCP_PERMISSIONS"": "list,read,utility,create,update,delete"PORTTool annotations
No tools have read-only/destructive annotations
Add readOnlyHint or destructiveHint annotations to every tool so hosts can warn users before invoking.
All four hints declared on every tool
149/149 tools missing one or more hints — list_databases (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); list_tables (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_database_summary (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +146 more. OpenAI's directory rejects tools where any of the four hints are missing or non-boolean.
For every tool, set all four hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to explicit true/false values that match the handler’s actual behaviour.
Tests exist
No test files found
Add tests that exercise each declared tool.
Shell command execution
1 child_process call — runs shell commands
Prefer library functions over shell-outs. If you must shell out, ensure all inputs are properly escaped.
Production dependencies are patched
2 critical, 4 high severity in production deps — mysql2@3.6.1 (critical), mysql2@3.6.1 (critical)
Run npm audit fix, or upgrade the affected packages to a non-vulnerable version.
Dependency freshness
1/12 production deps stale: ajv-formats@2024-03-30 (2.4y)
Domain consistency
npm scope @berthojoris doesn't match GitHub owner moki74
Use the same org name across GitHub, npm, and your homepage so users can verify the publisher.
Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.
[](https://m8ven.ai/mcp/moki74/mysql-mcp)?variant=verified from the URL.Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.
https://m8ven.ai/api/mcp/tool-check