Wireshark-MCP

by bx33661

Not rated
GitHub

About

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.

Details

Author
bx33661
Categories
Developer Tools

Setup

Install Wireshark-MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/bx33661/Wireshark-MCP

Follow the installation instructions in the repository README, then restart your MCP client.

Give your AI assistant a packet analyzer.

Drop a.pcapfile, ask questions in plain English — get answers backed by realtsharkdata.

AnMCP serverthat wrapstshark(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: ..."

Prerequisites:Python 3.10+ andWiresharkwithtsharkon PATH.

pip install wireshark-mcp wireshark-mcp install # auto-configures all detected MCP clients

Runwireshark-mcp doctorif anything looks off. Seedocs/manual-configuration.mdfor manual setup or platform-specific notes.

Point your AI client at a.pcapfile and try:

Analyze capture.pcap using the Wireshark MCP tools. Start with wireshark_open_file, then run wireshark_quick_analysis. Write findings to report.md.

51 tools, each backed by realtsharkoutput — organized into categories:

One tool covers 20 protocols rather than 20 tools covering one each:wireshark_analyze_protocoltakes aprotocolargument (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.dbnumis 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 onlytsharkrequired. Optional tools (capinfos,mergecap,editcap,dumpcap,text2pcap) are auto-detected and enable extra features when present.

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 ~21 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,--profileadvertises less:

Every profile still contains every tool the bundled prompts, resources, skill files, and protocol recommendations can point the model at, so reducing the surface never leaves it chasing a tool that is not there.

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'soffset/limit/display_filterparameters 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 40 read-only analysis tools and still prompt for the 11 that create files (live capture, merge, filter-save, editcap, text2pcap, frame extract, object export).

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

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Create crafted UI components inspired by the best 21st.dev design engineers.

Bring agent evaluations, observability, and synthetic test set generation directly into your IDE for free with Galileo's new MCP server

An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .

MCP server for AI Diagram Maker — generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent

ALAPI MCP Tools,Call hundreds of API interfaces via MCP

AI-powered SVG animation generator that transforms static files into animated SVG components using the Allyson platform

MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references.

APIMatic MCP Server is used to validate OpenAPI specifications using APIMatic. The server processes OpenAPI files and returns validation summaries by leveraging APIMatic’s API.

One shared context layer for AI agents and humans — live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth.

Build and deploy full-stack Next.js apps with 98 tools for React, AWS, and MongoDB

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.