io.github.daedalus/mcp-pcapy-ng
MCP server exposing pcapy-ng packet capture functionality
Que pouvez-vous faire avec 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
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
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
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent 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/
Questions fréquentes
Qu'est-ce que io.github.daedalus/mcp-pcapy-ng ?
MCP server exposing pcapy-ng packet capture functionality
Comment installer io.github.daedalus/mcp-pcapy-ng ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add mcp-pcapy-ng -- uvx mcp-pcapy-ng==0.1.0. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour io.github.daedalus/mcp-pcapy-ng ?
Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.
io.github.daedalus/mcp-pcapy-ng est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient io.github.daedalus/mcp-pcapy-ng ?
Il est publié par daedalus. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.