Universal DB MCP (xiao-linxin/universal-db-mcp) is an MCP server listed on the M8ven Trust Index. It scores 70 out of 100, grade C. It declares 9 tools. No publisher has claimed this listing.

C
Caution
70/100

Universal DB MCP

Enables AI assistants to query and analyze databases using natural language through MCP and HTTP API, supporting 17+ databases and integration with 50+ platforms.

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

xiao-linxin

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: 1 critical, 2 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
🔐
You'll be asked for 1 credential: DB_PASSWORD
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// tools this server exposes9 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

执行 SQL 查询或数据库命令。支持 SELECT、JOIN、聚合等查询操作。如果启用了写入模式,也可以执行 INSERT、UPDATE、DELETE 等操作。

get_schema

获取数据库结构信息,包括所有 Schema 中用户可访问的表名、列名、数据类型、主键、索引等元数据。在执行查询前调用此工具可以帮助理解数据库结构。结果会被缓存以提高性能。

get_table_info

获取指定表的详细信息,包括列定义、索引、预估行数等。用于深入了解某个表的结构。

clear_cache

清除 Schema 缓存。当数据库结构发生变化(如新增表、修改列)时,可以调用此工具清除缓存。

get_enum_values

获取指定列的所有唯一值。用于了解 status、type、category 等枚举类型列的所有可能值,帮助生成准确的 WHERE 条件。例如:获取 orders.status 列的所有状态值(pending, shipped, delivered 等)。

get_sample_data

获取表的示例数据(已自动脱敏)。用于了解数据格式,如日期格式(2024-01-01 vs 20240101)、ID格式(UUID vs 自增)、金额精度等。敏感数据(手机号、邮箱、身份证等)会自动脱敏保护隐私。

connect_database

连接到数据库。支持动态指定数据库类型和连接参数,无需重启服务。如果当前已有连接,会自动断开旧连接再建立新连接。支持的数据库类型:mysql, postgres, redis, oracle, dm, sqlserver, mongodb, sqlite, kingbase, gaussdb, oceanbase, tidb, clickhouse, polardb, vastbase, highgo, goldendb。

disconnect_database

断开当前数据库连接。断开后需要重新调用 connect_database 才能执行查询。

get_connection_status

获取当前数据库连接状态。返回是否已连接、数据库类型、地址、数据库名、权限模式等信息。

// known CVEs in dependencies1 critical2 high2 low

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

criticalvitest@1.6.1GHSA-5xrq-8626-4rwp

When Vitest UI server is listening, arbitrary file can be read and executed

highfastify@4.29.1GHSA-jx2c-rxcm-jvmq

Fastify's Content-Type header tab character allows body validation bypass

highnanoid@5.1.6GHSA-28wg-ghj8-5hjv

nanoid: non-secure generators can loop indefinitely with negative size

lowfastify@4.29.1GHSA-444r-cwp2-x5xf

fastify: request.protocol and request.host Spoofable via X-Forwarded-Proto/Host from Untrusted Connections

lowfastify@4.29.1GHSA-mrq3-vjjr-p77c

Fastify Vulnerable to DoS via Unbounded Memory Allocation in sendWebStream

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.
configAPI_KEYSexport =your-secret-key
configCORS_CREDENTIALS
configCORS_ORIGINS
configDB_ALLOW_WRITE
configDB_DATABASE
configDB_FILE_PATH
configDB_HOST
🔐 secretDB_PASSWORD
configDB_PORT
configDB_TYPE
configDB_USER
configHTTP_HOST
configHTTP_PORTexport =3000
configLOG_LEVEL
configLOG_PRETTY
configMODEexport =http
configRATE_LIMIT_MAX
configRATE_LIMIT_WINDOW
configSESSION_CLEANUP_INTERVAL
configSESSION_TIMEOUT
// 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

9/9 tools missing one or more hints — execute_query (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_schema (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_table_info (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +6 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.

Tool test coverage

Only 0/9 tools referenced in tests (0%)

Write tests that reference each tool by name so every tool has at least one test.

Production dependencies are patched

0 critical, 2 high severity in production deps — fastify@4.29.1 (high), nanoid@5.1.6 (high)

Run npm audit fix, or upgrade the affected packages to a non-vulnerable version.

Dev dependencies

1 critical/high in dev-only deps (does not ship to users)

Upgrade dev dependencies when convenient.

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 5 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/xiao-linxin/universal-db-mcp?variant=verified)](https://m8ven.ai/mcp/xiao-linxin/universal-db-mcp)
Shows verification status without the grade. Want the grade badge instead? Remove ?variant=verified from the URL.
commit: dc338cd7740c277c04722743b97eb1681e409016
code hash: 4da359f6aa7bc47c3d2765d00e365fc7f4fe73ec80271e2e6ff7c7643d49d405
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