MySQL MCP

io.github.gistrec/mcp-mysql-client

About MySQL MCP

MySQL MCP is an MCP server published by the GitHub account gistrec. MCP server for one MySQL database: schema, read-only queries and guarded writes.

It runs on your own machine: your AI client starts it from the npm package mcp-mysql-client at version 1.0.1.

It asks for one secret: MYSQL_PASS. Give it a key with the least access that still works.

It also needs MYSQL_USER and MYSQL_DB set before it starts.

Version 1.0.1 was published on 22 October 2026, and the source code is public, so you can read it before installing.

Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.

What it asks for

VariableRequiredSecretDescription
MYSQL_HOSTNoNoDatabase host.
MYSQL_PORTNoNoDatabase port.
MYSQL_USERYesNoMySQL user. Use one with the least privileges the task needs, never root.
MYSQL_PASSNoYesPassword for that user. Treat it as a secret; MYSQL_PASS_FILE reads it from a file instead.
MYSQL_DBYesNoThe one database this server is bound to. No tool can leave it.
MYSQL_SSLNoNoRequire a TLS connection to the server.
MYSQL_SSL_CANoNoPath to the CA bundle verifying the server certificate; implies MYSQL_SSL.
ALLOW_INSERT_OPERATIONNoNoAllow INSERT statements through the execute tool.
ALLOW_UPDATE_OPERATIONNoNoAllow UPDATE statements through the execute tool.
ALLOW_DELETE_OPERATIONNoNoAllow DELETE statements through the execute tool.
MYSQL_MAX_ROWSNoNoRow cap for one read; the result is marked truncated when it is hit.
MYSQL_TIMEOUT_MSNoNoStatement timeout in milliseconds; the connection is dropped on expiry.

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/gistrec/mcp-mysql-client
Version pinnedPassEvery package has an explicit version
Secrets requestedInfoAsks for 1 secret: MYSQL_PASS
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via GitHub account gistrec
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsPassmcp-mysql-client@1.0.1 runs nothing at install
Code red flagsPassRead 14 files in mcp-mysql-client@1.0.1: no obfuscation, encoded execution, credential reads or data-collection endpoints found
Text aimed at the AIPassNo hidden characters or instructions to the AI in 14 files, including comments and the README

Popularity & health: 54 / 100

Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.

Popularity7 / 40

0 GitHub stars, 89 downloads last week, no Hacker News posts found. Best two of the three, each on a log scale.

Activity19 / 25

Last push 2026-10-22, last release 2026-10-22, 4 commits in 90 days.

Issue health8 / 15

0 closed of 0 issues, too few to judge. No data, so half marks.

Our checks20 / 20

0 warnings, each costing a fifth.

0 forks, 1 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.

What people say

No Hacker News threads link to its source code.

Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.

Facts

Registry nameio.github.gistrec/mcp-mysql-client
PublisherGitHub account gistrec
How the name is verifiedName verified via GitHub account gistrec. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagesnpm mcp-mysql-client 1.0.1 (stdio)
Version1.0.1
Published
Last updated
Source repositoryhttps://github.com/gistrec/mcp-mysql-client
Websitehttps://github.com/gistrec/mcp-mysql-client#readme
CategoryDatabases & data (assigned by keyword rule, not by hand)

Related servers in Databases & data