sql-mcp
Provides SQL query formatting for MariaDB dialect, with configurable tab width and uppercase keywords.
Provides SQL query formatting for MySQL dialect, with configurable tab width and uppercase keywords.
Provides SQL query formatting for PostgreSQL dialect, with configurable tab width and uppercase keywords.
Provides SQL query formatting for Snowflake dialect, with configurable tab width and uppercase keywords.
Provides SQL query formatting for SQLite dialect, with configurable tab width and uppercase keywords.
Provides SQL query formatting for Trino dialect, with configurable tab width and uppercase keywords.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@sql-mcpformat this SQL: select id, name from users"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
sql-mcp
MCP server: format SQL queries. Backed by sql-formatter, supports 14
dialects.
Tool
format
{ "sql": "select id, name from users where age > 21 order by id", "dialect": "postgresql" }→
SELECT
id,
name
FROM
users
WHERE
age > 21
ORDER BY
idField | Default | Notes |
|
|
|
| 2 | 0-8 |
| true | Uppercase keywords (SELECT, FROM, …) |
Configure
{ "mcpServers": { "sql": { "command": "npx", "args": ["-y", "@mukundakatta/sql-mcp"] } } }License
MIT.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MukundaKatta/sql-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server