← Back to Wireshark MCP Server
Install Wireshark MCP Server
Pick your client, copy the command, done.
1
Add it to Claude Code
claude mcp add -e "GITHUB_USERNAME=${GITHUB_USERNAME}" -e "GITHUB_PAT=${GITHUB_PAT}" -e "GITHUB_REPO=${GITHUB_REPO}" wireshark-mcp -- docker run -i --rm -e GITHUB_USERNAME=your-user -e GITHUB_PAT=your-pat -e GITHUB_REPO=https://github.com/org/repo ghcr.io/presidio-federal/wireshark-mcp-container:latestRequired:
GITHUB_USERNAMEGITHUB_PATGITHUB_REPO+ 2 optionalEnvironment Variables
Set these before running Wireshark MCP Server.
VariableDescriptionRequired
GITHUB_USERNAMEYour GitHub usernameYesGITHUB_PATGitHub Personal Access TokenYesGITHUB_REPOFull GitHub repo URLYesGITHUB_PATHSubdirectory in the repo where PCAPs are storedNoGITHUB_BRANCHBranch to sync fromNoAvailable Tools (12)
Once configured, Wireshark MCP Server gives your AI agent access to:
wireshark_list_pcapsList synced and available PCAPs (local + GitHub)wireshark_sync_pcapDownload a single PCAP from GitHubpcap_namewireshark_sync_all_pcapsDownload all PCAPs from GitHub (skips already-synced)wireshark_remove_pcapRemove a local PCAP copypcap_namewireshark_clean_projectRemove entire project workspacewireshark_pcap_triageAutomated first-pass triagepcap_namewireshark_analyze_pcapComprehensive packet analysispcap_namewireshark_protocol_hierarchyProtocol distribution breakdownpcap_namewireshark_conversationsTCP/UDP/IP conversation statisticspcap_namewireshark_display_filterApply Wireshark display filterspcap_namefilterwireshark_follow_streamReconstruct TCP/UDP stream payloadspcap_namestream_indexwireshark_top_talkersIdentify high-volume network traffic sourcespcap_nameTry It Out
After setup, try these prompts with your AI agent:
→List all available PCAP files in my repository.
→Perform an automated triage on the latest captured traffic file.
→Show me the protocol hierarchy for the network capture named 'incident_001.pcap'.
→Identify the top talkers in the network traffic from the last sync.
→Apply a display filter to show only HTTP traffic in the current PCAP.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Docker installed and running
GITHUB_USERNAME— Your GitHub usernameGITHUB_PAT— GitHub Personal Access TokenGITHUB_REPO— Full GitHub repo URL
Alternative installation methods
Docker Run
docker run -d -p 3020:3020 -e GITHUB_USERNAME=... -e GITHUB_PAT=... -e GITHUB_REPO=... ghcr.io/<your-org>/wireshark-mcp-container:latestKeep this setup from going cold
Save the docs, env vars, and workflow around Wireshark MCP Server in Conare so Claude Code, Codex, and Cursor remember it next time.