Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

MySQL MCP

NPM · MCP-MYSQL-CLIENT

MCP server for one MySQL database: schema, read-only queries and guarded writes.

Available components

0 this week 78 Trust /100

Last scanned (9 hours ago)

Scores higher than 58% of npm servers

Category Databases

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security81
  • No malware found by supply-chain analysis.Pass
  • CVE check failed: a known high-severity CVE affects zod 3.25.76, a direct dependency. A fixed version is available. View diagnostics → Fail
  • No install/post-install scripts declared.Pass
  • 33 of 103 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency45
Schema Quality & AI Usability72
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 1342 tokens (~223/item across 6 items; 6 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management100
  • No destabilizing schema changes in the last 30 days.Pass
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • All 1 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.Pass
  • An AI judge read all 7 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 4 Nov 26 0
    • Stability: pass → unverified ▼ security
    • Tool safety: pass → unverified ▼ security
    • Capabilities: pass → unverified ▼ functional
    • Tool coverage: 100 → unverified ▼ functional
    • First check of Schema quality: unverified functional
    • Package version: 1.1.0 → 1.1.1 functional
  • 2 Nov 26 0
    • Stability: 0.97 → pass security
  • 1 Nov 26 +15
    • Malware scan: unverified → pass ▲ security
    • Stability: pass → 0.97 functional
  • 31 Oct 26 −15
    • Malware scan: pass → unverified ▼ security
    • Package version: 1.0.1 → 1.1.0 functional
  • 26 Oct 26 0
    • Stability: 0.97 → pass security
  • 25 Oct 26 0
    • Stability: pass → 0.97 functional
  • 24 Oct 26 −5
    • CVE-2023-54404 affects this package: high ▼ security
    • Known CVEs: pass → fail ▼ security
  • 22 Oct 26 0
    • Package version: 1.0.0 → 1.0.1 functional
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 5 Nov 2026 · Analysed npm/mcp-mysql-client@1.1.1

Provenance No attestation

The registry publishes no build provenance for this version, so there is nothing to verify.

Result No attestation
Ecosystem npm

Background: How many MCP packages publish verified provenance →

Vulnerabilities 1 finding
ID CVE Severity Vector Fix available
GHSA-mrhx-c7xc-m3w5 CVE-2023-54404 high CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H yes

Background: What a vulnerability scan can and cannot prove →

Dependencies 103 packages
Packages resolved 103
Stale 33
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 6 exposed · ~936 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
describe_table ~163

Показывает структуру таблицы: столбцы с типами, обнуляемостью, значениями по умолчанию и комментариями, индексы с их составом, внешние ключи наружу и, главное, ссылки на эту таблицу из других (referenced_by) — именно они определяют, безопасно ли удалять строки. Разделы, кроме столбцов, можно отключить, если нужен только их список.

NameTypeReqDescription
include_foreign_keysboolean–Включить внешние ключи в обе стороны (по умолчанию да).
include_indexesboolean–Включить индексы (по умолчанию да).
tablestringyesИмя таблицы в подключённой базе данных.

No output schema declared.

No examples provided.

execute ~215

Выполняет один изменяющий запрос — INSERT, UPDATE, DELETE или REPLACE — и возвращает число затронутых строк. Сейчас сервер разрешает: только чтение. Права выдаются переменными ALLOW_INSERT_OPERATION, ALLOW_UPDATE_OPERATION и ALLOW_DELETE_OPERATION в конфигурации MCP-клиента и требуют перезапуска сервера — из диалога их получить нельзя. DDL (CREATE, ALTER, DROP, TRUNCATE) не поддерживается ни при каких настройках. Запрос выполняется сразу и без транзакции: откатить его отсюда нельзя. UPDATE и DELETE без WHERE и LIMIT требуют явного allow_full_table=true.

NameTypeReqDescription
allow_full_tableboolean–Подтверждение для UPDATE или DELETE без WHERE и LIMIT — такой запрос затрагивает всю таблицу.
paramsarray–Значения для подстановки вместо ? в порядке появления.
sqlstringyesОдин SQL-запрос. Несколько инструкций через ; не выполняются.

No output schema declared.

No examples provided.

explain ~178

Возвращает план выполнения читающего запроса: какие индексы будут использованы и сколько строк сервер рассчитывает просмотреть. Обычный режим ничего не выполняет; analyze=true запускает запрос по-настоящему и показывает фактическое время — на больших таблицах это дорого. Полезно перед тяжёлой выборкой и при диагностике медленных запросов.

NameTypeReqDescription
analyzeboolean–Выполнить запрос и показать фактические строки и время (EXPLAIN ANALYZE).
formatstring–Формат плана: traditional — таблица, json — подробное дерево, tree — читаемое дерево.
paramsarray–Значения для подстановки вместо ? в порядке появления.
sqlstringyesОдин SQL-запрос. Несколько инструкций через ; не выполняются.

No output schema declared.

No examples provided.

list_tables ~94

Перечисляет таблицы и представления подключённой базы: движок, кодировку, комментарий, размер данных и индексов в байтах и оценку числа строк. Оценка берётся из статистики InnoDB и может заметно расходиться с реальностью — точное число даёт COUNT(*) через query. С этого инструмента стоит начинать знакомство с незнакомой базой.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

query ~184

Выполняет один читающий запрос (SELECT, SHOW, DESCRIBE, WITH ... SELECT) и возвращает строки. Изменяющие запросы отклоняются даже при включённых правах на запись — для них есть execute. Запрос идёт внутри read-only транзакции, число строк ограничено MYSQL_MAX_ROWS: если ответ обрезан, поле truncated равно true и это префикс, а не весь результат. Значения подставляйте через ? и params — драйвер экранирует их сам.

NameTypeReqDescription
limitinteger–Максимум строк в ответе. Потолок задан MYSQL_MAX_ROWS и не повышается этим полем.
paramsarray–Значения для подстановки вместо ? в порядке появления.
sqlstringyesОдин SQL-запрос. Несколько инструкций через ; не выполняются.

No output schema declared.

No examples provided.

server_info ~102

Показывает, к какой базе и под каким пользователем подключён сервер, версию MySQL, размер базы, выданные пользователю права (GRANT) и действующие ограничения самого MCP-сервера: разрешённые операции записи, потолок строк в ответе и таймаут запроса. Стоит вызвать первым, если непонятно, почему запрос отклонён: права MySQL и разрешения сервера — это два независимых ограничения.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

Install

How do I install the MySQL MCP server?

MySQL MCP runs locally as an npm package, launched with npx -y mcp-mysql-client. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

npm · mcp-mysql-client

# add to Claude Code
claude mcp add gistrec-mcp-mysql-client -- npx -y mcp-mysql-client
Common questions

What is the MySQL MCP server?

MySQL MCP is listed in the public MCP registry as io.github.gistrec/mcp-mysql-client. MCP server for one MySQL database: schema, read-only queries and guarded writes. This page covers its npm package (mcp-mysql-client).

Is the MySQL MCP server safe to use?

MySQL MCP scores 78 out of 100 on VerifyMCP. We recorded 1 known advisory against it as of 5 November 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the MySQL MCP server expose?

MySQL MCP exposes 6 tools: server_info, list_tables, describe_table, query, explain, execute. Their descriptions and schemas cost roughly 936 tokens of context every time the server is loaded.

Is the MySQL MCP server still maintained?

MySQL MCP is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the MySQL MCP server under?

MySQL MCP declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.