zapret2-mcp
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
zapret2-mcp is a knowledge server for zapret2 (DPI bypass tool by bol-van) and blockcheckw (fast strategy scanner by rcd27).
It provides contextual documentation and expert knowledge about:
DPI bypass strategies (split2, disorder2, fake, fooling, etc.)
zapret2 configuration and service management
blockcheckw commands for parallel strategy discovery
Installation workflows for Linux desktops, servers, and OpenWrt routers
Troubleshooting common issues
Use the query-zapret-knowledge tool to search the knowledge base. IMPORTANT: The entire knowledge base is written in Russian. Always query in Russian for accurate results (e.g. 'стратегия split2' instead of 'split2 strategy'). Use getPrompt for guided workflows: setup-zapret, find-bypass-strategy, troubleshoot, strategy-knowledge.
This server does NOT execute commands — it provides knowledge and guidance. The consuming agent executes commands directly.
FALLBACK: If query-zapret-knowledge returns no results or insufficient information, check these primary sources directly (via web fetch):
DeepWiki (most complete, generated from source code): https://deepwiki.com/bol-van/zapret2
Official docs: https://github.com/bol-van/zapret2/blob/master/docs/manual.md
Community docs (Obsidian Publish): https://publish.obsidian.md/zapret — raw markdown available at https://publish-01.obsidian.md/access/18b1b883e5b94cb062854c94fb182bb4/{path}.md (e.g. Zapret/Zapret2%20-%20lua-desync.md)
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| query-zapret-knowledgeA | Search zapret2 and blockcheckw knowledge base by topic. Returns relevant documentation, strategy guides, configuration references, and troubleshooting information. IMPORTANT: The entire knowledge base is in Russian. Always send queries in Russian for best results. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| setup-zapret | Step-by-step guide for installing zapret2 from scratch on any supported platform |
| find-bypass-strategy | Guide for finding a working DPI bypass strategy using blockcheckw scanner |
| troubleshoot | Diagnostic workflow for when zapret2 DPI bypass is not working |
| strategy-knowledge | Complete reference guide for all DPI bypass strategy families, parameters, and recommendations |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| blockcheckw Commands Reference | Tags: blockcheckw, scan, check, universal, status, benchmark, commands |
| blockcheckw Overview | Tags: blockcheckw, scanner, strategy discovery, parallel, rust |
| Auto-Hostlist and Failure Detection | Tags: auto-hostlist, failure detection, retransmission, rst, redirect, autohostlist, blocking detection |
| Blobs — каталог бинарных образцов пакетов | Tags: blobs, fake, payload, tls, quic, wireguard, discord, reference |
| Desync Profile System | Tags: profiles, desync, new, filter, matching, template, import, lua-desync, l7, l3, l4 |
| Hostlists and IPsets | Tags: hostlist, ipset, filtering, domains, ip, include, exclude, gzip, auto-reload, sighup |
| Миграция стратегий zapret v1 → zapret2 (lua-desync) | Tags: migration, v1, v2, lua-desync, dpi-desync, config, conversion, profiles, lua |
| nfqws2 Command-Line Options Reference | Tags: nfqws2, cli, options, parameters, reference |
| Security Hardening | Tags: security, seccomp, capabilities, privilege, droproot, sandbox, hardening, cap_net_admin, daemonize |
| UCI конфигурация и управление сервисом zapret2 | Tags: uci, cli, config, openwrt, init, service, management |
| zapret2 Configuration File Reference | Tags: config, configuration, parameters, setup |
| Последовательность аргументов в zapret2 | Tags: аргументы, порядок, payload, lua-desync, hostlist, профиль, filter |
| Блобы (blobs) — бинарные данные для fake-пакетов | Tags: blob, fake, tls_mod, fake_default_tls, fake_default_http, fake_default_quic, бинарные данные |
| lua-desync — полный справочник функций | Tags: lua-desync, функции, fake, multisplit, multidisorder, syndata, tcpseg, reference |
| Основные флаги запуска nfqws2/winws2 | Tags: флаги, nfqws2, winws2, параметры, запуск, qnum, daemon, pidfile |
| MTProto — обнаружение и обход блокировки Telegram | Tags: mtproto, telegram, detection, filter-l7, ipset, шифрование |
| out-range / in-range — диапазоны обработки пакетов | Tags: out-range, in-range, диапазон, пакеты, conntrack, data-packet |
| Типы payload в zapret2 | Tags: payload, фильтрация, tls_client_hello, http_req, quic_initial, mtproto, discord, stun, wireguard |
| WinDivert фильтры (--wf-*) для Windows | Tags: windivert, windows, wf, фильтры, winws2, порты |
| Desktop Linux — nftables Integration | Tags: nftables, desktop, linux, firewall, INIT_APPLY_FW, nft, chains, systemd |
| Supported Platforms | Tags: platforms, linux, openwrt, wsl2, windows, macos, freebsd, openbsd, bsd, dvtws2, winws2, android |
| Community Strategies — Production Examples | Tags: community, strategies, circular, production, youtube, examples, multidisorder, multisplit, hostfakesplit, syndata, hostfakesplit, seqovl-pattern, googlevideo, three-stream |
| Discord bypass — обход блокировки чата, голоса и медиа | Tags: discord, stun, voip, voice, udp, strategies, bypass, cloudflare-ports |
| DPI Types and Recommended Approaches | Tags: dpi, domain-based, stateful, stateless, recommendations |
| Fake Packet Strategies | Tags: fake, rst, rstack, syndata, fooling, md5sig, badsum, autottl, ttl, ip6, extension headers, tcp_ts_up, tcp_nop_del, ip_id, ipfrag2, synhide, hex-pattern, syn_packet |
| HTTP-Specific Strategies | Tags: hostcase, domcase, methodeol, http, host header |
| Lua Scripting System | Tags: lua, scripting, lua-desync, zapret-lib, zapret-antidpi, zapret-auto, zapret-obfs, obfuscation, wireguard, ippxor, udp2icmp, synhide |
| Strategy Orchestration | Tags: circular-strategy, rotation, resilience, multi-strategy, profiles, autohostlist |
| TCP Segmentation Strategies | Tags: split2, disorder2, multisplit, multidisorder, fakedsplit, fakeddisorder, hostfakesplit, segmentation |
| Telegram и zapret2 — что можно обойти, а что нет | Tags: telegram, mtproto, ip-block, dpi, bypass, vpn, strategies |
| UDP/QUIC Strategies | Tags: udp, quic, ipfrag2, udplen, udplen-pattern, fragmentation, fake-quic, youtube, repeats |
| Common Issues and Troubleshooting | Tags: troubleshooting, diagnosis, problems, fixes |
| IP-троттлинг — диагностика замедления по IP (Cloudflare, Discord) | Tags: troubleshooting, throttling, ip-throttling, ip-blocking, diagnosis, discord, cloudflare, split-routing, bridgebox, vpn, 16kb |
| IPv6 ловушка — почему стратегия найдена, но сайты не открываются | Tags: troubleshooting, ipv6, bypass, blockcheck, dual-stack, apple, android |
| Конфликты zapret2 с другим ПО на OpenWrt | Tags: troubleshooting, openwrt, flowoffload, podkop, zeroblock, nft, firewall, conflicts |
| QUIC-проблемы — почему YouTube тормозит и как это чинить | Tags: troubleshooting, quic, udp, youtube, performance, disable-quic, podkop, browser |
| Smart TV и YouTube — диагностика и решения | Tags: troubleshooting, smart-tv, youtube, tls, samsung, tizen, lg, webos, vidaa, platforms |
| YouTube Opens But Video Does Not Load | Tags: youtube, googlevideo, CDN, video, troubleshooting, badsum, aggressive, desktop, three-stream, quic |
| TSPU Architecture — How Russian DPI Works | Tags: tspu, dpi, architecture, ecofilter, bypass, balancer, filter, blocking |
| TSPU Blocking Methods and Protocol Degradation | Tags: tspu, blocking, degradation, capacity, rst, redirect, drop, dpi-list, quic |
| TSPU DPI Engine — How Protocols Are Recognized | Tags: tspu, dpi, engine, recognition, protocols, analysis, signatures, obfuscation |
| Legal Risks and ISP Enforcement | Tags: tspu, legal, isp, fine, revizor, rkn, provider, enforcement |
| TSPU Night Reconfiguration | Tags: tspu, reconfig, night, strategy-breaks, timing, maintenance |
| TSPU Two-Stage Blocking Process | Tags: tspu, blocking, two-stage, spfs, csu, protocol lists, timing |
| Find Bypass Strategy Workflow | Tags: strategy, blockcheckw, scan, check, bypass, workflow |
| Installation Workflow | Tags: install, setup, workflow, router, desktop |
TDQS
Scored across 1 tool
There is only one tool, so there is no possibility of selecting the wrong tool or confusing overlapping purposes. Its purpose is clearly to search the zapret2/blockcheckw knowledge base.
The lone tool uses a readable kebab-case verb_noun-like pattern: query-zapret-knowledge. There are no sibling tools to compare against, so consistency cannot be fully demonstrated, but the name itself is clear and conventional.
A single search tool is plausible for a narrow knowledge-base lookup server, but the surface feels thin even for that purpose. It leaves no room for listing topics, fetching a known document, or refining retrieval without overloading one tool.
Search is the core operation for a knowledge-base server, but the surface has notable gaps: no list-topics, get-document-by-id, or structured browsing operation. Agents can work around this by repeated search queries, but discovery and deterministic retrieval are limited.