Skip to content
Cursor

sqlfmt mcp for Cursor

io.github.mukundakatta/sqlfmt-mcp

Deterministic SQL formatting across 19 dialects (postgres, mysql, snowflake, bigquery, etc.).

client:Cursor transport:stdio runtime:npm

Install sqlfmt mcp in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "sqlfmt-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mukundakatta/sqlfmt-mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

sqlfmt mcp in other clients