# Wireshark MCP

> Analyze packet captures with tshark.

- **URL**: https://followmcp.com/en/servers/wireshark-mcp
- **Category**: Other
- **Origin**: Community
- **Stars**: 430
- **FMRS Score**: 54/100 (Grade D)
- **Source**: https://github.com/bx33661/Wireshark-MCP
- **Transports**: stdio (local process)
- **Runtimes**: Python 3.10+
- **Auth**: No credential needed

## 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.

## 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
- 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.

## Client config (JSON)
```json
{
  "command": "wireshark-mcp",
  "args": [
    "serve"
  ],
  "transport": "stdio"
}
```

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