regexcronsql-validator
Qué hace este MCP
Validates regular expressions, cron schedules, and PostgreSQL queries by executing them against test inputs or in-memory data.
Herramientas
Esquema de entrada
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['cron_expression'], 'properties': {'count': {'type': 'integer', 'maximum': 20, 'minimum': 1, 'description': 'Cantidad de próximas ejecuciones a devolver. Default 5, máximo 20.'}, 'from_date': {'type': 'string', 'description': 'Fecha ISO 8601 desde la cual calcular las próximas ejecuciones (ej: "2026-08-07T00:00:00Z"). Si se omite, se usa el momento actual.'}, 'cron_expression': {'type': 'string', 'description': 'Expresión cron estándar de 5 campos (minuto hora dÃ\xada-mes mes dÃ\xada-semana), 6 con segundos, o un atajo como "@daily". Ej: "0 9 * * 1-5" = 9am de lunes a viernes.'}}}
Esquema de salida
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['valid_expression', 'error', 'next_executions'], 'properties': {'error': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'Mensaje de error si valid_expression es false; null si es válida.'}, 'next_executions': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Fechas ISO 8601 en UTC de las próximas ejecuciones, en orden cronológico.'}, 'valid_expression': {'type': 'boolean', 'description': 'false si la expresión cron no es válida.'}}, 'additionalProperties': False}
Esquema de entrada
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['pattern', 'test_strings'], 'properties': {'flags': {'type': 'string', 'description': 'Flags de RegExp de JavaScript a aplicar (ej: "gi" para global + case-insensitive). VacÃ\xado por defecto.'}, 'pattern': {'type': 'string', 'description': 'El patrón de la expresión regular, sin delimitadores de barra (ej: "^[0-9]{3}-[0-9]{4}$", no "/^[0-9]{3}-[0-9]{4}$/").'}, 'test_strings': {'type': 'array', 'items': {'type': 'string', 'maxLength': 2000}, 'maxItems': 50, 'minItems': 1, 'description': 'Lista de strings a evaluar contra el patrón, uno por uno. Máximo 50 strings, 2000 caracteres cada uno.'}}}
Esquema de salida
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['valid_pattern', 'error', 'results'], 'properties': {'error': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'Mensaje de error si valid_pattern es false; null si es válido.'}, 'results': {'type': 'array', 'items': {'type': 'object', 'required': ['test_string', 'matched', 'full_match', 'groups'], 'properties': {'groups': {'anyOf': [{'type': 'array', 'items': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}}, {'type': 'null'}]}, 'matched': {'type': 'boolean'}, 'full_match': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'test_string': {'type': 'string'}}, 'additionalProperties': False}, 'description': 'Un resultado por cada test_string, en el mismo orden en que se recibieron.'}, 'valid_pattern': {'type': 'boolean', 'description': 'false si el patrón no es una expresión regular válida en JS.'}}, 'additionalProperties': False}
Esquema de entrada
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['query'], 'properties': {'query': {'type': 'string', 'maxLength': 5000, 'description': 'La consulta SQL a ejecutar (ej: "SELECT nombre FROM clientes WHERE activo = true"). Máximo 5000 caracteres.'}, 'tables': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'rows'], 'properties': {'name': {'type': 'string', 'description': 'Nombre de la tabla, tal como aparece en la query.'}, 'rows': {'type': 'array', 'items': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'maxItems': 200, 'minItems': 1, 'description': 'Filas de prueba como objetos JSON (clave = columna). El tipo de cada columna se infiere del primer valor no nulo encontrado. Máximo 200 filas.'}}}, 'maxItems': 5, 'description': 'Tablas de prueba a crear antes de correr la query. Omitir si la query no referencia ninguna tabla. Máximo 5 tablas.'}}}
Esquema de salida
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['valid_query', 'error', 'rows', 'truncated'], 'properties': {'rows': {'type': 'array', 'items': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'description': 'Filas resultantes de la ejecución real de la query, hasta un máximo de 500.'}, 'error': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'Mensaje de error si valid_query es false; null si es válida.'}, 'truncated': {'type': 'boolean', 'description': 'true si el resultado real tenÃ\xada más de 500 filas y se cortó.'}, 'valid_query': {'type': 'boolean', 'description': 'false si la query tiene un error de sintaxis o de ejecución (ej: tabla inexistente).'}}, 'additionalProperties': False}
Cambios recientes en herramientas
Servidores MCP similares
TinyFn
Offers deterministic utility functions for mathematics, conversions, validation, hashing, encoding, arrays, dates, colors, and pa…
hyperion
Acts as a paid MCP tool marketplace and utility gateway with server discovery, HTTP and JavaScript tools, research, data conversi…
Andreax
Offers pay-per-call AI services for inference, agent and workflow design, OCR and transcription, code generation and review, clas…
Vee3
Manages Clerk authentication infrastructure, including users, organizations, domains, sessions, tokens, OAuth, SSO, machines, per…
Courier
Provides notification delivery infrastructure for users, tenants, lists, templates, preferences, journeys, automations, brands, a…
GripForge
Generates, rigs, animates, analyzes, and packages game characters, weapons, armor, effects, environments, and engine-ready assets.
IA-QA — 130+ QA & Dev Tools for AI Agents
Provides deterministic QA, evaluation, testing, code analysis, prompt and RAG checks, model comparison, and web security diagnost…
apis-io
Provides catalog search, comparison, scoring, enrichment, lists, and dataset exports for APIs, providers, specifications, workflo…