Skip to main content
Glama

gitlab-mcp-server

/** * Checks if a string is a valid ISO 8601 date format * * @param dateString - The string to check * @returns True if the string is a valid ISO 8601 date, false otherwise */ export function isValidISODate(dateString: string): boolean { try { // Try to create a date from the string const date = new Date(dateString); // Check if the date is valid and if the ISO string matches the input // This helps filter out strings that are valid dates but not in ISO format return !isNaN(date.getTime()) && date.toISOString().includes(dateString); } catch (error) { return false; } }

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/yoda-digital/mcp-gitlab-server'

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