Skip to main content
Glama
provider.ts432 B
export type Dialect = "sqlite" | "pg" | "mysql" | "mssql" | "oracle"; export interface DB { dialect: Dialect; /** * Execute a parameterized query. * @param text SQL with placeholders appropriate for the driver * @param params Parameter values (array or named object based on driver) */ query<T = unknown>(text: string, params: any): Promise<{ rows: T[]; rowCount: number }>; close?(): Promise<void> | void; }

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/Muhammad-Idzhans/mcp-server'

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