Wireshark MCP Server

Packet capture and analysis for AI agents via the Model Context Protocol (MCP).

Local serverstdio

What is the Wireshark MCP Server?

Wireshark MCP Server is an MCP project maintained in the a-g-u-p-t-a/wireshark-mcp repository. The maintainer describes its purpose as “Packet capture and analysis for AI agents via the Model Context Protocol (MCP)”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using /absolute/path/to/.venv/bin/python. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares TSHARK_PATH. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
AreaTools
Setupcheck_environment, configure_tshark
Capturelist_interfaces, quick_capture, capture_live_packets, save_capture_to_file
Analysisread_pcap_file, analyze_traffic, deep_packet_analysis, quick_traffic_analysis
Diagnosticsprotocol_hierarchy_statistics, expert_information, filtered_packet_display

How to install the Wireshark MCP Server

{
  "mcpServers": {
    "wireshark": {
      "command": "/absolute/path/to/.venv/bin/python",
      "args": [
        "-m",
        "wireshark_mcp"
      ],
      "env": {
        "TSHARK_PATH": "/absolute/path/to/tshark"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
TSHARK_PATHDeclared in the maintainer’s client configuration.Check documentation