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

MCP server · Audited from source

SmartDB MCP server

by wenb1n-dev/smartdb_mcpMIT licenceAudited 7 Oct 2026 · source bd6848f1bee0

PyPI SmartDB_MCPstdiostreamable-http★ 77
!CAUTIONGrade B · 86/100 · 7 Oct 2026 · bd6848f
77GitHub stars

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

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score86/100!CAUTION B
0 critical1 high0 medium2 low0 info

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

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

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 PyPISmartDB_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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L0
.env
Why
a real .env in the package
Fix
ship .env.example with placeholders only
LOWInventory / provenanceinv.hidden_file · src/config/.env
F-13 Inventory / provenanceCWE-1104Layer L0
.env
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWSupply chainsupply.unpinned · requirements.txt
F-08 Supply chainCWE-829 · CWE-1357Layer L1
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

18 read0 write0 destructive
ToolRiskWhat 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

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

  1. !CAUTION B 86 / 100

    First audit · bd6848f1bee0

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/wenb1n-dev/smartdb/badge.svg)](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?
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
What tools does SmartDB expose?
18 in total: 18 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is SmartDB safe to connect to an agent?
With care. The audit graded it B (86/100) and found 3 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does SmartDB need?
It reads ACCESS_TOKEN_EXPIRE_MINUTES, CLIENT_SECRET, OAUTH_USER_NAME, OAUTH_USER_PASSWORD, REFRESH_TOKEN_EXPIRE_DAYS and TOKEN_SECRET_KEY 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 SmartDB run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as SmartDB_MCP.
How current is this page?
The grade is for one exact copy of the source (bd6848f1bee0), read on 2026-10-07. The repository is watched and re-audited when it changes.

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.