GoSQLX
io.github.ajitpratap0/gosqlx
Serveur MCP OK 7 outils
SQL validation, formatting, parsing, metadata extraction, linting, and security analysis.
Fiche technique
- Auteur
- ajitpratap0 (espace de noms du registre)
- Dépôt
- github.com/ajitpratap0/GoSQLX
- Site
- gosqlx.dev
- Version
- 1.18.0
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://mcp.gosqlx.dev/mcp Streamable HTTP
- Outils
- 7
- Catégories
- Bases de données, Sécurité
- Dernière mise à jour
- 28 nov. 2026
- Publication
- 28 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.ajitpratap0/gosqlx)<a href="https://latlas.dev/mcp/io.github.ajitpratap0/gosqlx"><img src="https://latlas.dev/badge/fiche/io.github.ajitpratap0/gosqlx.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://mcp.gosqlx.dev/mcp
- Dernier résultat
- OK 28 nov. 2026, 08:38
- Temps de réponse
- 899 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- gosqlx-mcp 1.17.0
- Outils
- 7
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 08:38 | OK | 899 ms | 7 |
Outils exposés (7, réponse à tools/list, 28 nov. 2026)
analyze_sql
Use this when the user wants a complete review of a SQL query. Runs validate, parse, metadata, security, lint, and format concurrently and returns one composite report; hosts that support MCP Apps render it as an interactive report.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sql | string | oui | The SQL string to analyze |
extract_metadata
Use this when the user wants the tables, columns, and functions a SQL query references (e.g. for lineage or impact analysis). Returns {tables, columns, functions}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sql | string | oui | The SQL string to analyze |
format_sql
Use this when the user wants SQL pretty-printed or reformatted: one clause per line, optional upper-case keywords and trailing semicolon. Comments are preserved; unplaceable optimizer hints are refused. Returns {formatted_sql, options}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| add_semicolon | boolean | non | Append a trailing semicolon (default: false) |
| indent_size | number | non | Spaces per indent level for nested blocks such as CREATE TABLE columns; clauses always start at column 0. 0 puts each statement on one line (default: 2) |
| sql | string | oui | The SQL string to format |
| uppercase_keywords | boolean | non | true upper-cases all SQL keywords (AND, IN, CASE, ...), but not data type names. false keeps the formatter's casing: clause keywords (SELECT, FROM, WHERE, ...) upper-case, other keywords (e.g. like) may keep their input case (default: false) |
lint_sql
Use this when the user wants SQL style feedback. Applies the same 10 rules as `gosqlx lint`: L001 trailing whitespace, L002 mixed indentation, L003 consecutive blank lines, L004 indentation depth, L005 line length (>100), L006 column alignment, L007 keyword case (upper), L008 comma placement (trailing), L009 aliasing consistency, L010 redundant whitespace. Returns {violation_count, violations}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sql | string | oui | The SQL string to lint |
parse_sql
Use this when the user wants to know how SQL parses: returns an AST summary with the statement count and the type of each statement, optionally for a specific dialect. GO batch separators are excluded from the count.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| dialect | enum: "generic" | "postgresql" | "mysql" | "mariadb" | "sqlserver" | "oracle" | "sqlite" | "snowflake" … | non | SQL dialect: generic, postgresql, mysql, mariadb, sqlserver, oracle, sqlite, snowflake, bigquery, redshift, clickhouse |
| sql | string | oui | The SQL string to parse |
security_scan
Use this when the user wants SQL checked for injection patterns: tautologies, UNION attacks, stacked queries, comment bypasses, and more. Returns findings with severity counts.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sql | string | oui | The SQL string to scan |
validate_sql
Use this when the user wants to know whether a SQL statement is syntactically valid, optionally for a specific dialect. Returns {valid: bool, error?: string, dialect?: string}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| dialect | enum: "generic" | "postgresql" | "mysql" | "mariadb" | "sqlserver" | "oracle" | "sqlite" | "snowflake" … | non | SQL dialect: generic, postgresql, mysql, mariadb, sqlserver, oracle, sqlite, snowflake, bigquery, redshift, clickhouse |
| sql | string | oui | The SQL string to validate |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://mcp.gosqlx.dev/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http gosqlx https://mcp.gosqlx.dev/mcpCustomize > Connectors > + Add > Add custom connector ; Name : gosqlx ; URL : https://mcp.gosqlx.dev/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : gosqlx ; Server URL : https://mcp.gosqlx.dev/mcp ; Create as a plugin{
"mcpServers": {
"gosqlx": {
"url": "https://mcp.gosqlx.dev/mcp"
}
}
}{
"mcpServers": {
"gosqlx": {
"type": "http",
"url": "https://mcp.gosqlx.dev/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"gosqlx": {
"url": "https://mcp.gosqlx.dev/mcp"
}
}
}{
"mcpServers": {
"gosqlx": {
"httpUrl": "https://mcp.gosqlx.dev/mcp"
}
}
}[mcp_servers.gosqlx]
url = "https://mcp.gosqlx.dev/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
GoSQLX · L’Atlas · Test du
[GoSQLX — L’Atlas](https://latlas.dev/mcp/io.github.ajitpratap0/gosqlx)Source : Registre officiel MCP · relevé le 30 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.