mcpcap

v0.10.0
ai.mcpcap/mcpcap Checked 4 hours ago Published 2 months ago

An MCP server for analyzing PCAP files.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

analyze_dns_packets

Analyze DNS packets from a PCAP file and return comprehensive analysis results. FILE UPLOAD LIMITATION: This MCP tool cannot process files uploaded through Claude's web interface. Files must be accessible via URL or local file path. SUPPORTED INPUT FORMATS: - Remote files: "https://example.com/capture.pcap" - Local files: "/absolute/path/to/capture.pcap" UNSUPPORTED: - Files uploaded through Claude's file upload feature - Base64 file content - Relative file paths

ParameterTypeDescription
pcap_file *stringHTTP URL or absolute local file path to PCAP file

analyze_dhcp_packets

Analyze DHCP packets from a PCAP file and return comprehensive analysis results. FILE UPLOAD LIMITATION: This MCP tool cannot process files uploaded through Claude's web interface. Files must be accessible via URL or local file path. SUPPORTED INPUT FORMATS: - Remote files: "https://example.com/capture.pcap" - Local files: "/absolute/path/to/capture.pcap" UNSUPPORTED: - Files uploaded through Claude's file upload feature - Base64 file content - Relative file paths

ParameterTypeDescription
pcap_file *stringHTTP URL or absolute local file path to PCAP file

analyze_icmp_packets

Analyze ICMP packets from a PCAP file and return comprehensive analysis results. FILE UPLOAD LIMITATION: This MCP tool cannot process files uploaded through Claude's web interface. Files must be accessible via URL or local file path. SUPPORTED INPUT FORMATS: - Remote files: "https://example.com/capture.pcap" - Local files: "/absolute/path/to/capture.pcap" UNSUPPORTED: - Files uploaded through Claude's file upload feature - Base64 file content - Relative file paths

ParameterTypeDescription
pcap_file *stringHTTP URL or absolute local file path to PCAP file

analyze_capinfos

Return metadata from a PCAP file, similar to Wireshark's capinfos utility. IMPORTANT: This tool expects a FILE PATH or URL, not file content. - For local files: "/path/to/capture.pcap" - For remote files: "https://example.com/capture.pcap" - File uploads are NOT supported - save the file locally first

ParameterTypeDescription
pcap_file *stringPath to local PCAP file or HTTP URL to remote PCAP file (NOT file content - must be a path or URL)

analyze_tcp_connections

Analyze TCP connection states and lifecycle. This is the core tool for TCP connection analysis, solving 80% of TCP-related issues. FILE UPLOAD LIMITATION: This MCP tool cannot process files uploaded through Claude's web interface. Files must be accessible via URL or local file path. SUPPORTED INPUT FORMATS: - Remote files: "https://example.com/capture.pcap" - Local files: "/absolute/path/to/capture.pcap" UNSUPPORTED: - Files uploaded through Claude's file upload feature - Base64 file content - Relative file paths

ParameterTypeDescription
pcap_file *stringHTTP URL or absolute local file path to PCAP file
detailedbooleanWhether to return detailed connection information
server_ipOptional filter for server IP address
server_portOptional filter for server port

analyze_tcp_anomalies

Detect TCP traffic patterns through statistical analysis. This tool analyzes TCP traffic to identify observable patterns without making assumptions about root causes. It provides factual metrics and pattern detection that can be used for further investigation.

ParameterTypeDescription
pcap_file *stringHTTP URL or absolute local file path to PCAP file
server_ipOptional filter for server IP address
server_portOptional filter for server port

analyze_tcp_retransmissions

Analyze TCP retransmission patterns.

ParameterTypeDescription
pcap_file *stringHTTP URL or absolute local file path to PCAP file
server_ipOptional filter for server IP address
thresholdnumberRetransmission rate threshold (default: 2%)

analyze_traffic_flow

Analyze bidirectional traffic flow characteristics. Identifies traffic direction, asymmetry, RST sources, and data transfer patterns.

ParameterTypeDescription
pcap_file *stringHTTP URL or absolute local file path to PCAP file
server_ip *stringServer IP address (required)
server_portOptional filter for server port

analyze_sip_packets

Analyze SIP packets from a PCAP file and return structured signaling details. FILE UPLOAD LIMITATION: This MCP tool cannot process files uploaded through Claude's web interface. Files must be accessible via URL or local file path. SUPPORTED INPUT FORMATS: - Remote files: "https://example.com/capture.pcap" - Local files: "/absolute/path/to/capture.pcap" UNSUPPORTED: - Files uploaded through Claude's file upload feature - Base64 file content - Relative file paths

ParameterTypeDescription
pcap_file *stringHTTP URL or absolute local file path to PCAP file