Skip to main content
Glama
functions.tsx317 B
export const checkImageUrl = async (imageUrl: string) => { try { const response = await fetch(imageUrl); if ( response.ok && response.headers.get("content-type")?.startsWith("image/") ) { return true; } else { return false; } } catch (error) { return false; } };

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/mobile-dev-inc/Maestro'

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