Skip to main content
Glama
validations.ts532 B
// Our old regex here prevented usage of accents in names // ^[a-zA-Z0-9-.,_@/+ ]*$/; // This one is much more permissive but still might not be quite right // We probably want to figure out exactly what characters to include or not include // Useful here - https://en.wikipedia.org/wiki/List_of_Unicode_characters // TODO - update this REGEX to be even better! export const ALLOWED_INPUT_REGEX = /^[0-9A-Za-zÀ-ÖØ-öø-ÿĀ-ỹ-.,_@/+ ]*$/; export const ALLOWED_URL_REGEX = "^https?://([\\da-z.-]+)(:\\d+)?(/[\\w .-]*)*/?$";

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/systeminit/si'

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