Skip to main content
Glama
validateContent.ts188 B
export const validateContent = (text: string | undefined, html: string | undefined) => { if (!text && !html) { throw new Error('Either text or html content must be provided'); } };

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/pidanmeng/resend-mcp'

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