Wireshark MCP

data-ai MCP Server

Wireshark-MCP,Give your AI assistant a packet analyzer. Drop a .pcap file, ask questions in plain English — get answers backed by real tshark data.

Install Ready
data-aidata-ai
4 views143 stars20 forksMIT

Why This Matters

Discovered via unknown and last synced 3mo ago.

Install Ready
Source
unknown
Stars
143
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

pip install wireshark-mcp
62
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (62)

wireshark_open_file

**Smart file opener**: analyzes pcap content and recommends the most relevant tools while keeping the MCP tool surface stable

wireshark_follow_stream

Reassemble a full TCP / UDP / HTTP stream with pagination and search

wireshark_security_audit

**One-call security audit**: 8-phase analysis (threat intel, credential scan, port scan, DNS tunnel, cleartext, anomalies) with risk scoring (0-100) and recommendations

wireshark_list_ips

All unique source, destination, or both IP addresses

wireshark_quick_analysis

**One-call traffic overview**: file info, protocol distribution, top talkers, conversations, hostnames, anomaly summary, suggested next steps

wireshark_stats_protocol_hierarchy

Protocol Hierarchy Statistics — see what protocols dominate

Area

v1.0 baseline

Client

Config File

wireshark_get_packet_details

Full JSON dissection of a single frame, with optional layer filtering to cut token usage

wireshark_search_packets

Pattern search across raw bytes or decoded fields (Regex supported)

wireshark_get_file_info

File metadata via `capinfos` (duration, packet count, link type)

wireshark_editcap_time_shift

Shift packet timestamps by a relative offset using `editcap`

wireshark_detect_dos_attack

Detect DoS/DDoS patterns (SYN flood, ICMP/UDP flood, DNS amplification)

wireshark_export_objects

Extract embedded files (HTTP, SMB, TFTP, etc.)

wireshark_stats_service_response_time

SRT stats for HTTP, DNS, and other protocols

wireshark_detect_dns_tunnel

Detect DNS tunneling (long queries, TXT abuse, subdomain entropy)

wireshark_extract_dhcp_info

DHCP lease information: assigned IPs, hostnames, DNS servers

ctf_solve

CTF challenge solver: flag search, stream analysis, steganography checks

wireshark_verify_ssl_decryption

Confirm TLS decryption using a keylog file

wireshark_editcap_split

Split a capture by packet count or interval using `editcap`

wireshark_get_packet_context

View N packets before and after a frame for contextual debugging

wireshark_stats_expert_info

Wireshark's expert analysis: errors, warnings, notes

wireshark_extract_credentials

Detect plaintext credentials in HTTP Basic Auth, FTP, and Telnet

wireshark_editcap_deduplicate

Remove duplicate packets using `editcap`'s duplicate window

wireshark_list_interfaces

List available network interfaces

wireshark_get_packet_bytes

Raw Hex + ASCII dump (Wireshark's "Packet Bytes" pane)

wireshark_extract_dns_queries

All DNS queries in the capture

wireshark_stats_io_graph

Traffic volume over time (spot DDoS, scans, bursts)

wireshark_analyze_suspicious_traffic

Comprehensive anomaly analysis: cleartext protocols, unusual ports, expert warnings

Manual

--- ## Troubleshooting

wireshark_extract_fields

Extract any tshark fields as a table

wireshark_stats_conversations

Communication pairs with byte/packet counts

wireshark_capture

Start a live capture (duration, packet count, BPF filter, ring buffer)

wireshark_extract_smtp_emails

SMTP email metadata: sender, recipient, mail server info

Tool

Description

wireshark_get_capabilities

**Toolchain capability report**: required, recommended, and optional Wireshark suite tools visible to the current MCP server

wireshark_get_packet_list

Paginated packet list with display filter and custom column support

wireshark_read_packets

Deprecated compatibility tool retained for `1.x`; prefer `wireshark_get_packet_list` and `wireshark_get_packet_details`

wireshark_extract_http_requests

HTTP method, URI, and host for every request

wireshark_stats_endpoints

All endpoints sorted by traffic volume

wireshark_merge_pcaps

Merge multiple captures into one file

wireshark_filter_save

Apply a display filter and save matching packets to a new file

wireshark_editcap_trim

Trim a capture to a timestamp window using `editcap`

wireshark_text2pcap_import

Convert ASCII or hex dumps into capture files using `text2pcap`

wireshark_check_threats

Cross-reference captured URLs and hostnames against [URLhaus](https://urlhaus.abuse.ch/) threat intelligence

wireshark_detect_port_scan

Detect SYN, FIN, NULL, and Xmas port scans with configurable threshold

wireshark_extract_tls_handshakes

TLS version, cipher suite, SNI, and certificate info from Client/Server Hello

wireshark_analyze_tcp_health

TCP retransmissions, duplicate ACKs, zero window, resets, out-of-order analysis

wireshark_detect_arp_spoofing

ARP spoofing detection: IP-MAC conflicts, gratuitous ARP floods

wireshark_decode_payload

Auto-detect and decode Base64, Hex, URL encoding, Gzip, Deflate, Rot13, and more

wireshark_plot_traffic

ASCII bar chart of traffic over time — spot DDoS or scan patterns instantly

wireshark_plot_protocols

ASCII protocol tree — visual overview of what's in the capture

Prompt

Description

security_audit

Full security audit workflow: threat intel, credential scan, attack detection

performance_analysis

Network performance analysis: TCP health, response times, bottlenecks

Feature

Wireshark MCP

incident_response

IR workflow: triage, IOC extraction, attack timeline, containment

traffic_overview

Quick traffic summary with protocol breakdown and visualization

Contributing

[CONTRIBUTING.md](CONTRIBUTING.md)

Changelog

[CHANGELOG.md](CHANGELOG.md)

Category

Highlights

3

The server starts with only `tshark` required. Optional tools (`capinfos`, `mergecap`, `editcap`, `dumpcap`, `text2pcap`) are auto-detected and enable extra features when present. --- ## Documentation