MySQL Ops MCP
About
MySQL MCP server: browse schema, query, CRUD. Delete/drop gated by user approval.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
DB_HOST DB_PORT DB_USER DB_PASSWORD DB_DATABASEClaude Code
claude mcp add --env DB_HOST= --env DB_PORT= --env DB_USER= --env DB_PASSWORD= --env DB_DATABASE= mysql-ops-mcp -- npx mysql-ops-mcp
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"mysql-ops-mcp","command":"npx","args":["mysql-ops-mcp"],"env":{"DB_HOST":"","DB_PORT":"","DB_USER":"","DB_PASSWORD":"","DB_DATABASE":""}}'
JSON
{
"mcpServers": {
"mysql-ops-mcp": {
"command": "npx",
"args": [
"mysql-ops-mcp"
],
"env": {
"DB_HOST": "",
"DB_PORT": "",
"DB_USER": "",
"DB_PASSWORD": "",
"DB_DATABASE": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.