MCP.so
Sign In

MCP Wireshark

@khuynh22

Basic information

Category

Other

License

MIT

Transports

stdio

Author

khuynh22

Submitted by

Khang Nguyen Huynh

About MCP Wireshark

An MCP server that integrates Wireshark/tshark with AI tools and IDEs. Capture live traffic, parse .pcap files, apply display filters, follow streams, and export JSON - all via Claude Desktop, VS Code, or CLI. Cross‑platform, typed, tested, and pip‑installable.

MCP Wireshark config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "wireshark": {
      "command": "mcp-wireshark",
      "args": []
    }
  }
}

MCP Wireshark tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Wireshark?

MCP Wireshark is a community-maintained MCP server that gives AI assistants direct access to Wireshark/tshark packet captures. It allows users to summarize .pcap files, follow TCP streams, filter for specific protocols, and capture live traffic without leaving the chat.

How to use MCP Wireshark?

Install the package with pip install mcp-wireshark and add it to Claude Code using claude mcp add --transport stdio --scope user mcp-wireshark -- mcp-wireshark. The server works with any MCP client (Claude Desktop, VS Code, Cursor, etc.) and requires tshark to be installed and on the system PATH.

Key features of MCP Wireshark

  • 14 tools split into read and write categories
  • Read tools: summarize_pcap, display_filter, follow_tcp/udp, expert_info, decode_protocol, analyze_iec61850, and more
  • Write tools: live_capture (capped at 5 min / 10k packets) and export_json
  • All read tools annotated with MCP readOnlyHint for safety
  • Security: file path validation, no shell metacharacters, no shell=True, hard caps on packets and time
  • Supports IEC 61850 analysis (GOOSE, SV, MMS)

Use cases of MCP Wireshark

  • Summarize an unknown packet capture to see I/O stats, protocol hierarchy, and top talkers
  • Follow a TCP or UDP stream and extract its payload
  • Filter a capture with Wireshark display filters for specific protocols (HTTP, DNS, TLS, etc.)
  • Capture live traffic from a network interface with a display filter
  • Export packets from a pcap to a JSON file for further analysis

Frequently asked questions

1

What prerequisites are required to run MCP Wireshark?

Python 3.10+ and Wireshark installed with `tshark` reachable on the system `PATH`.

2

How can I verify the installation?

Inside Claude Code, ask the assistant to "Run check_installation." If `tshark` is on the `PATH`, it returns the version.

3

How do I capture live traffic with MCP Wireshark?

Use the `live_capture` tool. It captures traffic from a specified interface, capped at 5 minutes or 10,000 packets, and can be combined with a display filter.

4

What should I do if `tshark` is not found on Windows?

Add the Wireshark installation directory (e.g., `C:\Program Files\Wireshark`) to the system `PATH` environment variable, then restart the terminal and Claude Code.

5

Does MCP Wireshark support IEC 61850 protocols?

Yes, the `analyze_iec61850` tool provides health triage for GOOSE, SV, and MMS captures, including gap detection, TTL violations, and MMS errors.

Comments

More Other MCP servers