Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Pcapy-ng

FreeNot checked

Network packet capture and analysis using the pcapy-ng library.

GitHubEmbed

About

Network packet capture and analysis using the pcapy-ng library.

README

MCP server exposing pcapy-ng packet capture functionality.

PyPI Python Ruff

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 interfaces
  • lookupdev - Get the default network device
  • open_live - Open a live network interface for packet capture
  • open_offline - Open a pcap file for reading
  • create - Create a packet capture handle
  • compile - Create a BPF filter program
  • pcap_read - Read packets from a pcap handle
  • pcap_datalink - Get the data link type
  • pcap_setfilter - Attach a BPF filter
  • pcap_getnonblock - Get non-blocking status
  • pcap_setnonblock - Set non-blocking mode
  • get_dlt_names - Get DLT constant mappings
  • get_pcap_directions - Get direction constant mappings
  • get_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/

from github.com/daedalus/mcp-pcapy-ng

Installing Pcapy-ng

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/daedalus/mcp-pcapy-ng

FAQ

Is Pcapy-ng MCP free?

Yes, Pcapy-ng MCP is free — one-click install via Unyly at no cost.

Does Pcapy-ng need an API key?

No, Pcapy-ng runs without API keys or environment variables.

Is Pcapy-ng hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Pcapy-ng in Claude Desktop, Claude Code or Cursor?

Open Pcapy-ng on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Pcapy-ng with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs