← Back to directory
W

Wireshark MCP

Community
Analyze packet captures with tshark.
Category
Other #246 of 678
Stars
★ 430 Very popular
Transport
stdio (local process)
Runtime
Python 3.10+
Credentials
No credential needed
License
MIT
Last commit
Tools
7
54FMRS · D

Based on the supplied README and server.json, Wireshark MCP is a stdio packet-analysis server that uses tshark; the PyPI package version is 4.1.0. The README describes 54 tools and several optional features.

Strongest · Documentation 13/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
11/20
Maintenance
10/20
Documentation
13/20
Setup experience
12/20
Why each score
Reliability 8/20
The README describes a stdio Python MCP server, its tshark dependency, result limits, and analysis tools, but these are README claims. The supplied material contains no verifiable CI workflow, committed tests, or error-handling implementation. Startup, initialization handshake, and tool behavior therefore remain unverified, warranting a conservative score.
Security and permissions 11/20
The README says tools are restricted by allowed directories, remote HTTP/SSE binds to loopback by default, and tools declare read/write behavior. It also identifies file-creating tools and an optional index cache. The implementation and data-flow details needed to verify these boundaries are absent, as is evidence of confirmation for each write operation, so permissions and side-effect controls receive only partial credit. No red-line behavior is evident in the supplied material.
Maintenance 10/20
The manifest identifies an MIT license and version 4.1.0; the README links to update, contribution, and security-policy documents. Archive status, stars, and issue count do not add maintenance points. The supplied material does not show commit history, release cadence, dependency updates, issue responses, or the contents of the security-response channel, so evidence of sustained maintenance is limited.
Documentation 13/20
The README provides Python and client installation paths, prerequisites, tool categories, configuration entry points, result limits, optional features, and a documentation index. The linked detailed documents are not included, and tool parameters, troubleshooting, and security behavior cannot be verified from implementation evidence, so full marks are not justified.
Setup experience 12/20
The README specifies Python 3.10+, tshark, pip installation, and the wireshark-mcp install command. It also lists plugin commands for Codex and Claude Code, including a project-scope dry run. A separate Wireshark CLI must be installed first, and client configuration and platform compatibility cannot be verified from the supplied material. Without verifiable CI and key-path tests, the static evidence does not support a higher score.

Static review · not runReviewed 2026-12-02

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or code

Best for

  • Network security and troubleshooting practitioners who analyze packet captures through an AI client.
  • Capture analysis workflows that need findings supported by tshark data.

Not for

  • Users who do not need packet capture analysis.
  • Environments where tshark cannot be installed or used.

Required permissions

  • The server needs to read capture files; WIRESHARK_MCP_ALLOWED_DIRS must name existing directories.
  • Case files and other write-capable tools create files; the index writes to the server's own local cache.
  • Live capture features may require Wireshark tools and system permissions appropriate to the environment.

Risks and side effects

  • Captures may contain sensitive network data, and analysis or exported results may expose it.
  • Live capture and file-writing features may access or create content in user-specified directories.
  • Optional GeoIP and YARA features depend on their extras and runtime availability.

Setup

Before you start

Runtime:Python 3.10+

WIRESHARK_MCP_ALLOWED_DIRS required Specifies existing directories the server may access; documentation says this must be set since version 3.0.
Other optional settings (2)
WIRESHARK_MCP_CAPTURE_BACKEND optional Selects the capture backend; set it to tshark to use extcap interfaces.
WIRESHARK_MCP_MAX_RESULT_CHARS optional Sets the character limit for tool results; the documented default is 8000.

Install Python 3.10 or later and Wireshark's command-line tool tshark on PATH. Install wireshark-mcp with pip, then run wireshark-mcp install to select an MCP client. To enable the optional index feature, install with: pip install 'wireshark-mcp[index]'.

MCP config · JSON
{
  "command": "wireshark-mcp",
  "args": [
    "serve"
  ],
  "transport": "stdio"
}

Works in clients that read an "mcpServers" key. For clients such as VS Code that use a different key, the configurator below converts it.

Check that it works

Confirm that wireshark_open_file and wireshark_quick_analysis appear in the client's tool list. Ask the client to open a capture and run a quick analysis; a response backed by tshark data confirms the connection.

Troubleshooting

  1. Confirm tshark is installed and available on PATH.
  2. Check that WIRESHARK_MCP_ALLOWED_DIRS includes existing directories the server is allowed to access.
  3. Run wireshark-mcp doctor, and restart the client after changing its configuration.
  4. If using index, GeoIP, or YARA features, confirm the corresponding optional extra is installed.

Things to try

Once connected, you can ask your AI assistant things like:

  • Analyze capture.pcap: open it and run a quick analysis.
  • Count the packets by protocol in capture.pcap.
  • Show me the details of packet 10 in capture.pcap.
  • Create a case for this capture investigation and record the quick analysis.

Tools 7

wireshark_open_file read-only
Open a capture file and retrieve information such as its protocol hierarchy.
wireshark_quick_analysis read-only
Run a quick capture analysis, including tshark expert information counts.
wireshark_case writes
Save captures, results, findings, and analyst verdicts in a JSON case file.
wireshark_get_packet_details read-only
Inspect packet details to verify analysis conclusions.
wireshark_index writes
With the optional index extra, index a capture into a local DuckDB file.
wireshark_aggregate read-only
Aggregate capture data, with support for using an index.
wireshark_extract_fields read-only
Extract fields from a capture, with support for using an index.

Use cases

Ask natural-language questions about network activity in pcap or pcapng captures.
Extract packet fields, inspect statistics, and verify analysis results.
Analyze large captures or repeated aggregations with the optional index.

Overview

Wireshark MCP provides an MCP interface to packet analysis using tshark. It can open capture files, return analysis results, and optionally use a capture index. The full server has 54 tools; the list here includes tools explicitly named in the README.

Similar servers

More servers from this repository

Source revision ab80b9ae76e7 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/wireshark-mcp.svg)](https://followmcp.com/en/servers/wireshark-mcp)