Re Yara
БесплатноНе проверенMCP server wrapping the YARA pattern-matching engine for binary triage, enabling users to compile and scan files against analyst-defined YARA rules.
Описание
MCP server wrapping the YARA pattern-matching engine for binary triage, enabling users to compile and scan files against analyst-defined YARA rules.
README
MCP server wrapping the YARA pattern-matching engine for binary triage.
re-yara is intentionally rule-agnostic: the server compiles
whatever rule directory the analyst points it at, then scans files
or directories against the compiled rules. No rules are bundled
with the plugin — YARA rules describe categories of binary
behaviour (e.g. encrypted-VM bytecode interpreter dispatcher,
MBA-obfuscated arithmetic routine, legacy disc-based protection
handshake) and writing them is an analyst decision, not a plugin
one.
Tools
| Tool | What it does |
|---|---|
check_yara |
Health check — return YARA version + whether yara-python is importable |
compile_rules |
Compile all *.yar / *.yara files under a directory into a YARA ruleset |
scan_binary |
Run a compiled ruleset against a single file |
scan_directory |
Walk a directory and run the compiled ruleset against every file |
Install
Part of the RE-AI plugin; ./install.sh installs the package. To
install standalone:
pip install -e ./servers/re-yara
Requires the yara C library (libyara) at runtime — yara-python
links against it. Most package managers ship yara as a system
package; on Debian/Ubuntu:
sudo apt-get install yara libyara-dev
Run
re-yara # stdio transport (default for MCP)
python -m re_yara # equivalent
Workflow
- Author or download a directory of
*.yarfiles. Each rule describes a category of behaviour the analyst wants to find. - Call
compile_rules(rules_dir=<path>)to validate + compile. - Call
scan_binary(path=<file>, rules_dir=<path>)for a single file, orscan_directory(path=<dir>, rules_dir=<path>)for a whole tree.
compile_rules is the heavy step (parses every rule file). The
scan tools re-compile as needed — they're cheap if the rules
haven't changed.
Why no bundled rules
YARA rules are an analyst artefact: they describe what you are
looking for, which is a question only the user can answer. The
plugin gives the engine; the user brings the policies. The
server is also compatible with the signature-base and
[MalwareBazaar] rule collections — point rules_dir at any of
them.
Установка Re Yara
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Heretek-RE/re-yaraFAQ
Re Yara MCP бесплатный?
Да, Re Yara MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Re Yara?
Нет, Re Yara работает без API-ключей и переменных окружения.
Re Yara — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Re Yara в Claude Desktop, Claude Code или Cursor?
Открой Re Yara на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Re Yara with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
