Skip to main content
Glama
utils.d.ts360 B
/** * Escapes a string for use in a regular expression. */ export declare function escapeRegExp(str: string): string; type CastArrayResult<T> = T extends undefined | null ? never[] : T extends unknown[] ? T : T[]; /** * Casts a value to an array if it's not one. */ export declare function castArray<T = never[]>(value?: T): CastArrayResult<T>; export {};

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/kkShrihari/miEAA3_mcp'

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