Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Connected while the plugin is enabled; Claude calls their tools.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
MCP server wrapping scapy for packet crafting, dissection,
pcap staging, and live BPF capture. Tools operate on a worker that holds a
scapy_mcp.config.settings.ScapySettings instance and respect a four-stage
transmit policy before any frame leaves the host.
Version: 0.1.1 — BSD-3-Clause — Python ≥ 3.14 — alpha status
uv pip install scapy-mcp
scapy-mcp
The console script scapy-mcp resolves to scapy_mcp.__main__:main, which
builds the FastMCP ASGI app and serves it on uvicorn (so the custom
/readyz route is mounted). Set SCAPY_MCP_HTTP_PORT to override the
default port 3056.
For local development:
uv sync --group dev
uv run scapy-mcp
Settings layer: defaults → settings/scapy-mcp.yaml → settings/local.yaml
→ SCAPY_MCP_* environment variables (pydantic-settings nested delimiter
is __). Nested config (e.g. auth) uses SCAPY_MCP_AUTH__ENABLED=true.
| Setting | Default | Purpose |
|---|---|---|
http_port | 3056 | MCP HTTP listener port |
tool_profile | full | MINIMAL, STANDARD, or FULL profile |
log_level | INFO | oneiric LoggingConfig level |
default_iface | None | capture iface when caller omits one |
capture_packet_cap | 10000 | per-session packet ceiling |
capture_duration_cap_seconds | 60 | per-session wall-clock ceiling |
capture_default_bpf_filter | None | global BPF filter applied when caller omits one |
capture_executor_workers | 2 | ThreadPoolExecutor size for the sync sniff fallback |
pcap_write_dir | <tmpdir>/scapy_mcp/pcap-staging | write-side staging root (path-containment enforced) |
pcap_read_max_bytes | 52428800 | read-side ceiling; read_pcap refuses larger files before parsing |
transmit_enabled | false | master kill-switch — must be true to emit any frame |
transmit_allow_l3_cidrs | [] | L3 CIDR allow-list |
transmit_allow_l2 | false | allow L2 (ARP / ND / RAW) emission |
transmit_allow_broadcast | false | allow broadcast destination |
transmit_max_pps | 10 | per-session packets-per-second cap |
transmit_max_per_session | 100 | per-session total packet cap |
transmit_max_probe_targets | 16 | per-call probe-target count cap |
The server registers 9 domain tools + the mcp-common baseline tools.
| Group | Tool | Purpose |
|---|---|---|
| craft | craft_packet | Build a Packet from a LayerSpec discriminated union |
| dissect | dissect_bytes | Parse raw bytes into layers + summary text |
| pcap | read_pcap | Read packet summaries from a pcap at path, with offset/limit windowing |
| pcap | write_pcap | Stage a pcap into pcap_write_dir (paths outside the dir refused) |
| capture | capture_start | Start a BPF-filtered capture (optional feed) |
| capture | capture_stop | Stop an in-progress capture session |
| capture | capture_read | Read summaries from an active capture session |
| transmit | transmit_packet | Send a single packet after every transmit control passes |
| transmit | probe_packet | One-shot emit at a small BPF, used to confirm the surface works |
| health | health | Per-feed aggregate status (counts + last error) |
Plus the four mcp-common baseline tools — discover_tools,
get_liveness, get_readiness, health_check_all — registered
unconditionally via bootstrap_baseline_tools.
read_pcap contractread_pcap accepts an arbitrary path (a file produced by
write_pcap, a pre-existing capture, or a fixture) and returns
summaries. Before parsing, the file size is checked against
pcap_read_max_bytes; oversize files are refused with
ConfigurationError so multi-GB captures cannot exhaust memory by
being loaded whole. Path containment under pcap_write_dir is the
write path's concern, not read's.
Two routes, answering different questions:
/health — always HTTP 200. Reports per-feed detail in components.
For orchestrators and curl smoke probes./readyz — HTTP 503 when a required feed has not yet returned data,
200 otherwise. For readiness probes.The capture feed is optional: its absence never flips /readyz
to 503. All other registered feeds are required.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
scapy@www-mcp-servers is listed by lesleslie/www-mcp-servers — review the source before installing
npx claudepluginhub lesleslie/www-mcp-servers --plugin scapyPlugins from other owners that cover similar ground