You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bind to `cfg.Addr()`, serve streamable HTTP. Blocks until ctx cancelled or fatal error. Graceful shutdown on context cancellation.
1878
+
1879
+
#### `BearerAuthMiddleware(cfg *Config, next http.Handler) http.Handler`
1880
+
Returns `next` unchanged when `cfg.AuthEnabled()` is false. When enabled, enforces `Authorization: Bearer <token>` on all requests; returns HTTP 401 on failure.
1881
+
1882
+
### Registered Tools
1883
+
1884
+
| Tool | Description |
1885
+
|------|-------------|
1886
+
|`validate_sql`| SQL syntax validation with optional dialect |
0 commit comments