tshark-mcp for read-only packet-capture analysis
Inspect permitted packet captures through tshark and return findings with frame references.
Overview
tshark-mcp connects an assistant to saved packet captures through Wireshark’s tshark command-line reader. The project describes investigations of connection failures, DNS and TLS errors, slow servers, one-way audio and telecom protocols such as Diameter, GTP, SIP and 5G. Its incident-summary workflow runs checks appropriate to the capture, ranks findings and suggests the next tool call. Findings carry frame numbers that a person can inspect in Wireshark. An allowed-directory configuration bounds which capture files the server may read. The documented server does not provide a shell, live capture or write operations. It applies limits to size, packet counts, output and runtime, and offers optional redaction of subscriber identifiers, phone numbers and addresses.
Getting started
Install the documented uv and tshark prerequisites, then configure the MCP process with an explicit capture directory. The repository includes connection examples for local clients and Docker.
Compatibility and requirements
Local read-only MCP server; requires tshark and the documented Python packaging route.
Things to know
Capture-analysis results still need interpretation and can be wrong. Redaction is optional, and packet captures may contain sensitive information. The repository’s validation results are publisher-reported rather than a Franklin audit.
Frequently asked questions
What do I need before connecting?
Install the documented uv and tshark prerequisites, then configure the MCP process with an explicit capture directory. The repository includes connection examples for local clients and Docker.
Which connection route is documented?
Local read-only MCP server; requires tshark and the documented Python packaging route.
Sources and documentation
- https://github.com/Kx96xx/tshark-mcp
- https://pypi.org/project/tshark-mcp-server
- https://raw.githubusercontent.com/Kx96xx/tshark-mcp/HEAD/README.md
Related MCP servers and skills
- Senpi MCP for read-only Hyperliquid researchMCP server
- Cedwyn archive (read-only)MCP server
- LLM Cost Watch for spend and latency analysisMCP server
- Binary Analysis PatternsAgent skill
- DOCX creation, editing, and analysisAgent skill
- Error Diagnostics Error AnalysisAgent skill