Skip to main content
Glama
empty.ts238 B
export const arrayNotEmpty = <T>(array: T[] | undefined): T[] | undefined => array?.length ? array : undefined; export const objectNotEmpty = <T>(object: T): T | undefined => object && Object.keys(object).length ? object : undefined;

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/baruchiro/paperless-mcp'

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