awslabs.pcap-analyzer-mcp-server
v1.0.2A Model Context Protocol server for comprehensive network packet capture and analysis using Wireshark/tshark
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_network_interfaces
List available network interfaces for packet capture
start_packet_capture
Start packet capture on specified interface
| Parameter | Type | Description |
|---|---|---|
interface * | string | Network interface to capture on (e.g., 'en0') |
capture_filter | string | BPF filter for capture (e.g., 'tcp port 80') |
duration | integer | Capture duration in seconds (default: 60) |
output_file | string | Custom output filename (optional) |
stop_packet_capture
Stop an active packet capture session
| Parameter | Type | Description |
|---|---|---|
capture_id * | string | ID of the capture session to stop |
get_capture_status
Get status of all active capture sessions
list_captured_files
List all captured pcap files in storage directory
analyze_pcap_file
Analyze a pcap file and generate insights
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file or filename in storage |
analysis_type | string | Type of analysis (summary, protocols) |
display_filter | string | Wireshark display filter (e.g., 'tcp.port == 80') |
extract_http_requests
Extract HTTP requests from pcap file
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
limit | integer | Maximum number of requests to extract |
generate_traffic_timeline
Generate traffic timeline with specified time intervals
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
time_interval | integer | Time interval in seconds for timeline |
search_packet_content
Search for specific patterns in packet content
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
search_pattern * | string | Pattern to search for in packet content |
case_sensitive | boolean | Whether search should be case sensitive |
limit | integer | Maximum number of matches to return |
analyze_network_performance
Analyze network performance metrics from pcap file
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_network_latency
Analyze network latency and response times
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_tls_handshakes
Analyze TLS handshakes including SNI, key exchange groups, and Post-Quantum Cryptography (PQC) detection
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_sni_mismatches
Analyze SNI mismatches and correlate with connection resets
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
extract_certificate_details
Extract SSL certificate details and validate against SNI
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_tls_alerts
Analyze TLS alert messages that indicate handshake failures
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_connection_lifecycle
Analyze complete connection lifecycle from SYN to FIN/RST
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
extract_tls_cipher_analysis
Analyze TLS cipher suite negotiations, key exchange groups, and PQC algorithm usage
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_tcp_retransmissions
Analyze TCP retransmissions and packet loss patterns
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_tcp_zero_window
Analyze TCP zero window conditions and flow control issues
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_tcp_window_scaling
Analyze TCP window scaling and flow control mechanisms
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_packet_timing_issues
Analyze packet timing issues and duplicate packets
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_congestion_indicators
Analyze network congestion indicators and quality metrics
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_dns_resolution_issues
Analyze DNS resolution issues and query patterns
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_expert_information
Analyze Wireshark expert information for network issues
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
severity_filter | string | Filter by severity (Chat, Note, Warn, Error) |
analyze_protocol_anomalies
Analyze protocol anomalies and malformed packets
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_network_topology
Analyze network topology and routing information
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_security_threats
Analyze potential security threats and suspicious activities
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
generate_throughput_io_graph
Generate throughput I/O graph data with specified time intervals
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
time_interval | integer | Time interval in seconds for I/O graph |
analyze_bandwidth_utilization
Analyze bandwidth utilization and traffic patterns
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
time_window | integer | Time window in seconds for bandwidth calculation |
analyze_application_response_times
Analyze application layer response times and performance
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
protocol | string | Protocol to analyze (http, https, dns, ftp) |
analyze_network_quality_metrics
Analyze network quality metrics including jitter and packet loss
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_mtu_fragmentation
Analyze MTU/fragmentation issues including Path MTU discovery failures, IP fragmentation, and ICMP "packet too big" messages
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_tcp_resets
Analyze TCP connection resets (RST) with context: who sent the reset, connection duration, bytes transferred, and likely cause
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_duplicate_acks
Analyze duplicate ACKs and fast retransmit patterns to distinguish real packet loss from reordering
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_icmp_errors
Analyze ICMP error messages: destination unreachable, TTL exceeded, redirects, and parameter problems
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_connection_timeouts
Detect connection timeouts: unanswered SYNs (firewall drops), idle connection timeouts, and half-open connections
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_out_of_order_packets
Detect TCP out-of-order packets that indicate network path issues or reordering without actual loss
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_quic_traffic
Analyze QUIC/HTTP3 traffic: connection IDs, handshake failures, version negotiation, stream multiplexing, and connection migration
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_connection_reuse
Analyze HTTP connection pooling and reuse: requests per connection, keep-alive effectiveness, idle time before close, and connection churn
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
analyze_geo_asn_mapping
Map IP addresses to ASN/organization using whois data to identify providers, CDNs, and traffic routing paths
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
top_n | integer | Number of top IPs to resolve (default: 20) |
follow_tcp_stream
Reassemble and follow a TCP stream by stream index, showing the full conversation payload between client and server
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
stream_index * | integer | TCP stream index to follow |
follow_udp_stream
Reassemble and follow a UDP stream by stream index
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
stream_index * | integer | UDP stream index to follow |
extract_fields
Extract arbitrary tshark fields from packets with optional display filter. Supports any valid tshark field name.
| Parameter | Type | Description |
|---|---|---|
fields * | array | List of tshark field names to extract (e.g., ['ip.src', 'tcp.port', 'http.host']) |
pcap_file * | string | Path to pcap file |
display_filter | string | Optional Wireshark display filter (e.g., 'http.request') |
limit | integer | Maximum number of packets to return (default: 100) |
detect_arp_spoofing
Detect ARP spoofing: duplicate IP-to-MAC mappings, gratuitous ARP floods, and ARP reply storms
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
detect_dns_tunneling
Detect DNS tunneling: unusually long domain queries, high TXT record volume, excessive subdomain entropy, and single-host query floods
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |
extract_credentials
Detect plaintext credentials in HTTP Basic Auth, FTP USER/PASS, Telnet, and SMTP AUTH traffic
| Parameter | Type | Description |
|---|---|---|
pcap_file * | string | Path to pcap file |