Repository navigation
Expand file tree
/
Copy pathglama.json
More file actions
141 lines (141 loc) · 4.5 KB
/
Copy pathglama.json
File metadata and controls
141 lines (141 loc) · 4.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"$schema": "https://glama.ai/mcp/schemas/server.json",
"maintainers": [
"ajitpratap0"
],
"name": "gosqlx-mcp",
"display_name": "GoSQLX — SQL Intelligence MCP Server",
"description": "SQL parsing, formatting, linting, security scanning and metadata extraction, built on the GoSQLX Go SDK. 7 MCP tools: validate_sql, format_sql, parse_sql, extract_metadata, security_scan, lint_sql and analyze_sql. Dialect-aware validation for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite, Snowflake, BigQuery, Redshift and ClickHouse. Zero-copy tokenizer, race-free, with object pooling.",
"repository": "https://github.com/ajitpratap0/GoSQLX",
"homepage": "https://gosqlx.dev",
"version": "1.17.0",
"license": "Apache-2.0",
"author": {
"name": "Ajit Pratap Singh",
"url": "https://github.com/ajitpratap0"
},
"url": "https://mcp.gosqlx.dev/mcp",
"transport": "streamable-http",
"runtime": "go",
"categories": [
"developer-tools",
"databases",
"security",
"code-quality"
],
"keywords": [
"sql",
"sql-parser",
"sql-formatter",
"sql-linter",
"sql-security",
"sql-injection",
"ast",
"go",
"golang",
"postgresql",
"mysql",
"mariadb",
"sqlite",
"sql-server",
"oracle",
"snowflake",
"bigquery",
"redshift",
"clickhouse",
"mcp",
"code-analysis"
],
"tools": [
{
"name": "validate_sql",
"description": "Check whether SQL is syntactically valid, optionally for a specific dialect (dialect parameter: generic, postgresql, mysql, mariadb, sqlserver, oracle, sqlite, snowflake, bigquery, redshift, clickhouse). Returns {valid: bool, error?: string, dialect?: string}."
},
{
"name": "format_sql",
"description": "Pretty-print SQL: one clause per line, configurable indent size, optional upper-case keywords and trailing semicolon. Comments are not kept. Returns {formatted_sql, options}."
},
{
"name": "parse_sql",
"description": "Parse SQL and return an AST summary: the statement count and the type of each statement."
},
{
"name": "extract_metadata",
"description": "Extract all tables, columns, and functions referenced in a SQL query. Useful for schema dependency analysis, query auditing, and impact analysis."
},
{
"name": "security_scan",
"description": "Scan SQL for injection attack patterns: tautologies (1=1), UNION-based attacks, stacked queries, comment bypasses, blind injection probes. Returns severity-classified findings (critical/high/medium/low) with descriptions and remediation suggestions."
},
{
"name": "lint_sql",
"description": "Lint SQL with the same 10 rules as `gosqlx lint` (L001–L010): trailing whitespace, mixed indentation, consecutive blank lines, indentation depth, line length (>100), column alignment, keyword case (upper), comma placement (trailing), aliasing consistency and redundant whitespace. Returns {violation_count, violations} with line/column positions."
},
{
"name": "analyze_sql",
"description": "Run validate, parse, metadata, security, lint and format concurrently and return one composite report. The most efficient way to get a full review of a query in one call."
}
],
"capabilities": {
"tools": true,
"prompts": false,
"resources": false
},
"features": {
"dialects": [
"generic",
"postgresql",
"mysql",
"mariadb",
"sqlserver",
"oracle",
"sqlite",
"snowflake",
"bigquery",
"redshift",
"clickhouse"
],
"security": {
"injection_detection": true,
"severity_levels": [
"critical",
"high",
"medium",
"low"
],
"patterns": [
"tautology",
"union-attack",
"stacked-queries",
"comment-bypass",
"blind-injection"
]
},
"linting": {
"rules": 10,
"rule_ids": [
"L001",
"L002",
"L003",
"L004",
"L005",
"L006",
"L007",
"L008",
"L009",
"L010"
],
"note": "The GoSQLX CLI and Go SDK provide 30 rules (L001–L030); the MCP lint_sql tool applies L001–L010."
},
"performance": {
"concurrency": "race-free",
"memory": "zero-copy tokenizer with object pooling",
"benchmarks": "https://gosqlx.dev/benchmarks"
}
},
"related_servers": [
"designcomputer/mysql_mcp_server",
"ktanaka101/mcp-server-duckdb",
"ClickHouse/mcp-clickhouse"
]
}