Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Regex

БесплатноНе проверен

MCP server: test a regex against text and return matches with positions and capture groups.

GitHubEmbed

Описание

MCP server: test a regex against text and return matches with positions and capture groups.

README

npm mcp license

MCP server: test a JavaScript regex pattern against text and get back structured matches with positions, numbered groups, and named groups. The g flag is forced on so you always get every match.

Tool

regex

{ "pattern": "(?<key>\\w+)=(?<val>\\d+)", "text": "x=1 y=22" }

→

{
  "pattern": "(?<key>\\w+)=(?<val>\\d+)",
  "flags": "g",
  "match_count": 2,
  "matches": [
    { "match": "x=1",  "start": 0, "end": 3, "groups": ["x","1"],  "named_groups": { "key": "x", "val": "1" } },
    { "match": "y=22", "start": 4, "end": 8, "groups": ["y","22"], "named_groups": { "key": "y", "val": "22" } }
  ]
}

Allowed flags: g/i/m/s/u/y. max_matches caps output at 1000 by default. Zero-width matches advance safely (no infinite loop).

Configure

{ "mcpServers": { "regex": { "command": "npx", "args": ["-y", "@mukundakatta/regex-mcp"] } } }

License

MIT.

from github.com/MukundaKatta/regex-mcp

Установка Regex

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/MukundaKatta/regex-mcp

FAQ

Regex MCP бесплатный?

Да, Regex MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Regex?

Нет, Regex работает без API-ключей и переменных окружения.

Regex — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Regex в Claude Desktop, Claude Code или Cursor?

Открой Regex на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Regex with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai