Skip to content
Windsurf

MySQL (security-first) for Windsurf

io.github.kurok1/mcp-server-mysql

Security-first MySQL MCP server with AST validation, table whitelist, schema resources, and audit.

client:Windsurf transport:stdio runtime:oci

Install MySQL (security-first) in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

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

{
  "mcpServers": {
    "mcp-server-mysql": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/kurok1/mcp-server-mysql:2.1.0"
      ],
      "env": {
        "MYSQL_MCP_PASSWORD": "<MYSQL_MCP_PASSWORD>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

MySQL (security-first) in other clients