Skip to content
VS Code

sql formatter mcp for VS Code

io.github.mrfentmen/sql-formatter-mcp

Format SQL queries into readable layouts locally. No network and no key.

client:VS Code transport:stdio runtime:npm

Install sql formatter mcp in VS Code

.vscode/mcp.json

{
  "servers": {
    "sql-formatter-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "sql-formatter-mcp"
      ]
    }
  }
}

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

sql formatter mcp in other clients