Skip to main content
Glama
allowed-keywords.ts613 B
import { ConnectorType } from "../connectors/interface.js"; /** * List of allowed keywords for SQL queries * Not only SELECT queries are allowed, * but also other queries that are not destructive */ export const allowedKeywords: Record<ConnectorType, string[]> = { postgres: ["select", "with", "explain", "analyze", "show"], mysql: ["select", "with", "explain", "analyze", "show", "describe", "desc"], mariadb: ["select", "with", "explain", "analyze", "show", "describe", "desc"], sqlite: ["select", "with", "explain", "analyze", "pragma"], sqlserver: ["select", "with", "explain", "showplan"], };

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/bytebase/dbhub'

If you have feedback or need assistance with the MCP directory API, please join our Discord server