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, …) |
Related MCP server: GoSQLX
Configure
{ "mcpServers": { "sql": { "command": "npx", "args": ["-y", "@mukundakatta/sql-mcp"] } } }License
MIT.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Alicense-quality-maintenanceAnalyzes SQL queries for performance issues, provides optimization suggestions with automated rewriting, and recommends indexes across multiple database dialects (PostgreSQL, MySQL, Oracle, SQL Server).1
- AlicenseAqualityCmaintenance7 SQL tools (validate, format, parse, lint, security scan, metadata extraction, full analysis) over Streamable HTTP. Supports 6 SQL dialects with 1.25M+ ops/sec.7110Apache 2.0
- AlicenseAqualityDmaintenanceProvides SQL analysis, linting, and dialect conversion using SQLGlot, enabling validation, transpilation, and extraction of table/column references.432MIT
- Alicense-qualityAmaintenanceDeterministic SQL static analysis and query-equivalence checking for Postgres, MySQL, SQLite, and SQL Server. Tokenizes locally before forwarding to the API.1Apache 2.0
Related MCP Connectors
Run SOQL queries against your Salesforce org to explore and retrieve data. Quickly iterate on filt…
Explore, query, and inspect SQLite databases with ease. List tables, preview results, and view det…
Connect to PlanetScale databases, branches, schema, query insights, and execute SQL
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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