Wireshark-MCP
FreeWireshark 网络数据包分析 MCP 服务器,具有抓包、协议统计、字段提取和安全分析功能。
About Wireshark-MCP
Wireshark-MCP is an MCP server that wraps tshark (and optional Wireshark suite tools) into a structured analysis interface. It allows AI assistants (e.g., Claude, Cursor, VS Code) to analyze network packet captures by simply dropping a .pcap file and asking questions in plain English. The server offers 40+ tools organized into categories: agentic workflows (security audit, quick analysis, open file), packet analysis (list, details, bytes, stream follow, search), data extraction (HTTP requests, DNS queries, TLS handshakes, field extraction), statistics (protocol hierarchy, endpoints, conversations, I/O graph, expert info), security (threat intel, credential scan, port scan, DNS tunnel, DoS detection), protocol deep dive (TCP health, ARP spoofing, SMTP, DHCP), file operations (live capture, merge, filter-save, file info), and decode/visualize (payload decode, traffic plot, protocol tree). Only tshark is required; optional tools like capinfos, mergecap, editcap, dumpcap, text2pcap enable extra features when present. Installation is via pip, with auto-configuration for multiple MCP clients.
Key Features
Pros & Cons
- Free and open source (MIT license)
- Works with multiple AI assistants (Claude, Cursor, VS Code, etc.)
- 40+ tools covering comprehensive network analysis
- Integrates with existing tshark/Wireshark installation
- Easy installation with pip and auto-configuration
- Supports both English and Chinese documentation
- Agentic workflows enable automated multi-step analysis
- Requires Wireshark/tshark to be installed and on PATH
- Dependent on tshark capabilities and may lack GUI features of full Wireshark
- Primarily designed for MCP-compatible AI clients; not a standalone tool
- Some advanced tools require additional Wireshark suite components (mergecap, editcap, etc.)