Skip to content
VS Code

sqlfmt mcp for VS Code

io.github.mukundakatta/sqlfmt-mcp

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

client:VS Code transport:stdio runtime:npm

Install sqlfmt mcp in VS Code

.vscode/mcp.json

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

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

sqlfmt mcp in other clients