Skip to main content
Glama

Erick Wendel Contributions MCP

by ErickWendel
language.ts514 B
// Language code mapping export const LANGUAGE_CODES: Record<string, string> = { english: 'en', spanish: 'es', portuguese: 'pt-br', // add more as needed }; /** * Converts a language name to its corresponding code * @param language - Language name or code * @returns The language code or the original input if no mapping found */ export function getLanguageCode(language?: string): string | undefined { if (!language) return undefined; return LANGUAGE_CODES[language.toLowerCase()] || language; }

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/ErickWendel/erickwendel-contributions-mcp'

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