io.github.hughhan1/mysql

Official registry Data and databases

MySQL statements and transactions over MCP

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

OCI package ghcr.io/hughhan1/mysql@sha256:858da81df0d25bba99f485ae663208f2255b2278be711924f9b08032398e7093
Claude Code
claude mcp add mysql -e 'DATABASE_URL=<your database_url>' -e 'CLOUD_SQL_INSTANCE=<CLOUD_SQL_INSTANCE>' -- docker run -i --rm ghcr.io/hughhan1/mysql@sha256:858da81df0d25bba99f485ae663208f2255b2278be711924f9b08032398e7093
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "mysql": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/hughhan1/mysql@sha256:858da81df0d25bba99f485ae663208f2255b2278be711924f9b08032398e7093"
            ],
            "env": {
                "DATABASE_URL": "<your database_url>",
                "CLOUD_SQL_INSTANCE": "<CLOUD_SQL_INSTANCE>"
            }
        }
    }
}

Environment variables

  • DATABASE_URL required secret SQLAlchemy mysql+pymysql URL for one existing MySQL 8.4 database.
  • CLOUD_SQL_INSTANCE Optional Cloud SQL project:region:instance; connects through its private IP.

Frequently asked questions

What is io.github.hughhan1/mysql?

MySQL statements and transactions over MCP

How do I install io.github.hughhan1/mysql?

It runs on your machine. In Claude Code: claude mcp add mysql -e 'DATABASE_URL=<your database_url>' -e 'CLOUD_SQL_INSTANCE=<CLOUD_SQL_INSTANCE>' -- docker run -i --rm ghcr.io/hughhan1/mysql@sha256:858da81df0d25bba99f485ae663208f2255b2278be711924f9b08032398e7093. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.hughhan1/mysql need an API key?

Yes. It expects DATABASE_URL, which you set in its configuration.

Is io.github.hughhan1/mysql open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains io.github.hughhan1/mysql?

It is published by hughhan1. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.