Install mcpcap
Install using pip, uv, or uvx for one-time usage
Start the Server
Run mcpcap to start the MCP server
Connect & Analyze
Provide file paths or URLs to analyze PCAP files (no uploads)
# Using pip
pip install mcpcap
# Using uv
uv add mcpcap
# One-time usage
uvx mcpcap
# Start MCP server
mcpcap
# Then use tools with local file PATHS (not uploads)
analyze_dns_packets("/path/to/capture.pcap")
analyze_dhcp_packets("/path/to/dhcp.pcap")
analyze_icmp_packets("/path/to/network.pcap")
analyze_capinfos("/path/to/capture.pcap")
# Start MCP server
mcpcap
# Then use tools with remote URLs (not uploads)
analyze_dns_packets("https://example.com/capture.pcap")
analyze_dhcp_packets("https://example.com/dhcp.pcap")
analyze_icmp_packets("https://example.com/network.pcap")
analyze_capinfos("https://example.com/capture.pcap")