Skip to main content
Glama
config-utils.tsx376 B
import { t } from 'i18next'; const formatNames = (names: string[]) => { if (names.length === 1) { return names[0]; } const formattedNames = names.map((name, idx) => { if (idx < names.length - 1) { return `${name},`; } return `${t('and')} ${name}`; }); return formattedNames.join(' '); }; export const agentConfigUtils = { formatNames, };

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/activepieces/activepieces'

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