Live survey304 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Universal DB MCP server

by anarkh-lee/universal-db-mcpMIT licenceAudited 26 Sep 2026 · source 60b95fbcbfdd

npm universal-db-mcp 2.14.0ssestdiostreamable-http★ 935
!CAUTIONGrade B · 85/100 · 26 Sep 2026 · 60b95fb
935GitHub stars

Is it safe? With care — CAUTION, grade B (85/100). It exposes 9 tools: 7 read, 0 write and 2 destructive. The audit recorded 21 findings (0 critical, 0 high, 2 medium, 18 low). Maintainer's description: 通用数据库 MCP 连接器:支持 MySQL、PostgreSQL、Oracle、MongoDB 等 17 种数据库,支持 Claude Desktop、Cursor、Windsurf、VS Code、ChatGPT 等 50+ 平台,用自然语言查询和分析数据

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Universal DB MCP server (anarkh-lee/universal-db-mcp)”. Retrieved 26 Sep 2026. https://modelsatlas.com/mcp/anarkh-lee/universal-db

Trust audit

Audit 0.4.1 · full source read 26 Sep 2026

Trust score85/100!CAUTION B
0 critical0 high2 medium18 low1 info

21 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared6 observations
  • NetworkNone observedNothing seen in the source
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityWARN 3 findings
L1 Static sourceSecrets, path traversal, supply chainPASS 9 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 8 findings
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner anarkh-leeUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmuniversal-db-mcp at version 2.14.0
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push6 months agoActivity of the repository when we read it.
  • Source commit read60b95fbcbfddThe audit covers exactly this commit, read on 26 Sep 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory9 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (21)

Sorted by severity

MEDIUMInventory / provenanceinv.binary · universal-db-mcp-0.1.0.tgz
F-13 Inventory / provenanceCWE-1104Layer L0
universal-db-mcp-0.1.0.tgz
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
clear_cache, execute_query
Why
2 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · docker/.env.docker.example
F-13 Inventory / provenanceCWE-1104Layer L0
.env.docker.example
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · serverless/aliyun-fc/index.js:6
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const { createHttpServer } = require('../../dist/http/server.js');
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · serverless/aliyun-fc/index.js:7
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const { loadConfig } = require('../../dist/utils/config-loader.js');
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · serverless/aws-lambda/index.js:6
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const { createHttpServer } = require('../../dist/http/server.js');
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · serverless/aws-lambda/index.js:7
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const { loadConfig } = require('../../dist/utils/config-loader.js');
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · serverless/tencent-scf/index.js:6
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const { createHttpServer } = require('../../dist/http/server.js');
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/deployment/https-domain.md:86
F-04 Network egressCWE-200 · CWE-319Layer L1
proxy_pass http://127.0.0.1:3001;
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/development/implementation.md:263
F-04 Network egressCWE-200 · CWE-319Layer L1
# 📍 Server URL: http://0.0.0.0:3000
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/development/implementation.zh-CN.md:263
F-04 Network egressCWE-200 · CWE-319Layer L1
# 📍 Server URL: http://0.0.0.0:3000
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@clickhouse/client, @fastify/cors, @fastify/rate-limit, @modelcontextprotocol/sdk, better-sqlite3, commander, dotenv, fastify
Why
26 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.credential_read · docs/operations/guide.md:200
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
cat /opt/universal-db-mcp/.env
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.credential_read · docs/operations/troubleshooting.md:175
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
cat .env
Why
asks the agent to read credentials
Fix
—
LOWSupply chainprompt.pipe_to_shell · docs/databases/tidb.md:23
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl --proto '=https' --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainprompt.pipe_to_shell · docs/deployment/cloud/huaweicloud.md:1002
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -fsSL https://get.docker.com | sudo sh
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainprompt.pipe_to_shell · docs/http-api/DEPLOYMENT.md:633
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -L https://fly.io/install.sh | sh
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainprompt.pipe_to_shell · docs/http-api/DEPLOYMENT.zh-CN.md:615
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -L https://fly.io/install.sh | sh
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.transfer_instruction · docs/http-api/API_REFERENCE.md:138
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
curl -X POST "http://localhost:3000/sse/message?sessionId=your-session-id" \
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/http-api/API_REFERENCE.zh-CN.md:138
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
curl -X POST "http://localhost:3000/sse/message?sessionId=your-session-id" \
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
INFOInventory / provenanceinv.oversize · assets/logo1.png
F-13 Inventory / provenanceCWE-1104Layer L0
assets/logo1.png
Why
1056868 bytes not read
Fix
—

Tools it exposes

9 declared in source · 2 destructive

7 read0 write2 destructive

2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
clear_cachedestructive清除 Schema 缓存。当数据库结构发生变化(如新增表、修改列)时,可以调用此工具清除缓存。
execute_querydestructive执行 SQL 查询或数据库命令。支持 SELECT、JOIN、聚合等查询操作。如果启用了写入模式,也可以执行 INSERT、UPDATE、DELETE 等操作。
connect_databaseread连接到数据库。支持动态指定数据库类型和连接参数,无需重启服务。如果当前已有连接,会自动断开旧连接再建立新连接。支持的数据库类型:mysql, postgres, redis, oracle, dm, sqlserver, mongodb, sqlite, kingbase, gaussdb, oceanbase, tidb, clickhouse, polardb, vastbase, highgo, goldendb。
disconnect_databaseread断开当前数据库连接。断开后需要重新调用 connect_database 才能执行查询。
get_connection_statusread获取当前数据库连接状态。返回是否已连接、数据库类型、地址、数据库名、权限模式等信息。
get_enum_valuesread获取指定列的所有唯一值。用于了解 status、type、category 等枚举类型列的所有可能值,帮助生成准确的 WHERE 条件。例如:获取 orders.status 列的所有状态值(pending, shipped, delivered 等)。
get_sample_dataread获取表的示例数据(已自动脱敏)。用于了解数据格式,如日期格式(2024-01-01 vs 20240101)、ID格式(UUID vs 自增)、金额精度等。敏感数据(手机号、邮箱、身份证等)会自动脱敏保护隐私。
get_schemaread获取数据库结构信息,包括所有 Schema 中用户可访问的表名、列名、数据类型、主键、索引等元数据。在执行查询前调用此工具可以帮助理解数据库结构。结果会被缓存以提高性能。
get_table_inforead获取指定表的详细信息,包括列定义、索引、预估行数等。用于深入了解某个表的结构。

Install

Package version 2.14.0 · audited commit 60b95fb

Read the findings first. The most severe is Inventory / provenance (medium) at universal-db-mcp-0.1.0.tgz.

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 2.14.0. The audit covers commit 60b95fb only.

claude mcp add universal-db-mcp --env API_KEYS=${API_KEYS} --env CORS_CREDENTIALS=${CORS_CREDENTIALS} --env DB_PASSWORD=${DB_PASSWORD} -- npx -y [email protected]

The command pins the package version recorded in the source (2.14.0); the audit covers commit 60b95fbcbfdd. Transport: sse · stdio · streamable-http. Reads these environment variables: API_KEYS, CORS_CREDENTIALS, DB_PASSWORD. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 85 / 100

    First audit · 60b95fbcbfdd

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/anarkh-lee/universal-db/badge.svg)](https://modelsatlas.com/mcp/anarkh-lee/universal-db/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Universal DB MCP server

What is the Universal DB MCP server?
通用数据库 MCP 连接器:支持 MySQL、PostgreSQL、Oracle、MongoDB 等 17 种数据库,支持 Claude Desktop、Cursor、Windsurf、VS Code、ChatGPT 等 50+ 平台,用自然语言查询和分析数据
What tools does Universal DB expose?
9 in total: 7 read-only, 0 that write, and 2 that can delete or overwrite (clear_cache, execute_query). Every one is listed on this page with its risk.
Is Universal DB safe to connect to an agent?
With care. The audit graded it B (85/100) and found 21 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Universal DB need?
It reads API_KEYS, CORS_CREDENTIALS and DB_PASSWORD from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Universal DB run?
It speaks sse, stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as universal-db-mcp at 2.14.0.
How current is this page?
The grade is for one exact copy of the source (60b95fbcbfdd), read on 2026-09-26. The repository is watched and re-audited when it changes.

Sources

  • anarkh-lee/universal-db-mcp on GitHub — the source we read, its licence, stars and activityObserved · 26 Sep 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit 60b95fbcbfddObserved · 26 Sep 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.