Wireshark/tshark MCP server — capture live network traffic, analyze .pcap files, apply display filters, follow TCP/UDP streams, and export to JSON. Works with Claude Desktop, VS Code Copilot, and any MCP-compatible client.
Overview
mcp-wireshark
MCP server that exposes Wireshark/tshark to AI assistants. Install tshark, then pip install mcp-wireshark.
Tools
check_installation— verify tshark is installedlist_interfaces— list network interfaceslive_capture— capture live trafficread_pcap— read .pcap/.pcapng filesdisplay_filter— apply Wireshark display filterssummarize_pcap— high-level summary with top protocols and talkersstats_by_proto— protocol hierarchy statisticsfollow_tcp/follow_udp— extract stream payloadsexport_json— export packets to JSON
Server Config
{
"mcpServers": {
"wireshark": {
"command": "mcp-wireshark",
"args": []
}
}
}