Skip to main content
Glama
formatters.ts534 B
import type {PlatformInfo} from './types/index.js'; // Helper to extract text from abstract array export const extractText = (abstract: Array<{text: string; type: string}> = []): string => abstract?.map(item => item.text).join('') || ''; // Helper to format platform availability export const formatPlatforms = (platforms: PlatformInfo[]): string => { if (!platforms || platforms.length === 0) { return 'All platforms'; } return platforms .map(p => `${p.name} ${p.introducedAt}${p.beta ? ' (Beta)' : ''}`) .join(', '); };

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/MightyDillah/apple-doc-mcp'

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