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
| Variable | Required | Secret | Description |
|---|---|---|---|
MYSQL_HOST | No | No | Database host. |
MYSQL_PORT | No | No | Database port. |
MYSQL_USER | Yes | No | MySQL user. Use one with the least privileges the task needs, never root. |
MYSQL_PASS | No | Yes | Password for that user. Treat it as a secret; MYSQL_PASS_FILE reads it from a file instead. |
MYSQL_DB | Yes | No | The one database this server is bound to. No tool can leave it. |
MYSQL_SSL | No | No | Require a TLS connection to the server. |
MYSQL_SSL_CA | No | No | Path to the CA bundle verifying the server certificate; implies MYSQL_SSL. |
ALLOW_INSERT_OPERATION | No | No | Allow INSERT statements through the execute tool. |
ALLOW_UPDATE_OPERATION | No | No | Allow UPDATE statements through the execute tool. |
ALLOW_DELETE_OPERATION | No | No | Allow DELETE statements through the execute tool. |
MYSQL_MAX_ROWS | No | No | Row cap for one read; the result is marked truncated when it is hit. |
MYSQL_TIMEOUT_MS | No | No | Statement timeout in milliseconds; the connection is dropped on expiry. |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/gistrec/mcp-mysql-client |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 1 secret: MYSQL_PASS |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account gistrec |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | mcp-mysql-client@1.0.1 runs nothing at install |
| Code red flags | Pass | Read 14 files in mcp-mysql-client@1.0.1: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No 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.
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 name | io.github.gistrec/mcp-mysql-client |
|---|---|
| Publisher | GitHub account gistrec |
| How the name is verified | Name verified via GitHub account gistrec. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm mcp-mysql-client 1.0.1 (stdio) |
| Version | 1.0.1 |
| Published | |
| Last updated | |
| Source repository | https://github.com/gistrec/mcp-mysql-client |
| Website | https://github.com/gistrec/mcp-mysql-client#readme |
| Category | Databases & data (assigned by keyword rule, not by hand) |
Related servers in Databases & data
- MCP Local WP7/7WordPress database access via Local by Flywheel. Execute read-only…
- custom-mcp-database7/7Run alias-based queries against PostgreSQL, MySQL, MongoDB and…
- read-only-local-mysql-mcp-server7/7MCP server for read-only MySQL database queries in Claude Desktop
- AdoMcp4/4Database MCP server for schema discovery, comments, and SQL queries.
- Tabellum7/7MCP bridge to the Tabellum database client: schema, reads, SQL…
- text2sql7/7Ask any SQL database in natural language. Agent explores schema,…