1. Conduid
  2. Security
  3. Wireshark MCP
MCP server · Security

Wireshark MCP

Wireshark-MCP,Give your AI assistant a packet analyzer. Drop a .pcap file, ask questions in plain English — get answers backed by real tshark data.

Unclaimed MIT security
69Good

Scored 10 days ago · breakdown

About Wireshark MCP

Wireshark MCP is an MCP server published by bx33661 in the Security category: wireshark-MCP,Give your AI assistant a packet analyzer. Drop a .pcap file, ask questions in plain English — get answers backed by real tshark data.

The repository has 319 stars and 32 forks, with the last commit 3 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/bx33661/Wireshark-MCP

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Wireshark MCP

Powered by Claude · Grounded in docs

I know everything about Wireshark MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v3.1.03.1.0 · 18 Oct 20263.1.0 — 2026-10-17 English Highlights Bluetooth Low Energy analysis: five new `wireshark_analyze_protocol` values (`ble_devices`, `ble_scan_activity`, `ble_gatt_timeline`, `ble_connections`, `ble_pairing`) without growing the 52-tool…
v3.0.0Wireshark MCP 3.0.0 — Trustworthy Analysis and Stable Interfaces / 可信分析与稳定接口 · 5 Sep 20263.0.0 — 2026-09-05 English Added `wireshark_aggregate` for capture-wide counts, grouped distributions, distinct cardinality, top-k output, and time buckets. Stable result contract: `envelope_response` standardizes `scope`, `coverage`,…
v2.0.0Wireshark MCP v2.0.0 · 28 Jul 2026Full Changelog: https://github.com/bx33661/Wireshark-MCP/compare/v1.1.5...v2.0.0
v1.2.0v1.2.0 · 10 May 20261.2.0 — 2026-05-10 Performance, token optimization, and new protocol analysis tools. Added QUIC/HTTP3 analysis — `wireshark_analyze_quic` extracts QUIC version, connection IDs, SNI, and HTTP/3 frames WebSocket analysis —…
v1.1.5v1.1.5 · 18 Apr 2026修复 / Fixes TUI 箭头键修复(macOS Terminal、iTerm2、Claude Code 终端)— 同时处理 CSI(`\x1bA/B`)和 SS3(`\x1bOA/B`)两种转义序列,彻底解决上下键误判为 ESC 导致安装菜单立即退出的问题 BufferedReader 缓冲竞争修复 — 将 `sys.stdin.buffer.read(1)` 替换为 `os.read(fd, 1)`,绕过 Python 内部缓冲层,确保…

README

Give your AI assistant a packet analyzer.

Drop a .pcap file, ask questions in plain English — get answers backed by real tshark data.


What is this?

An MCP server that wraps tshark (and optional Wireshark suite tools) into a structured analysis interface. Works with Claude Desktop, Claude Code, Cursor, VS Code, and 18+ other MCP clients.

You:    "Find all DNS queries going to suspicious domains in this capture."
Claude: [calls wireshark_extract_dns_queries → wireshark_detect_dns_tunnel]
        "Found repeated high-entropy DNS queries consistent with tunneling: ..."

Install

Claude Code / Codex plugin route

Prerequisites: uv and Wireshark CLI (tshark). The plugin includes this project and both skills; the client runs the locked Python project through uv over stdio. It does not install Wireshark or capture drivers.

From a checkout containing these plugin manifests, choose your client:

# Codex
codex plugin marketplace add .
codex plugin add wireshark-mcp@wireshark-mcp

# Claude Code
claude plugin marketplace add .
claude plugin install wireshark-mcp@wireshark-mcp

See plugin distribution for local installation, old-version refresh, environment settings and the GitHub entrypoint after publication. Choose this route or the traditional registration route below, not both.

Traditional Python package route

Prerequisites: Python 3.10+ and Wireshark with tshark on PATH.

Wireshark MCP 3.0 uses the stable MCP Python SDK 2.x line (mcp>=2.1.1,<3).

pip install wireshark-mcp
wireshark-mcp install   # choose from detected MCP clients

For scripts/non-interactive terminals, select clients explicitly. Preview before installing into the current project:

wireshark-mcp install --client codex --scope project --dry-run
wireshark-mcp install --client codex --scope project

The default scope is global. Repeat --client or explicitly use --client all. Restart the client to load configuration. See the installation guide for updates, removal, backups and exit codes.

The project also ships MCP and full TShark CLI analysis skills; see skill discovery and usage.

Run wireshark-mcp doctor if anything looks off. See docs/manual-configuration.md for manual setup or platform-specific notes.


Quick Start

Point your AI client at a .pcap file and try:

Analyze capture.pcap using the Wireshark MCP tools.
Start with wireshark_open_file, then run wireshark_quick_analysis.
Use wireshark_aggregate for any capture-wide count or distribution.
Write findings to report.md.

Tools

52 tools, each backed by real tshark output — organized into categories:

Category Highlights Count
Entry & Workflow wireshark_open_file, wireshark_quick_analysis 2
Packet Analysis Packet list, details, bytes, context, stream follow, search, file info 8
Data Extraction HTTP requests, DNS queries, arbitrary fields, object export 4
Statistics Aggregate/group/distinct/top-k/time buckets, protocol hierarchy, endpoints, conversations, I/O graph, expert info, service response time, flow graph 8
Security & Anomaly Credential scan, port scan, DNS tunnel, DoS, beaconing, exfiltration, protocol anomalies, YARA 8
Protocol Analysis wireshark_analyze_protocol (25 protocols incl. BLE pairing, scanner detection, GATT timeline with handle labels, connection lifecycle), TCP health, ARP spoofing 3
Decrypt & Dissection TLS/WPA decrypt, decryption check, decode-as, protocol preferences 5
Forensics & Enrichment TLS fingerprints, file signature scan, GeoIP 3
File Ops, Capture & Suite Live capture, interfaces, merge, filter-save, editcap trim/split/dedup/time-shift, frame extract, text2pcap, capabilities 11

One tool covers 25 protocols rather than 25 tools covering one each: wireshark_analyze_protocol takes a protocol argument (tls_handshakes, mqtt, modbus, s7comm, zigbee, wifi, rtp, kerberos, …) and applies the right fields and display filter for it. The field names are the point — s7comm.param.item.dbnum is not something a caller should have to guess, and a wrong guess returns an empty result that reads like a clean capture.

The server starts with only tshark required. Optional tools (capinfos, mergecap, editcap, dumpcap, text2pcap) are auto-detected and enable extra features when present.

Context cost

The tool list travels in the prompt prefix of every request your client sends, so its size is a fixed per-request cost. The default surface is ~22 KB — about 9 KB of parameter schema, 5 KB of descriptions, and 3 KB of read/write annotations — and it is byte-identical across restarts so clients can cache the prefix rather than re-reading it each session.

If your client never captures live traffic or writes pcaps, --profile advertises less:

Profile Tools Payload Drops
full (default) 52 ~22 KB nothing
analysis 40 ~17 KB live capture, interface listing, all file-writing tools
core 32 ~14 KB the above, plus decryption, dissection overrides, and low-level views
wireshark-mcp serve --profile core

Runtime prompts and protocol recommendations respect the selected profile. Static guides may describe full-only workflows, but the server never recommends an excluded tool during capture discovery.

Tool results are bounded too, since a result stays in the conversation for the rest of the session. Output over 8000 characters is truncated head-and-tail with a marker, and the tool's offset / limit / display_filter parameters are the way to page through the rest. Raise or lower the ceiling with:

export WIRESHARK_MCP_MAX_RESULT_CHARS=16000

Every tool also declares whether it reads or writes, so clients can auto-approve the 41 read-only analysis tools and still prompt for the 11 that create files (live capture, merge, filter-save, editcap, text2pcap, frame extract, object export).

In 3.0, those 11 tools fail closed until WIRESHARK_MCP_ALLOWED_DIRS names existing directories. Remote HTTP/SSE binding also stays loopback-only unless --allow-insecure-http is explicitly supplied behind a trusted authenticated TLS proxy. See the 3.0 security migration guide.


Documentation

Topic Link
Documentation index docs/README.md
Capture-wide aggregation docs/aggregation.md
Platform setup (macOS/Linux/Windows) docs/platform-validation.md
Manual client configuration docs/manual-configuration.md
Deployment scenarios docs/deployment-scenarios.md
3.0 security migration docs/security-hardening-v3.md
Prompt templates docs/prompt-engineering.md
Architecture docs/architecture.md
Release checklist docs/release-checklist.md
Contributing CONTRIBUTING.md
Changelog CHANGELOG.md
Feature roadmap ROADMAP.md
Security policy SECURITY.md

Development

pip install -e ".[dev]"
pytest tests/ -v
ruff check src/ tests/

See CONTRIBUTING.md for the full guide.


README fetched from the repository 4 days ago. The original is authoritative.

Questions

About Wireshark MCP

How do I install Wireshark MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Wireshark MCP safe to use with an AI agent?

Its trust score is 69 out of 100 (good). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Wireshark MCP still maintained?

Yes — the latest release is v3.1.0 (18 Oct 2026), and the last commit was 3 days ago. The repository has 319 stars and 1 open issues.