Skip to main content
Glama
networkFormatter.ts540 B
export class NetworkFormatter { /** * Format network categories for display with category names and hook counts */ formatNetworkCategories( networkName: string, categories: Array<{ key: string; name: string; hookCount: number }>, ): string { const responseText = `## Categories for ${networkName}\n\n` + `Found ${categories.length} categories:\n\n` + categories .map( (cat) => `• **${cat.name}** (${cat.key})\n ${cat.hookCount} hooks available`, ) .join("\n\n"); return responseText; } }

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/synthetic-ci/vibe-marketing'

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