Back to Home
khuynh22 icon

mcp-wireshark

Verified Safe

by khuynh22

Overview

Integrate Wireshark/tshark capabilities into AI tools and IDEs for network packet capture and analysis.

Installation

Run Command
mcp-wireshark

Security Notes

The server implements robust input validation for file paths, preventing path traversal attacks and limiting allowed file extensions (.pcap, .pcapng, .cap). Display filter expressions are sanitized to prevent command injection (e.g., checking for semicolons, pipes, backticks). Resource limits for packet count (max 10,000) and capture duration (max 300 seconds) mitigate potential denial-of-service. Subprocess execution (`run_tshark`, `run_dumpcap`) uses argument lists directly, which is inherently safer than shell execution. Live packet capture is an inherently privileged operation, and the documentation clearly states that it requires elevated permissions on most systems.

Similar Servers

Stats

Interest Score23
Security Score9
Cost ClassMedium
Avg Tokens50000
Stars20
Forks1
Last Update2025-12-15

Tags

wiresharktsharknetwork-analysispacket-capturemcp