/**
* Pluralize a word based on the count.
*
* @param word - The word to pluralize.
* @param count - The count of the word.
* @returns The pluralized word.
*/
export function pluralize(word: string, count: number) {
return count === 1 ? word : `${word}s`;
}
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/Arize-ai/phoenix'
If you have feedback or need assistance with the MCP directory API, please join our Discord server