Database MCP Server (tomtomjskim/db-mcp) is an MCP server listed on the M8ven Trust Index. It scores 46 out of 100, grade D. It declares 10 tools. No publisher has claimed this listing.
Enables AI agents to securely interact with multiple databases (MySQL, PostgreSQL) via natural language queries, with cross-database querying and enterprise-grade security.
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
tomtomjskim
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.
These names and descriptions are the publisher's own, read from the source code. We print them as written. Our assessment is the findings above, not this list.
execute_queryExecute a SQL query (read-only). Response: compact Array-of-Arrays {columns:[...], rows:[[...],...]}. SHOW COLUMNS auto-formats as lightweight text. SELECT without LIMIT gets auto LIMIT 50.
natural_language_queryConvert natural language question to SQL and execute it
analyze_queryAnalyze a SQL query for validation, performance, and security
explain_queryGet execution plan and performance analysis for a query
test_connectionTest database connection and return status
get_database_infoGet basic information about the connected database
analyze_schemaAnalyze database schema and get detailed table information
profile_tableGenerate detailed data profile for a specific table
get_table_relationshipsGet foreign key relationships between tables
clear_schema_cacheClear schema cache for better performance or after schema changes
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
Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
mysql2 vulnerable to Prototype Pollution
DB_CONFIG_FILE"": "./db-config.json"DB_DEFAULT_CONNECTIONDB_TYPE1. 명시적 지정: 환경변수 또는 config.type 설정MYSQL_DB✅ 불필요한 dummy 환경변수 제거: MYSQL_HOST, MYSQL_PORT, , MYSQL_USER, MYSQL_PASSWORD 불필요MYSQL_HOST✅ 불필요한 dummy 환경변수 제거: , MYSQL_PORT, MYSQL_DB, MYSQL_USER, MYSQL_PASSWORD 불필요MYSQL_PASSWORD✅ 불필요한 dummy 환경변수 제거: MYSQL_HOST, MYSQL_PORT, MYSQL_DB, MYSQL_USER, 불필요MYSQL_PORT✅ 불필요한 dummy 환경변수 제거: MYSQL_HOST, , MYSQL_DB, MYSQL_USER, MYSQL_PASSWORD 불필요MYSQL_SSL_CA=/path/to/rds-ca-2019-root.pemMYSQL_SSL_CERTMYSQL_SSL_KEYMYSQL_SSL_MODEMYSQL_USER✅ 불필요한 dummy 환경변수 제거: MYSQL_HOST, MYSQL_PORT, MYSQL_DB, , MYSQL_PASSWORD 불필요POSTGRES_DB"": "order_service"POSTGRES_HOST"": "order-db.cluster-yyy.rds.amazonaws.com",POSTGRES_PASSWORDsecure_passwordPOSTGRES_PORT"": "5432",POSTGRES_SSL_CA=/path/to/rds-ca-2019-root.pemPOSTGRES_SSL_CERTPOSTGRES_SSL_KEYPOSTGRES_SSL_MODEPOSTGRES_USERreadonly_userTool 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
10/10 tools missing one or more hints — execute_query (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); natural_language_query (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); analyze_query (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +7 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.
License file
No license file
Add a LICENSE file (MIT, Apache-2.0, etc.).
Tool test coverage
Only 0/10 tools referenced in tests (0%)
Write tests that reference each tool by name so every tool has at least one test.
Tests pass
npm test failed — tests do not pass
Make sure npm test runs cleanly. Common cause: missing build step or missing env vars.
Production dependencies are patched
2 critical, 3 high severity in production deps — mysql2@3.6.0 (critical), mysql2@3.6.0 (critical)
Run npm audit fix, or upgrade the affected packages to a non-vulnerable version.
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/tomtomjskim/db-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