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