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

MCP server · Audited from source

TiDB Server MCP server

by c4pt0r/mcp-server-tidbApache-2.0 licenceAudited 9 Oct 2026 · source b85d033429bf

PyPI mcp-server-tidbstdio★ 24
!CAUTIONGrade B · 89/100 · 9 Oct 2026 · b85d033
24GitHub stars

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

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

Trust score89/100!CAUTION B
0 critical0 high2 medium0 low0 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainWARN 1 finding
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS
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 c4pt0rUser accountAccount type recorded when we read the repository.
  • PackagePublished on PyPImcp-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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
return '/etc/ssl/certs/ca-certificates.crt'
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
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

3 read3 write1 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.

ToolRiskWhat it does
remove_db_userdestructivedb : DB = ctx.request_context.lifespan_context.db
create_db_userwritedb : DB = ctx.request_context.lifespan_context.db
db_executewritedb : DB = ctx.request_context.lifespan_context.db
show_create_tablewritedb : DB = ctx.request_context.lifespan_context.db
db_queryreaddb : DB = ctx.request_context.lifespan_context.db
get_tidb_serverless_addressreaddb : DB = ctx.request_context.lifespan_context.db
show_tablesreaddb : 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

The command does not pin a version; the audit covers commit b85d033429bf. Transport: stdio. No environment variables required.

Audit history

  1. !CAUTION B 89 / 100

    First audit · b85d033429bf

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/c4pt0r/tidb-server/badge.svg)](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?
mcp server for tidb
What tools does TiDB Server expose?
7 in total: 3 read-only, 3 that write, and 1 that can delete or overwrite (remove_db_user). Every one is listed on this page with its risk.
Is TiDB Server safe to connect to an agent?
With care. The audit graded it B (89/100) and found 2 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does TiDB Server need?
No credential environment variables were found in its source, so it appears to need none.
How does TiDB Server run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as mcp-server-tidb.
How current is this page?
The grade is for one exact copy of the source (b85d033429bf), read on 2026-10-09. The repository is watched and re-audited when it changes.

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.