MCP server · Audited from source
MySQL MCP server
by dpflucas/mysql-mcp-serverMIT licenceAudited 7 Oct 2026 · source c084c716d5fd
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.
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 →
- tickhaijun/mysql-mcp-server★ 32✓SAFE
- guangxiangdebizi/mysql_mcp★ 81!CAUTION
- dpflucas/mysql-mcp-server★ 72!CAUTION
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 1 finding |
L1 Static source | Secrets, path traversal, supply chain | WARN 3 findings |
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
dpflucasUser accountAccount type recorded when we read the repository. - PackagePublished on npm
mysql-mcp-serverat 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
"SELECT LOAD_FILE('/etc/passwd')",- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathfs.system_paths · test-validators.js:23
"SELECT load_file ( '/etc/passwd' )",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@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
| Tool | Risk | What it does |
|---|---|---|
execute_query | write | Execute a read-only SQL query |
describe_table | read | Show the schema for a specific table |
list_databases | read | List all accessible databases on the MySQL server |
list_tables | read | List 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]{
"mcpServers": {
"mysql-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MYSQL_PASSWORD": "${MYSQL_PASSWORD}"
}
}
}
}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
- !CAUTION B 89 / 100
First audit ·
c084c716d5fd
README badge
For maintainers · updates on every re-audit
[](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?
What tools does MySQL expose?
Is MySQL safe to connect to an agent?
What credentials does MySQL need?
How does MySQL run?
How current is this page?
Which MySQL MCP server is the right one?
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.
- What is the MySQL MCP server?
- What tools does MySQL expose?
- Is MySQL safe to connect to an agent?