MCP 服务器

RegexForge

io.github.walkojas-boop/regexforge
开发者工具 公开且可连接 MCP 2026-07-28

此 MCP 可以做什么

Deterministically synthesizes regular expressions from labeled examples and provides test coverage and backtracking-risk analysis.

regexforge_synth
Synthesize a battle-tested regex from labeled examples. Input: optional natural-language description + 20 examples (10 positive, 10 negative, or any mix of ≥4). Output: regex + flags + test matrix proving every example is handled correctly + backtracking-risk analysis. Deterministic; no LLM at serve time.
输入模式
{'type': 'object', 'required': ['examples'], 'properties': {'examples': {'type': 'array', 'items': {'type': 'object', 'required': ['text', 'match'], 'properties': {'text': {'type': 'string', 'maxLength': 2048}, 'match': {'type': 'boolean', 'description': 'true if the regex should match this string; false if it should NOT match.'}}}, 'maxItems': 100, 'minItems': 2}, 'description': {'type': 'string', 'description': 'Optional natural-language description, used only for tie-breaking.'}}}
已添加
regexforge_synth
2026年9月17日 12:53