Integrations
Provides integration with pandas for parsing and analyzing Zeek log files, returning structured data from network traffic analysis as DataFrame objects.
ジーク-MCP
このリポジトリは、会話型 AI クライアントと統合できる MCP サーバー (モデル コンテキスト プロトコル) を構築するためのユーティリティ セットを提供します。
目次
前提条件
- Python 3.7以上
- Zeekがインストールされ、
PATH
で利用可能 (execzeek
ツール用) - pip (Python 依存関係のインストール用)
インストール
1. リポジトリをクローンする
2. 依存関係をインストールする
仮想環境を使用することをお勧めします。
注:
requirements.txt
がない場合は、直接インストールしてください。Copy
使用法
リポジトリは、2 つの主要な MCP ツールとコマンドライン エントリ ポイントを公開します。
3. MCPサーバーを実行する
--mcp-host
: MCP サーバーのホスト (デフォルト:127.0.0.1
)。--mcp-port
: MCP サーバーのポート (デフォルト:8081
)。--transport
: トランスポート プロトコルsse
(Server-Sent Events) またはstdio
いずれか。
4. MCPツールを使用する
次のツールを呼び出して、MCP ツールの使用をサポートできる LLM を使用する必要があります。
execzeek(pcap_path: str) -> str
- **説明:**作業ディレクトリ内の既存の
.log
ファイルを削除した後、指定された PCAP ファイルに対して Zeek を実行します。 - **戻り値:**生成された
.log
ファイル名をリストする文字列、またはエラーの場合は"1"
。
- **説明:**作業ディレクトリ内の既存の
parselogs(logfile: str) -> DataFrame
- **説明:**単一の Zeek
.log
ファイルを解析し、解析されたコンテンツを返します。
- **説明:**単一の Zeek
これらのエンドポイントは、HTTP (SSE トランスポートを使用している場合) 経由、または LLM クライアント (例: Claude Desktop) に埋め込むことによって操作できます。
クロードデスクトップ統合:
Claude Desktop を Zeek MCP クライアントとして設定するには、 Claude
-> Settings
-> Developer
-> Edit Config
-> claude_desktop_config.json
に移動し、以下を追加します。
あるいは、このファイルを直接編集します。
5ire統合:
バックエンドで複数のモデルをサポートする別のMCPクライアントは5ireです。Zeek-MCPを設定するには、5ireを開き、 Tools
」→ New
に移動して、以下の設定を行います。
- ツールキー: ZeekMCP
- 名前: Zeek-MCP
- コマンド:
python /ABSOLUTE_PATH_TO/Bridge_Zeek_MCP.py
あるいは、Chainlit フレームワークを使用し、ドキュメントに従って MCP サーバーを統合することもできます。
例
Chainlit チャットボット クライアントからの MCP ツールの使用例。サンプル pcap ファイルが使用されました (pcaps フォルダーにいくつかあります)
ライセンス
詳細については、 LICENSE
参照してください。
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Zeek ネットワーク分析機能と LLM チャットボットを統合し、自然言語による対話を通じて PCAP ファイルを分析し、ネットワーク ログを解析できるようにするモデル コンテキスト プロトコル サーバー。
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that provides tools for analyzing text documents, including counting words and characters. This server helps LLMs perform text analysis tasks by exposing simple document statistics functionality.Last updated -187JavaScriptApache 2.0
- AsecurityFlicenseAqualityA Model Context Protocol server that enables ChatGPT and other AI assistants to directly interact with JIRA issues, currently offering the ability to retrieve issue details.Last updated -TypeScript
- -securityAlicense-qualityA Model Context Protocol server implementation that provides a standardized interface for applications to interact with OpenRouter's language models through a unified conversation management system.Last updated -TypeScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that integrates essential penetration testing tools (Nmap, Gobuster, Nikto, John the Ripper) into a unified natural language interface, allowing security professionals to execute and chain multiple tools through conversational commands.Last updated -85231TypeScript