Skip to content
Verified official

MySQL MCP MCP

v1.0.0

io.github.gistrec/mcp-mysql-client

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

transport:stdio runtime:npm

Target client

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add mcp-mysql-client -e MYSQL_HOST=<MYSQL_HOST> -e MYSQL_PORT=<MYSQL_PORT> -e MYSQL_USER=<MYSQL_USER> -e MYSQL_PASS=<MYSQL_PASS> -e MYSQL_DB=<MYSQL_DB> -e MYSQL_SSL=<MYSQL_SSL> -e MYSQL_SSL_CA=<MYSQL_SSL_CA> -e ALLOW_INSERT_OPERATION=<ALLOW_INSERT_OPERATION> -e ALLOW_UPDATE_OPERATION=<ALLOW_UPDATE_OPERATION> -e ALLOW_DELETE_OPERATION=<ALLOW_DELETE_OPERATION> -e MYSQL_MAX_ROWS=<MYSQL_MAX_ROWS> -e MYSQL_TIMEOUT_MS=<MYSQL_TIMEOUT_MS> -- npx -y mcp-mysql-client

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

This listing does not declare its tools. Connect the server and your client will discover them on the handshake.