Sql Formatter MCP tool
findutils:sql_formatter Format (beautify) or minify a SQL query and return the result with lint warnings. Format mode puts each clause (SELECT, FROM, WHERE, JOIN, ...) on its own line, uppercases keywords, and indents by the chosen width; dialect adds MySQL, PostgreSQL, or SQLite keywords. Warnings flag unmatched parentheses, unclosed strings, empty clauses, and a missing final semicolon.
Arguments
application/json-
sql
string required
The SQL text to format or minify.
-
mode
string optional
format = beautify, minify = one line without comments. Default: format. One of
format · minify. Default"format". -
indent
integer optional
Spaces per indentation level in format mode (1-8). Default: 2. Default
2. -
dialect
string optional
SQL dialect for keyword recognition. Default: standard. One of
standard · mysql · postgresql · sqlite. Default"standard".
Example arguments
Verified{
"sql": "select id, name from users where id = 1;"
} More Developer tools
- A2ui Basic Catalog Returns the authoritative basic-catalog JSON Schema (components, functions, theme) for the requested A2UI version.
- A2ui Diff Computes a structural diff between two A2UI JSONL payloads: surfaces added/removed, components added/removed/changed (by id), data-model…
- A2ui Examples Returns one or more canonical A2UI JSONL examples matching a pattern (form, list, wizard, modal, chat, dashboard, checkout, typeahead…
- A2ui Prompt Generates a drop-in LLM system prompt that teaches the model to output valid A2UI JSONL: includes the basic-catalog component / function…
- A2ui Spec Returns A2UI protocol documentation for a given spec version and section.
- A2ui Validate Validates a JSONL A2UI payload against the basic catalog (or a custom catalog) and returns any errors, warnings, or info messages…