MCP.so
ログイン

MCP Wireshark

@khuynh22

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.

基本情報

カテゴリ

その他

ライセンス

MIT

ランタイム

python

トランスポート

stdio

公開者

khuynh22

投稿者

Khang Nguyen Huynh

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

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

FAQ from MCP Wireshark

What prerequisites are required to run MCP Wireshark?

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

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.

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.

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.

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.

コメント

「その他」の他のコンテンツ