Skip to content
Windsurf

MySQL MCP Server for Windsurf

io.github.ranjian/mcp-mysql

Read-only MySQL MCP server with multi-connection profiles and safe SELECT queries.

client:Windsurf transport:stdio runtime:pypi

Install MySQL MCP Server 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-mysql": {
      "command": "uvx",
      "args": [
        "jj-mcp-mysql"
      ],
      "env": {
        "MCP_DB_PROFILES_FILE": "<MCP_DB_PROFILES_FILE>"
      }
    }
  }
}

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

MySQL MCP Server in other clients