Search / io.github.ajitpratap0/gosqlx
GoSQLX
R0· no sign-inSQL validation, formatting, parsing, metadata extraction, linting, and security analysis.
v1.18.0 · active · repository · website · descriptor JSON · versions
Search / io.github.ajitpratap0/gosqlx
R0· no sign-inSQL validation, formatting, parsing, metadata extraction, linting, and security analysis.
v1.18.0 · active · repository · website · descriptor JSON · versions
{
"mcpServers": {
"gosqlx": {
"type": "http",
"url": "https://mcp.gosqlx.dev/mcp"
}
}
}claude mcp add --transport http gosqlx https://mcp.gosqlx.dev/mcp[mcp_servers.gosqlx]
url = "https://mcp.gosqlx.dev/mcp"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"gosqlx": {
"type": "remote",
"url": "https://mcp.gosqlx.dev/mcp",
"enabled": true
}
}
}{
"mcpServers": {
"gosqlx": {
"type": "http",
"url": "https://mcp.gosqlx.dev/mcp"
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=gosqlx&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vbWNwLmdvc3FseC5kZXYvbWNwIn0%3D"
}{
"servers": {
"gosqlx": {
"type": "http",
"url": "https://mcp.gosqlx.dev/mcp"
}
},
"deeplink": "vscode:mcp/install?%7B%22name%22%3A%22gosqlx%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.gosqlx.dev%2Fmcp%22%7D"
}{
"mcpServers": {
"gosqlx": {
"httpUrl": "https://mcp.gosqlx.dev/mcp"
}
}
}extensions:
"gosqlx":
enabled: true
name: "gosqlx"
type: streamable_http
uri: "https://mcp.gosqlx.dev/mcp"
timeout: 300
protocol.modernprotocol.statelessprotocol.transportprotocol.list_ttlauth.prm, auth.as_metadata, auth.cimdauth.secret_in_urltools.descriptionstools.description_lengthtools.schemastools.annotationstools.directory_hintstools.token_costtools.api_dumptools.hidden_texttools.poisoningstability.changesstability.rug_pullstability.new_linksdeps.known_vulns, deps.mcp_sdk_version, deps.resolvableparse_sqlchangeddescription, input schemaUse this when the user wants to know how SQL parses: returns an AST summary with the statement count and the type of each statement.
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.
format_sqlchangeddescriptionUse this when the user wants SQL pretty-printed or reformatted: one clause per line, optional upper-case keywords and trailing semicolon. Comments are not kept. Returns {formatted_sql, options}.
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}.
format_sqlchangedinput schemaFull history: list_changes · trend: quality JSON.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo +website +reachable +uptime-100% +updated-1d-ago
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
| remote | auth | reachable | uptime 30d | p50 | p95 | protocol | last ok |
|---|---|---|---|---|---|---|---|
https://mcp.gosqlx.dev/mcp streamable-http | none | yes | 100% | 477 ms | 1044 ms | 2025-11-25 | 2026-11-29 |
analyze_sqlread-only | 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. |
extract_metadataread-only | 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}. |
format_sqlread-only | 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}. |
lint_sqlread-only | 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}. |
parse_sqlread-only | 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. |
security_scanread-only | 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. |
validate_sqlread-only | 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}. |
Schemas: list_tools.
ui://gosqlx/analysis-v1.htmltext/html;profile=mcp-app | Interactive GoSQLX analysis report: validity, statement types, referenced tables/columns/functions, security findings by severity, lint violations, and the formatted SQL with a copy button. |
Definitions only, never their content. Full lists: prompts, resources.
{
"name": "io.github.ajitpratap0/gosqlx",
"title": "GoSQLX",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"remotes": [
{
"url": "https://mcp.gosqlx.dev/mcp",
"type": "streamable-http"
}
],
"version": "1.18.0",
"repository": {
"url": "https://github.com/ajitpratap0/GoSQLX",
"source": "github"
},
"websiteUrl": "https://gosqlx.dev",
"description": "SQL validation, formatting, parsing, metadata extraction, linting, and security analysis."
}