Skip to main content
Glama

MCPDemo - Visual SQL Chat Platform

by Ayi456
ValidationUtils.ts459 B
export class ValidationUtils { static validateEmail(email: string): boolean { const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; return emailRegex.test(email); } static validateUsername(username: string): boolean { const usernameRegex = /^[\w\u4e00-\u9fa5]{3,50}$/; return usernameRegex.test(username); } static validatePhone(phone: string): boolean { const phoneRegex = /^1[3-9]\d{9}$/; return phoneRegex.test(phone); } }

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/Ayi456/visual-mcp'

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