MCP 服务器

Regex/Email/URL Validator

com.apished/regex-email-url-validator
开发者工具 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Validates email addresses, URLs, regular-expression matches, and documents against JSON Schema.

email_validate
Checks value is a single, bare RFC 5322 email address — syntax only, not a deliverability check. user@localhost is valid (no TLD required). "Name <email>" display syntax is rejected.
输入模式
{'type': 'object', 'required': ['value'], 'properties': {'value': {'type': 'string', 'description': 'identifier or value to check'}}, 'additionalProperties': False}
输出模式
{'type': 'object', 'required': ['valid'], 'properties': {'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}}, 'additionalProperties': False}
jsonschema_validate
Validates document against schema (JSON Schema draft-07 or 2020-12). Reports one specific violation per call, not an aggregated list.
输入模式
{'type': 'object', 'required': ['schema', 'document'], 'properties': {'schema': {'description': 'a JSON Schema (draft-07 or 2020-12)'}, 'document': {'description': 'the JSON value to validate against schema'}}, 'additionalProperties': False}
输出模式
{'type': 'object', 'required': ['valid'], 'properties': {'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}}, 'additionalProperties': False}
regex_match
Tests input against pattern (Go's regexp package: RE2 syntax, not PCRE — no backreferences or lookaround; use inline flags like (?i) for case-insensitive matching). Returns the full match and captured groups.
输入模式
{'type': 'object', 'required': ['pattern', 'input'], 'properties': {'input': {'type': 'string'}, 'pattern': {'type': 'string', 'description': 'RE2 syntax'}}, 'additionalProperties': False}
输出模式
{'type': 'object', 'required': ['matches'], 'properties': {'match': {'type': 'string'}, 'groups': {'type': ['null', 'array'], 'items': {'type': 'string'}}, 'matches': {'type': 'boolean'}}, 'additionalProperties': False}
url_validate
Checks value is a well-formed absolute URL (has both a scheme and a host) — syntax only, not a reachability check.
输入模式
{'type': 'object', 'required': ['value'], 'properties': {'value': {'type': 'string', 'description': 'identifier or value to check'}}, 'additionalProperties': False}
输出模式
{'type': 'object', 'required': ['valid'], 'properties': {'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}}, 'additionalProperties': False}
已添加
url_validate
2026年9月17日 12:33
已添加
regex_match
2026年9月17日 12:33
已添加
jsonschema_validate
2026年9月17日 12:33
已添加
email_validate
2026年9月17日 12:33