MySQL (read-only, switchable) MCP
v1.1.5io.github.shibbirweb/mcp-mysql-read-only
Read-only MySQL access, with the database and server switchable mid-conversation.
transport:stdio
runtime:npm
Target client
run in your project directory
claude mcp add mcp-mysql-read-only -e MYSQL_HOST=<MYSQL_HOST> -e MYSQL_PORT=<MYSQL_PORT> -e MYSQL_USER=<MYSQL_USER> -e MYSQL_PASSWORD=<MYSQL_PASSWORD> -e MYSQL_DATABASE=<MYSQL_DATABASE> -e MYSQL_PROFILES=<MYSQL_PROFILES> -e MYSQL_DEFAULT_PROFILE=<MYSQL_DEFAULT_PROFILE> -e MYSQL_CONNECT_TIMEOUT_MS=<MYSQL_CONNECT_TIMEOUT_MS> -e MYSQL_QUERY_TIMEOUT_MS=<MYSQL_QUERY_TIMEOUT_MS> -- npx -y @shibbirweb/mcp-mysql-read-only
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.