MCP server · Audited from source
SmartDB MCP server
by wenb1n-dev/smartdb_mcpMIT licenceAudited 7 Oct 2026 · source bd6848f1bee0
Is it safe? With care — CAUTION, grade B (86/100). It exposes 18 tools: 18 read, 0 write and 0 destructive. The audit recorded 3 findings (0 critical, 1 high, 0 medium, 2 low). Maintainer's description: Universal database MCP server connecting to MySQL, PostgreSQL, SQL Server, MariaDB,DM8,Oracle,not only provides basic database connection such as OAuth 2.0 authentication , health checks, SQL optimization, and index health detection
Cite
Cite this page
ModelsAtlas. “SmartDB MCP server (wenb1n-dev/smartdb_mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/wenb1n-dev/smartdb
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
3 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
- FilesystemDeclared1 observation
- NetworkDeclared2 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
“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 | FAIL 2 findings |
L1 Static source | Secrets, path traversal, supply chain | PASS 1 finding |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | PASS |
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
wenb1n-devUser accountAccount type recorded when we read the repository. - PackagePublished on PyPI
SmartDB_MCP, no version recorded - LicenceMITFrom the repository, as read at the audited commit.
- Last push13 months agoActivity of the repository when we read it.
- Source commit readbd6848f1bee0The audit covers exactly this commit, read on 7 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory18 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 (3)
Sorted by severity
HIGHHard-coded secretsinv.env_committed · src/config/.env
.env
- Why
- a real .env in the package
- Fix
- ship .env.example with placeholders only
LOWSupply chainsupply.unpinned · requirements.txt
mcp, python-dotenv, starlette, uvicorn, PyJWT, sqlalchemy, pymysql, psycopg2-binary
- Why
- 17 requirement(s) not pinned with ==
- Fix
- pin exact versions
Tools it exposes
18 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
创建用户 | read | 创建新用户账户 |
创建角色 | read | 创建新角色 |
删除用户 | read | 删除用户账户 |
删除角色 | read | 删除角色 |
数据备份 | read | 执行数据备份 |
数据库写入 | read | 写入数据库数据 |
数据库删除 | read | 删除数据库数据 |
数据库管理 | read | 管理数据库结构 |
数据库读取 | read | 读取数据库数据 |
普通用户 | read | 基本的系统使用权限 |
查看用户 | read | 查看用户列表和详情 |
查看角色 | read | 查看角色列表和详情 |
系统日志 | read | 查看系统日志 |
系统管理员 | read | 可以管理用户、角色和基本系统设置 |
系统配置 | read | 管理系统配置 |
编辑用户 | read | 修改用户信息 |
编辑角色 | read | 修改角色信息 |
超级管理员 | read | 拥有系统所有权限,可以管理所有用户和角色 |
Install
audited commit bd6848f
Read the findings first. The most severe is Hard-coded secrets (high) at src/config/.env.
One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit bd6848f only.
claude mcp add SmartDB_MCP --env ACCESS_TOKEN_EXPIRE_MINUTES=${ACCESS_TOKEN_EXPIRE_MINUTES} --env CLIENT_SECRET=${CLIENT_SECRET} --env OAUTH_USER_NAME=${OAUTH_USER_NAME} --env OAUTH_USER_PASSWORD=${OAUTH_USER_PASSWORD} -- uvx SmartDB_MCP{
"mcpServers": {
"SmartDB_MCP": {
"command": "uvx",
"args": [
"SmartDB_MCP"
],
"env": {
"ACCESS_TOKEN_EXPIRE_MINUTES": "${ACCESS_TOKEN_EXPIRE_MINUTES}",
"CLIENT_SECRET": "${CLIENT_SECRET}",
"OAUTH_USER_NAME": "${OAUTH_USER_NAME}",
"OAUTH_USER_PASSWORD": "${OAUTH_USER_PASSWORD}"
}
}
}
}The command does not pin a version; the audit covers commit bd6848f1bee0. Transport: stdio · streamable-http. Reads these environment variables: ACCESS_TOKEN_EXPIRE_MINUTES, CLIENT_SECRET, OAUTH_USER_NAME, OAUTH_USER_PASSWORD, REFRESH_TOKEN_EXPIRE_DAYS, TOKEN_SECRET_KEY. Give it the narrowest token it needs.
Audit history
- !CAUTION B 86 / 100
First audit ·
bd6848f1bee0
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/wenb1n-dev/smartdb/)
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 SmartDB MCP server
What is the SmartDB MCP server?
What tools does SmartDB expose?
Is SmartDB safe to connect to an agent?
What credentials does SmartDB need?
How does SmartDB run?
How current is this page?
Sources
- wenb1n-dev/smartdb_mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit bd6848f1bee0Observed · 7 Oct 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 SmartDB MCP server?
- What tools does SmartDB expose?
- Is SmartDB safe to connect to an agent?