mcpField
M
mysql

mysql

Local
github.com/hughhan1Databases0Updated 1w ago

About mysql

MySQL statements and transactions over MCP

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"hughhan1-mysql": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DATABASE_URL",
"-e",
"CLOUD_SQL_INSTANCE",
"ghcr.io/hughhan1/mysql@sha256:858da81df0d25bba99f485ae663208f2255b2278be711924f9b08032398e7093"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>",
"CLOUD_SQL_INSTANCE": "<CLOUD_SQL_INSTANCE>"
}
}
}
}
Run commanddocker run -i --rm -e DATABASE_URL -e CLOUD_SQL_INSTANCE ghcr.io/hughhan1/mysql@sha256:858da81df0d25bba99f485ae663208f2255b2278be711924f9b08032398e7093
Environment variables to set
DATABASE_URLSecretSQLAlchemy mysql+pymysql URL for one existing MySQL 8.4 database.
CLOUD_SQL_INSTANCEOptional Cloud SQL project:region:instance; connects through its private IP.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
ocighcr.io/hughhan1/mysql@sha256:858da81df0d25bba99f485ae663208f2255b2278be711924f9b08032398e7093

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

The maintainer has not added details yet. Check the README in the repository.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.