MySQL MCP
io.github.gistrec/mcp-mysql-client
MCP server for one MySQL database: schema, read-only queries and guarded writes.
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/gistrec/mcp-mysql-client
- Website
- github.com/gistrec/mcp-mysql-client#readme
- Version
- 1.1.1
- Author
- gistrec (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 4, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Variables to fill in: MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASS, MYSQL_DB, MYSQL_SSL, MYSQL_SSL_CA, ALLOW_INSERT_OPERATION, ALLOW_UPDATE_OPERATION, ALLOW_DELETE_OPERATION, MYSQL_MAX_ROWS, MYSQL_TIMEOUT_MS.
On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add mcp-mysql-client -e MYSQL_HOST=YOUR_MYSQL_HOST -e MYSQL_PORT=YOUR_MYSQL_PORT -e MYSQL_USER=YOUR_MYSQL_USER -e MYSQL_PASS=YOUR_MYSQL_PASS -e MYSQL_DB=YOUR_MYSQL_DB -e MYSQL_SSL=YOUR_MYSQL_SSL -e MYSQL_SSL_CA=YOUR_MYSQL_SSL_CA -e ALLOW_INSERT_OPERATION=YOUR_ALLOW_INSERT_OPERATION -e ALLOW_UPDATE_OPERATION=YOUR_ALLOW_UPDATE_OPERATION -e ALLOW_DELETE_OPERATION=YOUR_ALLOW_DELETE_OPERATION -e MYSQL_MAX_ROWS=YOUR_MYSQL_MAX_ROWS -e MYSQL_TIMEOUT_MS=YOUR_MYSQL_TIMEOUT_MS -- npx -y [email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"mcp-mysql-client": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MYSQL_HOST": "YOUR_MYSQL_HOST",
"MYSQL_PORT": "YOUR_MYSQL_PORT",
"MYSQL_USER": "YOUR_MYSQL_USER",
"MYSQL_PASS": "YOUR_MYSQL_PASS",
"MYSQL_DB": "YOUR_MYSQL_DB",
"MYSQL_SSL": "YOUR_MYSQL_SSL",
"MYSQL_SSL_CA": "YOUR_MYSQL_SSL_CA",
"ALLOW_INSERT_OPERATION": "YOUR_ALLOW_INSERT_OPERATION",
"ALLOW_UPDATE_OPERATION": "YOUR_ALLOW_UPDATE_OPERATION",
"ALLOW_DELETE_OPERATION": "YOUR_ALLOW_DELETE_OPERATION",
"MYSQL_MAX_ROWS": "YOUR_MYSQL_MAX_ROWS",
"MYSQL_TIMEOUT_MS": "YOUR_MYSQL_TIMEOUT_MS"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"mcp-mysql-client": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MYSQL_HOST": "YOUR_MYSQL_HOST",
"MYSQL_PORT": "YOUR_MYSQL_PORT",
"MYSQL_USER": "YOUR_MYSQL_USER",
"MYSQL_PASS": "YOUR_MYSQL_PASS",
"MYSQL_DB": "YOUR_MYSQL_DB",
"MYSQL_SSL": "YOUR_MYSQL_SSL",
"MYSQL_SSL_CA": "YOUR_MYSQL_SSL_CA",
"ALLOW_INSERT_OPERATION": "YOUR_ALLOW_INSERT_OPERATION",
"ALLOW_UPDATE_OPERATION": "YOUR_ALLOW_UPDATE_OPERATION",
"ALLOW_DELETE_OPERATION": "YOUR_ALLOW_DELETE_OPERATION",
"MYSQL_MAX_ROWS": "YOUR_MYSQL_MAX_ROWS",
"MYSQL_TIMEOUT_MS": "YOUR_MYSQL_TIMEOUT_MS"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"mcp-mysql-client": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MYSQL_HOST": "YOUR_MYSQL_HOST",
"MYSQL_PORT": "YOUR_MYSQL_PORT",
"MYSQL_USER": "YOUR_MYSQL_USER",
"MYSQL_PASS": "YOUR_MYSQL_PASS",
"MYSQL_DB": "YOUR_MYSQL_DB",
"MYSQL_SSL": "YOUR_MYSQL_SSL",
"MYSQL_SSL_CA": "YOUR_MYSQL_SSL_CA",
"ALLOW_INSERT_OPERATION": "YOUR_ALLOW_INSERT_OPERATION",
"ALLOW_UPDATE_OPERATION": "YOUR_ALLOW_UPDATE_OPERATION",
"ALLOW_DELETE_OPERATION": "YOUR_ALLOW_DELETE_OPERATION",
"MYSQL_MAX_ROWS": "YOUR_MYSQL_MAX_ROWS",
"MYSQL_TIMEOUT_MS": "YOUR_MYSQL_TIMEOUT_MS"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
[MySQL MCP — L’Agora](https://lagora.dev/en/entry/io.github.gistrec/mcp-mysql-client)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.gistrec/mcp-mysql-client)HTML
<a href="https://lagora.dev/en/entry/io.github.gistrec/mcp-mysql-client"><img src="https://lagora.dev/badge/io.github.gistrec/mcp-mysql-client.svg?lang=en" alt="io.github.gistrec/mcp-mysql-client on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
A1 Yandex KIT MCP Local
Yandex Direct Local