
Mcp Pcapy Ng
io.github.daedalusPublished by GitHub account daedalusv0.1.0Updated Oct 24, 2026
MCP server exposing pcapy-ng packet capture functionality
Overview
Local MCP server that exposes pcapy-ng packet capture, letting an assistant list interfaces, open live or offline captures, and read packets.
- What you can do
- List network interfaces and identify the default capture device
- Open a live interface or an existing pcap file as a capture handle
- Compile BPF filter programs and attach them to a handle
- Read packets from a handle and report its data link type
- Toggle non-blocking mode and query its status
- Look up DLT, direction and other pcapy-ng constants
- When to use it
- Useful when you want an assistant to inspect network traffic on the local machine or analyze saved pcap files, for example during troubleshooting, protocol exploration or security review of captured packets.
- Requirements
- Runs as a local process on the user's machine, installed from PyPI with pip; desktop only. Capturing live traffic typically needs packet-capture permissions (such as root or capture capabilities) and libpcap on the host. No accounts, API keys or environment variables are declared.
Installation
In SourceWeft
- Open Mcp Pcapy Ng in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
mcp-pcapy-ng
MCP server exposing pcapy-ng packet capture functionality.
mcp-name: io.github.daedalus/mcp-pcapy-ng
Install
Usage
The MCP server provides tools for network packet capture using pcapy-ng:
Or via command line:
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
Source: README.md at commit 4b886a9
Tools
0Version history
1- v0.1.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts