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

MCP server · Audited from source

MySQL MCP server

by dpflucas/mysql-mcp-serverMIT licenceAudited 7 Oct 2026 · source c084c716d5fd

npm mysql-mcp-server 0.1.4stdio★ 72
!CAUTIONGrade B · 89/100 · 7 Oct 2026 · c084c71
72GitHub stars

Is it safe? With care — CAUTION, grade B (89/100). It exposes 4 tools: 3 read, 1 write and 0 destructive. The audit recorded 4 findings (0 critical, 0 high, 2 medium, 2 low). Maintainer's description: An MCP server provides read-only access to MySQL databases.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “MySQL MCP server (dpflucas/mysql-mcp-server)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/dpflucas/mysql-3

3 MCP servers are called MySQL. You are viewing dpflucas/mysql-mcp-server. Compare all 3 →

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

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

4 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
  • 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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 1 finding
L1 Static sourceSecrets, path traversal, supply chainWARN 3 findings
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 dpflucasUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmmysql-mcp-server at version 0.1.4
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push14 days agoActivity of the repository when we read it.
  • Source commit readc084c716d5fdThe 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 inventory4 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 (4)

Sorted by severity

MEDIUMFilesystem / pathfs.system_paths · test-validators.js:22
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"SELECT LOAD_FILE('/etc/passwd')",
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathfs.system_paths · test-validators.js:23
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"SELECT load_file ( '/etc/passwd' )",
Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .worktreeinclude
F-13 Inventory / provenanceCWE-1104Layer L0
.worktreeinclude
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, mysql2, @types/node, dotenv, typescript
Why
5 dependency range(s) float
Fix
pin exact versions or ship a lockfile

Tools it exposes

4 declared in source · 0 destructive

3 read1 write0 destructive
ToolRiskWhat it does
execute_querywriteExecute a read-only SQL query
describe_tablereadShow the schema for a specific table
list_databasesreadList all accessible databases on the MySQL server
list_tablesreadList all tables in a specified database

Install

Package version 0.1.4 · audited commit c084c71

Read the findings first. The most severe is Filesystem / path (medium) at test-validators.js.

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.1.4. The audit covers commit c084c71 only.

claude mcp add mysql-mcp-server --env MYSQL_PASSWORD=${MYSQL_PASSWORD} -- npx -y [email protected]

The command pins the package version recorded in the source (0.1.4); the audit covers commit c084c716d5fd. Transport: stdio. Reads this environment variable: MYSQL_PASSWORD. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 89 / 100

    First audit · c084c716d5fd

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/dpflucas/mysql-3/badge.svg)](https://modelsatlas.com/mcp/dpflucas/mysql-3/)

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 MySQL MCP server

What is the MySQL MCP server?
An MCP server provides read-only access to MySQL databases.
What tools does MySQL expose?
4 in total: 3 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is MySQL safe to connect to an agent?
With care. The audit graded it B (89/100) and found 4 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does MySQL need?
It reads MYSQL_PASSWORD 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 MySQL run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as mysql-mcp-server at 0.1.4.
How current is this page?
The grade is for one exact copy of the source (c084c716d5fd), read on 2026-10-07. The repository is watched and re-audited when it changes.
Which MySQL MCP server is the right one?
tickhaijun/mysql-mcp-server. 3 servers share the name; see the side-by-side comparison.

Sources

  • dpflucas/mysql-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit c084c716d5fdObserved · 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.