📦
io.github.daedalus/mcp-pcapy-ng
MCP server exposing pcapy-ng packet capture functionality
0 installs
Trust: 37 — Low
Commerce
Ask AI about io.github.daedalus/mcp-pcapy-ng
Powered by Claude · Grounded in docs
I know everything about io.github.daedalus/mcp-pcapy-ng. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
mcp-pcapy-ng
MCP server exposing pcapy-ng packet capture functionality.
mcp-name: io.github.daedalus/mcp-pcapy-ng
Install
pip install mcp-pcapy-ng
Usage
The MCP server provides tools for network packet capture using pcapy-ng:
from mcp_pcapy_ng import mcp
mcp.run()
Or via command line:
mcp-pcapy-ng
Available Tools
findalldevs- List all available network interfaceslookupdev- Get the default network deviceopen_live- Open a live network interface for packet captureopen_offline- Open a pcap file for readingcreate- Create a packet capture handlecompile- Create a BPF filter programpcap_read- Read packets from a pcap handlepcap_datalink- Get the data link typepcap_setfilter- Attach a BPF filterpcap_getnonblock- Get non-blocking statuspcap_setnonblock- Set non-blocking modeget_dlt_names- Get DLT constant mappingsget_pcap_directions- Get direction constant mappingsget_constants- Get all constants
Development
git clone https://github.com/daedalus/mcp-pcapy-ng.git
cd mcp-pcapy-ng
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/
