io.github.daedalus/mcp-pcapy-ng
MCP server exposing pcapy-ng packet capture functionality
What can you do with io.github.daedalus/mcp-pcapy-ng?
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 type
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
mcp-pcapy-ngclaude mcp add mcp-pcapy-ng -- uvx mcp-pcapy-ng==0.1.0
{
"mcpServers": {
"mcp-pcapy-ng": {
"command": "uvx",
"args": [
"mcp-pcapy-ng==0.1.0"
]
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
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/
Frequently asked questions
What is io.github.daedalus/mcp-pcapy-ng?
MCP server exposing pcapy-ng packet capture functionality
How do I install io.github.daedalus/mcp-pcapy-ng?
It runs on your machine. In Claude Code: claude mcp add mcp-pcapy-ng -- uvx mcp-pcapy-ng==0.1.0. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.daedalus/mcp-pcapy-ng need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is io.github.daedalus/mcp-pcapy-ng open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains io.github.daedalus/mcp-pcapy-ng?
It is published by daedalus. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.