sql formatter mcp for Cursor
io.github.mrfentmen/sql-formatter-mcp
Format SQL queries into readable layouts locally. No network and no key.
client:Cursor
transport:stdio
runtime:npm
Install sql formatter mcp in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"sql-formatter-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"sql-formatter-mcp"
]
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs