About io.github.daedalus/mcp-pcapy-ng
io.github.daedalus/mcp-pcapy-ng is an MCP server in the Commerce category: mCP server exposing pcapy-ng packet capture functionality.
Install
uvx mcp-pcapy-ngpip install mcp-pcapy-ngThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (14)
compileCreate a BPF filter program
Parameters not published.
createCreate a packet capture handle
Parameters not published.
findalldevsList all available network interfaces
Parameters not published.
get_constantsGet all constants
Parameters not published.
get_dlt_namesGet DLT constant mappings
Parameters not published.
get_pcap_directionsGet direction constant mappings
Parameters not published.
lookupdevGet the default network device
Parameters not published.
open_liveOpen a live network interface for packet capture
Parameters not published.
open_offlineOpen a pcap file for reading
Parameters not published.
pcap_datalinkGet the data link type
Parameters not published.
Show all 14 tools
pcap_getnonblockGet non-blocking status
Parameters not published.
pcap_readRead packets from a pcap handle
Parameters not published.
pcap_setfilterAttach a BPF filter
Parameters not published.
pcap_setnonblockSet non-blocking mode
Parameters not published.
Ask AI
Ask AI about io.github.daedalus/mcp-pcapy-ng
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
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/
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.