Loading MCP server directory, please wait...
MCP server for one MySQL database: schema, read-only queries and guarded writes.
npx @getmcp/cli add io.github.gistrec/mcp-mysql-clientRequires Node.js 18+. Community-contributed server. Review source before installing.
MYSQL_USERMySQL user. Use one with the least privileges the task needs, never root.
MYSQL_DBThe one database this server is bound to. No tool can leave it.
Config file: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"io.github.gistrec/mcp-mysql-client": {
"command": "npx",
"args": [
"-y",
"mcp-mysql-client"
],
"env": {
"MYSQL_HOST": "127.0.0.1",
"MYSQL_PORT": "3306",
"MYSQL_USER": "",
"MYSQL_PASS": "",
"MYSQL_DB": "",
"MYSQL_SSL": "false",
"MYSQL_SSL_CA": "",
"ALLOW_INSERT_OPERATION": "false",
"ALLOW_UPDATE_OPERATION": "false",
"ALLOW_DELETE_OPERATION": "false",
"MYSQL_MAX_ROWS": "1000",
"MYSQL_TIMEOUT_MS": "30000"
}
}
}
}