Skip to main content
Glama
daedalus

io.github.daedalus/mcp-pcapy-ng

by daedalus

mcp-pcapy-ng

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

Related MCP server: mcp-wireshark

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/
A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Beefy - 10 tools for protocol data and tools

  • Workflow diagnostics, capability routing, and x402 settlement for MCP-compatible agents.

  • Interact with a global network measurement platform.Run network commands from any point in the world

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/daedalus/mcp-pcapy-ng'

If you have feedback or need assistance with the MCP directory API, please join our Discord server