Wazuh MCP サーバー
WazuhのセキュリティデータをLLM(Claude Desktop Appなど)と統合するための、本番環境対応のオープンソースMCPサーバーです。このサービスは、Wazuh RESTful APIで認証し、Elasticsearchインデックスからアラートを取得し、イベントをMCP準拠のJSON形式に変換し、Claude Desktopがリアルタイムのセキュリティコンテキストを取得するためのHTTPエンドポイントを公開します。
特徴
- JWT ベースの認証: JWT トークンを使用して Wazuh で安全に認証します。
- アラートの取得: Elasticsearch インデックスで Wazuh アラート データをクエリします。
- **MCP メッセージ変換:**セキュリティ イベントを標準化された MCP メッセージに変換します。
- Flask HTTP サーバー: Claude Desktop 統合用の
/mcp
エンドポイントを公開します。 - **堅牢なエラー処理:**トークンの有効期限、ネットワーク タイムアウト、不正なデータを処理します。
- **構成可能:**環境変数を使用して簡単に構成し、構成ファイルを使用して Claude Desktop と統合します。
前提条件
- Python 3.8以上
- Wazuh API インスタンスへのアクセス。
- (オプション) Claude Desktop は MCP サーバーを呼び出すように構成されています。
インストール
- リポジトリをクローンします。
仮想環境を作成してアクティブ化する:
依存関係をインストールします:
構成MCP サーバーを構成するには、次の環境変数を設定します。
例(MacOS):
サーバーの実行 次のコマンドで MCP サーバーを起動します。
サーバーは指定されたポートのすべてのインターフェースをリッスンします。
Claude Desktop との統合Claude Desktop と統合するには、構成ファイルを更新します。
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json mcpServers の下に次のエントリを追加します。
ライセンス このプロジェクトは MIT ライセンスに基づいてライセンスされます。
貢献 貢献を歓迎します。改善やバグ修正のために、問題を報告したり、プルリクエストを送信したりしてください。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Elasticsearch インデックスからアラートを取得して MCP 準拠の形式に変換することで、Wazuh セキュリティ データを LLM (Claude Desktop など) と安全に統合し、LLM アプリケーションでリアルタイムのセキュリティ コンテキストを有効にします。
Related MCP Servers
- AsecurityAlicenseAqualityA secure MCP server for executing whitelisted shell commands with resource and timeout controls, designed for integration with Claude and other MCP-compatible LLMs.Last updated -201432TypeScriptMIT License
- -securityFlicense-qualityA secure server that allows LLM applications like Claude to execute whitelisted system commands with user confirmation and comprehensive security features.Last updated -Python
- -securityFlicense-qualityA Model Context Protocol server that enables querying and analyzing Wazuh security logs stored in OpenSearch, with features for searching alerts, getting detailed information, generating statistics, and visualizing trends.Last updated -JavaScript
Elasticsearch MCP Serverofficial
AsecurityAlicenseAqualityConnects Claude and other MCP clients to Elasticsearch data, allowing users to interact with their Elasticsearch indices through natural language conversations.Last updated -3991260JavaScriptApache 2.0