mysql
io.github.hughhan1/mysql ยท version 0.4.1
Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.
MySQL statements and transactions over MCP
https://github.com/hughhan1/mysqlQuick facts
- Listing: Community
- Published Oct 19, 20:34 UTC
- Transport: streamable-http
- Package: oci
ghcr.io/hughhan1/mysql@sha256:858da81df0d25bba99f485ae663208f2255b2278be711924f9b08032398e7093 - Listed by cosmic-mcp: Nov 9, 04:26 UTC
Details
- Repository: https://github.com/hughhan1/mysql
- Needs settings:
DATABASE_URLCLOUD_SQL_INSTANCE
Setup snippets
Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.
Run it locally (oci)
docker run -i --rm -e 'CLOUD_SQL_INSTANCE' -e 'DATABASE_URL' 'ghcr.io/hughhan1/mysql@sha256:858da81df0d25bba99f485ae663208f2255b2278be711924f9b08032398e7093'Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"mysql": {
"args": [
"run",
"-i",
"--rm",
"-e",
"CLOUD_SQL_INSTANCE",
"-e",
"DATABASE_URL",
"ghcr.io/hughhan1/mysql@sha256:858da81df0d25bba99f485ae663208f2255b2278be711924f9b08032398e7093"
],
"command": "docker",
"env": {
"CLOUD_SQL_INSTANCE": "<your cloud sql instance>",
"DATABASE_URL": "<your database url>"
}
}
}
}Claude Code
claude mcp add 'mysql' -- docker run -i --rm -e 'CLOUD_SQL_INSTANCE' -e 'DATABASE_URL' 'ghcr.io/hughhan1/mysql@sha256:858da81df0d25bba99f485ae663208f2255b2278be711924f9b08032398e7093'Cursor (.cursor/mcp.json)
{
"mcpServers": {
"mysql": {
"args": [
"run",
"-i",
"--rm",
"-e",
"CLOUD_SQL_INSTANCE",
"-e",
"DATABASE_URL",
"ghcr.io/hughhan1/mysql@sha256:858da81df0d25bba99f485ae663208f2255b2278be711924f9b08032398e7093"
],
"command": "docker",
"env": {
"CLOUD_SQL_INSTANCE": "<your cloud sql instance>",
"DATABASE_URL": "<your database url>"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"mysql": {
"args": [
"run",
"-i",
"--rm",
"-e",
"CLOUD_SQL_INSTANCE",
"-e",
"DATABASE_URL",
"ghcr.io/hughhan1/mysql@sha256:858da81df0d25bba99f485ae663208f2255b2278be711924f9b08032398e7093"
],
"command": "docker",
"env": {
"CLOUD_SQL_INSTANCE": "<your cloud sql instance>",
"DATABASE_URL": "<your database url>"
},
"type": "stdio"
}
}
}Related servers
- spotdb Verified domain
Ephemeral data sandbox for AI workflows with guardrails and security - Reasonbook Verified domain
Reasonbook: decisions that survive the session, in a local record AI agents keep. - AI for Database Verified domain
Ask your databases questions in plain English, run read-only SQL and set up data alerts. - AI2SQL Verified domain
Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema - AICasePredict Verified domain
Search a large legal database of 325M+ US court records: cases, attorneys, judges and courts. - APC Security Reference Server
Reference MCP server for synthetic APC action-security evaluation and local SQLite sandbox testin...