Skip to content
Claude Code

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

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

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

mysql in other clients