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.

D
Caution
46/100

Database MCP Server

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

Code Verified⚡ Live Monitored: not connected

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

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. 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.

// key findings
🚨
Known vulnerabilities in dependencies: 2 critical, 3 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
⚠️
Tests do not pass
Either the test suite is broken or the code regressed. Either way the published behaviour can’t be verified by the publisher’s own tests.
🔐
You'll be asked for 4 credentials: MYSQL_PASSWORD, MYSQL_SSL_KEY, POSTGRES_PASSWORD, POSTGRES_SSL_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// tools this server exposes10 tools

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_query

Execute 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_query

Convert natural language question to SQL and execute it

analyze_query

Analyze a SQL query for validation, performance, and security

explain_query

Get execution plan and performance analysis for a query

test_connection

Test database connection and return status

get_database_info

Get basic information about the connected database

analyze_schema

Analyze database schema and get detailed table information

profile_table

Generate detailed data profile for a specific table

get_table_relationships

Get foreign key relationships between tables

clear_schema_cache

Clear schema cache for better performance or after schema changes

// known CVEs in dependencies2 critical3 high4 low

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

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

MySQL2 for Node Arbitrary Code Injection

criticalmysql2@3.6.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.6.0GHSA-pmh2-wpjm-fj45

mysql2 vulnerable to Prototype Pollution

Depend on this server? Get alerted when its CVEs change.Watch this server free →
// environment variables
To run this server yourself, you supply these values. They go in your own MCP client configuration and stay on your machine. The secret label means the value is sensitive, not that the server mishandles it.
configDB_CONFIG_FILE"": "./db-config.json"
configDB_DEFAULT_CONNECTION
configDB_TYPE1. 명시적 지정: 환경변수 또는 config.type 설정
configMYSQL_DB✅ 불필요한 dummy 환경변수 제거: MYSQL_HOST, MYSQL_PORT, , MYSQL_USER, MYSQL_PASSWORD 불필요
configMYSQL_HOST✅ 불필요한 dummy 환경변수 제거: , MYSQL_PORT, MYSQL_DB, MYSQL_USER, MYSQL_PASSWORD 불필요
🔐 secretMYSQL_PASSWORD✅ 불필요한 dummy 환경변수 제거: MYSQL_HOST, MYSQL_PORT, MYSQL_DB, MYSQL_USER, 불필요
configMYSQL_PORT✅ 불필요한 dummy 환경변수 제거: MYSQL_HOST, , MYSQL_DB, MYSQL_USER, MYSQL_PASSWORD 불필요
configMYSQL_SSL_CA=/path/to/rds-ca-2019-root.pem
configMYSQL_SSL_CERT
🔐 secretMYSQL_SSL_KEY
configMYSQL_SSL_MODE
configMYSQL_USER✅ 불필요한 dummy 환경변수 제거: MYSQL_HOST, MYSQL_PORT, MYSQL_DB, , MYSQL_PASSWORD 불필요
configPOSTGRES_DB"": "order_service"
configPOSTGRES_HOST"": "order-db.cluster-yyy.rds.amazonaws.com",
🔐 secretPOSTGRES_PASSWORDsecure_password
configPOSTGRES_PORT"": "5432",
configPOSTGRES_SSL_CA=/path/to/rds-ca-2019-root.pem
configPOSTGRES_SSL_CERT
🔐 secretPOSTGRES_SSL_KEY
configPOSTGRES_SSL_MODE
configPOSTGRES_USERreadonly_user
// quality suggestions

Tool 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.

// full audit trail
The findings above are the summary. The full trail, every check we ran, each deduction, the network hosts observed and the dependency advisories, goes to verified publishers, along with an alert whenever a new one lands. Verified publishers can also review each finding and dispute it in one click. Publisher corrections have sharpened several of our checks this month, because the maintainer knows the codebase better than any scanner.
// improvement guidance — verified publishers only
We have 6 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 Verified](https://m8ven.ai/badge/mcp/tomtomjskim/db-mcp?variant=verified)](https://m8ven.ai/mcp/tomtomjskim/db-mcp)
Shows verification status without the grade. Want the grade badge instead? Remove ?variant=verified from the URL.
commit: b384d5b4032bab51ab820b8d5f3d37628e4adcd7
code hash: 94150e7e5b00c676420095d465cf53e198e7a40a7bec257e3019a2a732f71e6c
view raw JSON →
Check MCPs from inside your assistant
Tool Check · MCP

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
check_toolsearch_toolscompare_toolsrecommend_alternativescheck_publisherreport_concern
How to add it →Free · no account needed · works in any MCP client