io.github.daedalus/mcp-pcapy-ng
mcp-pcapy-ng
提供 pcapy-ng 数据包捕获功能的 MCP 服务器。
mcp-name: io.github.daedalus/mcp-pcapy-ng
安装
pip install mcp-pcapy-ngRelated MCP server: Wireshark MCP Server
用法
该 MCP 服务器提供使用 pcapy-ng 进行网络数据包捕获的工具:
from mcp_pcapy_ng import mcp
mcp.run()或者通过命令行:
mcp-pcapy-ng可用工具
findalldevs- 列出所有可用的网络接口lookupdev- 获取默认网络设备open_live- 打开实时网络接口进行数据包捕获open_offline- 打开 pcap 文件进行读取create- 创建数据包捕获句柄compile- 创建 BPF 过滤器程序pcap_read- 从 pcap 句柄读取数据包pcap_datalink- 获取数据链路类型pcap_setfilter- 附加 BPF 过滤器pcap_getnonblock- 获取非阻塞状态pcap_setnonblock- 设置非阻塞模式get_dlt_names- 获取 DLT 常量映射get_pcap_directions- 获取方向常量映射get_constants- 获取所有常量
开发
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/This server cannot be deployed
Maintenance
Related MCP Connectors
Beefy - 10 tools for protocol data and tools
Workflow diagnostics, capability routing, and x402 settlement for MCP-compatible agents.
Provide detailed Pokémon data and information through a standardized MCP interface. Enable LLMs an…
Offline methodology engine for authorized penetration testing, CTF, and security research.
Related MCP Servers
- FlicenseCqualityDmaintenanceEnables LLMs to capture, analyze, and summarize network traffic using Wireshark CLI tools, supporting live capture, pcap analysis, and LLM-oriented summaries.76-
- AlicenseNot gradedqualityDmaintenanceBridges AI assistants with network packet analysis, enabling PCAP investigation, protocol discovery, packet filtering, stream analysis, and live capture through natural language.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to interact with tshark and related command-line tools for live packet capture, PCAP analysis, filtering, stream following, and capture file merging.1MIT
- AlicenseBqualityBmaintenanceEnables local LLM clients to capture and analyze network traffic using Wireshark's CLI tools, providing packet summaries, protocol hierarchies, conversations, endpoints, expert info, and stream reassembly without shell access.12MIT