SW

sarthaksiddha/wireshark-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

32 stars 10 forks 品質 53 トレンド 11

Claudeと類似のAIシステム用のモデルコンテキストプロトコル

概要

ClaudeのようなAIシステムでWiresharkネットワーク解析機能を統合するためのモデルコンテキストプロトコル(MCP)サーバー。 この実装は、プロンプトの手動コピー/ペーストを要求することなく、Claude との直接統合を提供します。 Wireshark MCP は、AI アシスタントが、Wireshark を通じてネットワークパケットデータにアクセスし、分析するための標準化された方法を提供します。 モデルコンテキストプロトコルを実装することで、低レベルのネットワークデータと高レベルのAI理解のギャップを埋めます。 1。 ライブネットワークトラフィックをキャプチャ 2. 既存の pcap ファイルの分析 3. プロトコル固有の情報を抽出 4. ネットワークフローの最適化 Claudeデスクトップを構成するには、Wireshark MCP サーバーを使用します。 1。 Claudeデスクトップ2を開きます。 [設定]> [開発者]> [構成3の編集]に移動します。 次の設定を追加します。 /path/to/wireshark-mcp をリポジトリの実際のパスに置き換えます.

概要(AI 翻訳)

ClaudeのようなAIシステムでWiresharkネットワーク解析機能を統合するためのモデルコンテキストプロトコル(MCP)サーバー。 この実装は、プロンプトの手動コピー/ペーストを要求することなく、Claude との直接統合を提供します。

Wireshark MCPとは何ですか?

Wireshark MCP は、AI アシスタントが、Wireshark を通じてネットワークパケットデータにアクセスし、分析するための標準化された方法を提供します。 モデルコンテキストプロトコルを実装することで、低レベルのネットワークデータと高レベルのAI理解のギャップを埋めます。

サーバは以下のようなツールを提供しています。

  1. ライブネットワークトラフィックのキャプチャ
  2. 既存の pcap ファイルを分析する 3.プロトコル固有の情報を抽出する 4.ネットワークの流れを損なう

クイックスタート

インストール

##MCP Server の実行

##Claudeデスクトップの設定

Claudeデスクトップを構成するには、Wireshark MCP サーバーを使用します。

  1. Claudeデスクトップを開く
  2. 設定 > 開発者 > 編集 Config に移動
  3. 次の設定を追加します。

リポジトリへの実際のパスで[/path/to/wireshark-mcpを置換します。

利用可能なツール

Wireshark MCP サーバーでは、以下のツールを提供しています。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Wireshark MCP (Model Context Protocol)

A Model Context Protocol (MCP) server for integrating Wireshark network analysis capabilities with AI systems like Claude. This implementation provides direct integration with Claude without requiring manual copy/paste of prompts.

What is Wireshark MCP?

Wireshark MCP provides a standardized way for AI assistants to access and analyze network packet data through Wireshark. It bridges the gap between low-level network data and high-level AI understanding by implementing the Model Context Protocol.

The server provides tools for:

  1. Capturing live network traffic
  2. Analyzing existing pcap files
  3. Extracting protocol-specific information
  4. Summarizing network flows

Quick Start

Installation

# Clone the repository 
git clone https://github.com/sarthaksiddha/Wireshark-mcp.git 
cd Wireshark-mcp

# Install dependencies
pip install -e .

Running the MCP Server

# Run with stdio transport (for Claude Desktop)
python mcp_server.py --stdio

# Run with SSE transport (for other MCP clients)
python mcp_server.py --host 127.0.0.1 --port 5000

Configuring Claude Desktop

To configure Claude Desktop to use the Wireshark MCP server:

  1. Open Claude Desktop
  2. Go to Settings > Developer > Edit Config
  3. Add the following configuration:
{
  "mcpServers": {
    "wireshark": {
      "command": "python",
      "args": [
        "/path/to/wireshark-mcp/mcp_server.py",
        "--stdio"
      ]
    }
  }
}

Replace /path/to/wireshark-mcp with the actual path to your repository.

Available Tools

The Wireshark MCP server provides the following tools:

  • capture_live_traffic: Capture live network traffic using tshark
  • analyze_pcap: Analyze an existing pcap file
  • get_protocol_list: Get a list of supported protocols

Example Usage in Claude

Once configured, you can use the Wireshark MCP server in Claude with queries like:

  • “Capture 30 seconds of network traffic on my system and show me what’s happening”
  • “Analyze my network.pcap file and tell me if there are any suspicious activities”
  • “What protocols can I focus on when analyzing network traffic?”

Key Features

  • Packet Summarization: Convert large pcap files into token-optimized summaries
  • Protocol Intelligence: Enhanced context for common protocols (HTTP, DNS, TLS, SMTP, etc.)
  • Flow Tracking: Group related packets into conversation flows
  • Anomaly Highlighting: Emphasize unusual or suspicious patterns
  • Query Templates: Pre-built prompts for common network analysis tasks
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "wireshark": { "command": "python", "args": [ "/path/to/wireshark-mcp/mcp_server.py", "--stdio" ] } } }