Install mcpcap
Install using pip, uv, or uvx for one-time usage
Start the Server
Run mcpcap to start the MCP server
Connect & Analyze
Use any MCP-compatible LLM client to analyze traffic
# Using pip
pip install mcpcap
# Using uv
uv add mcpcap
# One-time usage
uvx mcpcap
# Start MCP server
mcpcap
# Then use tools with local files
analyze_dns_packets("/path/to/capture.pcap")
analyze_dhcp_packets("/path/to/dhcp.pcap")
analyze_icmp_packets("/path/to/network.pcap")
# Start MCP server
mcpcap
# Then use tools with remote files
analyze_dns_packets("https://example.com/capture.pcap")
analyze_dhcp_packets("https://example.com/dhcp.pcap")
analyze_icmp_packets("https://example.com/network.pcap")