MCP server · Audited from source
Universal DB MCP server
by anarkh-lee/universal-db-mcpMIT licenceAudited 26 Sep 2026 · source 60b95fbcbfdd
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+ 平台,用自然语言查询和分析数据
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
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN 3 findings |
L1 Static source | Secrets, path traversal, supply chain | PASS 9 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 8 findings |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
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 npm
universal-db-mcpat 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
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
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
LOWFilesystem / pathfs.traversal · serverless/aliyun-fc/index.js:6
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
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
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
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
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
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
# 📍 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
# 📍 Server URL: http://0.0.0.0:3000
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@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
cat /opt/universal-db-mcp/.env
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.credential_read · docs/operations/troubleshooting.md:175
cat .env
- Why
- asks the agent to read credentials
- Fix
- —
LOWSupply chainprompt.pipe_to_shell · docs/databases/tidb.md:23
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
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
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
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
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
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
assets/logo1.png
- Why
- 1056868 bytes not read
- Fix
- —
Tools it exposes
9 declared in source · 2 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.
| Tool | Risk | What it does |
|---|---|---|
clear_cache | destructive | 清除 Schema 缓存。当数据库结构发生变化(如新增表、修改列)时,可以调用此工具清除缓存。 |
execute_query | destructive | 执行 SQL 查询或数据库命令。支持 SELECT、JOIN、聚合等查询操作。如果启用了写入模式,也可以执行 INSERT、UPDATE、DELETE 等操作。 |
connect_database | read | 连接到数据库。支持动态指定数据库类型和连接参数,无需重启服务。如果当前已有连接,会自动断开旧连接再建立新连接。支持的数据库类型:mysql, postgres, redis, oracle, dm, sqlserver, mongodb, sqlite, kingbase, gaussdb, oceanbase, tidb, clickhouse, polardb, vastbase, highgo, goldendb。 |
disconnect_database | read | 断开当前数据库连接。断开后需要重新调用 connect_database 才能执行查询。 |
get_connection_status | read | 获取当前数据库连接状态。返回是否已连接、数据库类型、地址、数据库名、权限模式等信息。 |
get_enum_values | read | 获取指定列的所有唯一值。用于了解 status、type、category 等枚举类型列的所有可能值,帮助生成准确的 WHERE 条件。例如:获取 orders.status 列的所有状态值(pending, shipped, delivered 等)。 |
get_sample_data | read | 获取表的示例数据(已自动脱敏)。用于了解数据格式,如日期格式(2024-01-01 vs 20240101)、ID格式(UUID vs 自增)、金额精度等。敏感数据(手机号、邮箱、身份证等)会自动脱敏保护隐私。 |
get_schema | read | 获取数据库结构信息,包括所有 Schema 中用户可访问的表名、列名、数据类型、主键、索引等元数据。在执行查询前调用此工具可以帮助理解数据库结构。结果会被缓存以提高性能。 |
get_table_info | read | 获取指定表的详细信息,包括列定义、索引、预估行数等。用于深入了解某个表的结构。 |
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]{
"mcpServers": {
"universal-db-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"API_KEYS": "${API_KEYS}",
"CORS_CREDENTIALS": "${CORS_CREDENTIALS}",
"DB_PASSWORD": "${DB_PASSWORD}"
}
}
}
}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
- !CAUTION B 85 / 100
First audit ·
60b95fbcbfdd
README badge
For maintainers · updates on every re-audit
[](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?
What tools does Universal DB expose?
Is Universal DB safe to connect to an agent?
What credentials does Universal DB need?
How does Universal DB run?
How current is this page?
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.
- What is the Universal DB MCP server?
- What tools does Universal DB expose?
- Is Universal DB safe to connect to an agent?