Skip to main content
Glama

sql-mcp

npm mcp license

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
  id

Field

Default

Notes

dialect

sql

postgresql, mysql, mariadb, sqlite, bigquery, redshift, snowflake, transactsql, db2, plsql, trino, hive, spark

tab_width

2

0-8

uppercase

true

Uppercase keywords (SELECT, FROM, …)

Related MCP server: Boyce

Configure

{ "mcpServers": { "sql": { "command": "npx", "args": ["-y", "@mukundakatta/sql-mcp"] } } }

License

MIT.

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

Related MCP Connectors

  • Run SOQL queries against your Salesforce org to explore and retrieve data. Quickly iterate on filt…

  • Connect to PlanetScale databases, branches, schema, query insights, and execute SQL

  • Run SOQL queries to explore and retrieve Salesforce data. Inspect records, fields, and relationshi…

View all MCP Connectors

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