io.github.daedalus/mcp-pcapy-ng

Registre officiel Autres

MCP server exposing pcapy-ng packet capture functionality

Que pouvez-vous faire avec io.github.daedalus/mcp-pcapy-ng ?

  • 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

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 »).

PYPI package mcp-pcapy-ng
Claude Code
claude mcp add mcp-pcapy-ng -- uvx mcp-pcapy-ng==0.1.0
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "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.

Sommaire
  1. mcp-pcapy-ng
  2. Install
  3. Usage
  4. Available Tools
  5. Development

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 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/

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.