tshark-mcp
io.github.Kx96xx/tshark-mcp
v0.4.0Updated Nov 13, 2026stdio · PyPI
Read-only packet capture analysis with tshark: Diameter, GTP, SIP, RTP, SIGTRAN, DNS, TCP and TLS.
Install
Replace 1 placeholder with your own values.
Run in your terminal. Replace 1 placeholder.
claude mcp add tshark-mcp -e 'TSHARK_MCP_ALLOW_DIRS=<your-tshark-mcp-allow-dirs>' -e TSHARK_MCP_REDACT=off -- uvx tshark-mcp-server==0.4.0Configuration
4 settings.
TSHARK_MCP_ALLOW_DIRSEnv var· requiredDirectories the server may read captures from, colon-separated. Required: the server refuses to start without one.TSHARK_MCP_TSHARKEnv var· optionalPath to the tshark binary (4.0 or newer) when it is not on PATH.TSHARK_MCP_REDACTEnv var· optionalPseudonymise identifiers in every result: ids (IMSI, MSISDN, IMEI, SIP users, UE IPs) or ids+ips (every IP too).Default:offTSHARK_MCP_EXPORT_DIREnv var· optionalTurns on export_subset: the one directory it may write new pcapng files to. Must not overlap an allowed dir. Unset: the server writes nothing.
Links
Listed in the official MCP Registry since Nov 13, 2026. Mirrored daily; last checked Nov 26, 2026.