mysql for Claude Code
io.github.hughhan1/mysql
MySQL statements and transactions over MCP
client:Claude Code
transport:stdio
runtime:oci
Install mysql in Claude Code
run in your project directory
claude mcp add mysql -e DATABASE_URL=<DATABASE_URL> -e CLOUD_SQL_INSTANCE=<CLOUD_SQL_INSTANCE> -- docker run -i --rm ghcr.io/hughhan1/mysql@sha256:858da81df0d25bba99f485ae663208f2255b2278be711924f9b08032398e7093
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs