Skip to main content
Glama
extract.ts312 B
export default function extractNameFromEmail(email: string): string { // Split the email at the "@" symbol and take the first part let name = email.split('@')[0] || ''; // Replace dots, underscores, an‰d hyphens with spaces to normalize the name name = name.replace(/\.|_|-/g, ' ').trim(); return name; }

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/mrgoonie/reviewwebsite-mcp-server'

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