MCP server · Audited from source
TiDB Server MCP server
by c4pt0r/mcp-server-tidbApache-2.0 licenceAudited 9 Oct 2026 · source b85d033429bf
Is it safe? With care — CAUTION, grade B (89/100). It exposes 7 tools: 3 read, 3 write and 1 destructive. The audit recorded 2 findings (0 critical, 0 high, 2 medium, 0 low). Maintainer's description: mcp server for tidb
Cite
Cite this page
ModelsAtlas. “TiDB Server MCP server (c4pt0r/mcp-server-tidb)”. Retrieved 9 Oct 2026. https://modelsatlas.com/mcp/c4pt0r/tidb-server
Trust audit
Audit 0.4.1 · full source read 9 Oct 2026
2 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
- FilesystemDeclared2 observations
- NetworkNone observedNothing seen in the source
- ShellNone observedNothing seen in the source
- DependenciesPinnedNothing floats
- 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 | PASS |
L1 Static source | Secrets, path traversal, supply chain | WARN 1 finding |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
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
c4pt0rUser accountAccount type recorded when we read the repository. - PackagePublished on PyPI
mcp-server-tidb, no version recorded - LicenceApache-2.0From the repository, as read at the audited commit.
- Last push18 months agoActivity of the repository when we read it.
- Source commit readb85d033429bfThe audit covers exactly this commit, read on 9 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory7 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 (2)
Sorted by severity
MEDIUMFilesystem / pathfs.system_paths · src/db_client/db.py:30
return '/etc/ssl/certs/ca-certificates.crt'
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
remove_db_user
- Why
- 1 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
Tools it exposes
7 declared in source · 1 destructive
1 tool 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 |
|---|---|---|
remove_db_user | destructive | db : DB = ctx.request_context.lifespan_context.db |
create_db_user | write | db : DB = ctx.request_context.lifespan_context.db |
db_execute | write | db : DB = ctx.request_context.lifespan_context.db |
show_create_table | write | db : DB = ctx.request_context.lifespan_context.db |
db_query | read | db : DB = ctx.request_context.lifespan_context.db |
get_tidb_serverless_address | read | db : DB = ctx.request_context.lifespan_context.db |
show_tables | read | db : DB = ctx.request_context.lifespan_context.db |
Install
audited commit b85d033
Read the findings first. The most severe is Filesystem / path (medium) at src/db_client/db.py.
One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit b85d033 only.
claude mcp add mcp-server-tidb -- uvx mcp-server-tidb
{
"mcpServers": {
"mcp-server-tidb": {
"command": "uvx",
"args": [
"mcp-server-tidb"
]
}
}
}The command does not pin a version; the audit covers commit b85d033429bf. Transport: stdio. No environment variables required.
Audit history
- !CAUTION B 89 / 100
First audit ·
b85d033429bf
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/c4pt0r/tidb-server/)
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 TiDB Server MCP server
What is the TiDB Server MCP server?
What tools does TiDB Server expose?
Is TiDB Server safe to connect to an agent?
What credentials does TiDB Server need?
How does TiDB Server run?
How current is this page?
Sources
- c4pt0r/mcp-server-tidb on GitHub — the source we read, its licence, stars and activityObserved · 9 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit b85d033429bfObserved · 9 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 TiDB Server MCP server?
- What tools does TiDB Server expose?
- Is TiDB Server safe to connect to an agent?