Traffic Inspector

•
2
•

Inspect, capture, replay, and diagnose full-stack network traffic across L3/L4 and L7 protocols for AI agents.

Traffic Inspector is an industrial-grade full-stack network inspection MCP server designed specifically for AI agents and LLMs. Built with a decoupled master-sub进程 architecture and a shared SQLite WAL data bus, it bridges application-layer HTTP/HTTPS/WebSocket proxying (via mitmproxy) with transport-layer raw packet capture (via tshark). It empowers agents with end-to-end network observability, supervised process launching, automated root-cause diagnosis, chaos fault injection, and token-optimized querying without blowing context windows.

Características Principales

01Full-stack dual-track capture combining L7 HTTP/HTTPS/WebSocket proxying with L3/L4 tshark PCAP recording
02Chaos fault injection and simulation including latency delays, connection aborts, and hit-limited mocking rules
03Follow TCP stream reassembly with heuristic payload dissection for TLS SNI detection, gzip decompression, and readable text extraction
04Automated network root-cause diagnosis, HAR 1.2 standard exporting, and token-saving compact flow queries
052 GitHub stars
06Supervised process execution with instant proxy and CA certificate environment variable injection from PID millisecond zero

Casos de Uso

01Debugging API requests and inspecting WebSocket frame interactions during client-server development
02Injecting network latency and simulated connection failures to test client retry and fallback mechanisms
03Capturing and diagnosing low-level TCP packet anomalies, retransmission spikes, and socket traffic for local microservices