
mcp-wireshark
by khuynh22·★ 36·Score 44
An MCP server that integrates Wireshark/tshark with AI tools for network analysis.
Overview
mcp-wireshark is a production-ready MCP server that provides Claude Desktop, VS Code, and CLI with direct access to network packet capture and analysis capabilities. It exposes 10 tools divided into read operations (safe inspection) and write operations (capture and export), allowing AI assistants to summarize PCAP files, apply display filters, follow TCP/UDP streams, capture live traffic, and export data to JSON. The server is cross-platform, typed, tested, and pip-installable with clear documentation and maintenance.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server when you need to integrate Wireshark/tshark capabilities into AI workflows for network analysis, debugging, or security monitoring without leaving your chat interface.
When NOT to choose this
Don't choose this if you need advanced Wireshark features not exposed by the MCP server, or if you're working in an environment where installing system dependencies like tshark is restricted.
Tools this server exposes
10 tools extracted from the READMEcheck_installationVerify tshark is installed and show version
list_interfacesList network interfaces available to capture from
read_pcapRead packets from a .pcap/.pcapng file
display_filterApply a Wireshark display filter to a pcap
summarize_pcapGenerate high-level summary of pcap including stats and top talkers
stats_by_protoGet protocol hierarchy statistics from a pcap
follow_tcpReassemble a TCP stream and return its payload
follow_udpReassemble a UDP stream and return its payload
live_captureCapture live traffic from an interface
export_jsonExport packets from a pcap to a JSON file
Comparable tools
Installation
pip install mcp-wireshark
claude mcp add --transport stdio --scope user mcp-wireshark -- mcp-wiresharkFor Claude Desktop, add to claude_desktop_config.json:
{
"mcpServers": {
"wireshark": {
"command": "mcp-wireshark"
}
}
}For VS Code, create .vscode/mcp.json:
{
"servers": {
"wireshark": {
"command": "mcp-wireshark"
}
}
}FAQ
- How do I install tshark on Windows?
- Install Wireshark from https://www.wireshark.org/download.html and add 'C:\Program Files\Wireshark' to your system PATH.
- What are the permissions needed for live capture on Linux?
- Add yourself to the 'wireshark' group with 'sudo usermod -aG wireshark $USER', then log out and back in.
Compare mcp-wireshark with
Last updated · Auto-generated from public README + GitHub signals.