Skip to main content
Glama
PreistlyPython

Wireshark MCP Server

CLAUDE_CODE_MCP_SETUP_COMPLETE.md2.6 kB
# Claude Code MCP Setup Complete ✅ ## 🎯 Summary The Enhanced Wireshark MCP Server v2.0 has been fully configured for Claude Code. All necessary configuration files have been created and updated. ## ✅ Completed Setup Steps ### 1. **Server Implementation** ✅ - `enhanced_server.py` contains all 8 tools - All handler functions implemented and tested - Enhanced fallback methods working ### 2. **Configuration Files Created** ✅ #### `.mcp.json` (Project Configuration) Location: `/home/dell/coding/mcp/wireshark-mcp/.mcp.json` ```json { "name": "wireshark-mcp", "command": "python3", "args": ["/home/dell/coding/mcp/wireshark-mcp/enhanced_server.py"], "env": { "PYTHONPATH": "/home/dell/coding/mcp/wireshark-mcp", "PYTHONUNBUFFERED": "1", "LANG": "en_US.UTF-8", "LOG_LEVEL": "INFO" }, "description": "Enhanced Wireshark MCP Server v2.0 with 8 tools", "version": "2.0.0" } ``` #### `settings.local.json` (Claude Code Configuration) Location: `/home/dell/.claude/settings.local.json` - Added wireshark-mcp configuration - Proper stdio type and environment variables ### 3. **Server Status** ✅ - No old server.py processes running - Enhanced server tested and working - All 8 tools functional ## 🚀 To Activate the MCP Server **Claude Code needs to be restarted to load the new MCP configuration:** 1. Close Claude Code completely 2. Reopen Claude Code 3. The wireshark-mcp server will automatically start ## 📋 Available Tools After Restart Once Claude Code is restarted, these 8 tools will be available: 1. `mcp__wireshark-mcp__wireshark_system_info` 2. `mcp__wireshark-mcp__wireshark_validate_setup` 3. `mcp__wireshark-mcp__wireshark_generate_filter` 4. `mcp__wireshark-mcp__wireshark_live_capture` 5. `mcp__wireshark-mcp__wireshark_analyze_pcap` 6. `mcp__wireshark-mcp__wireshark_realtime_json_capture` 7. `mcp__wireshark-mcp__wireshark_protocol_statistics` 8. `mcp__wireshark-mcp__wireshark_analyze_pcap_enhanced` ## 🔧 Alternative Access (No Restart Needed) While waiting for restart, you can use the bridge script: ```bash # Real-time JSON capture python3 enhanced_tools_bridge.py realtime_json_capture --interface=lo --duration=10 # Protocol statistics python3 enhanced_tools_bridge.py protocol_statistics --source=/path/to/file.pcap # Enhanced PCAP analysis python3 enhanced_tools_bridge.py analyze_pcap_enhanced --filepath=/path/to/file.pcap ``` ## ✅ Setup Complete The Enhanced Wireshark MCP Server is fully configured for Claude Code. After restarting Claude Code, all 8 tools will be available through the MCP interface.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PreistlyPython/wireshark-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server