
adi5353/wazuh-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
21のドメインモジュール全体で、アラート、脆弱性、FIM、コンプライアンス、MITRE ATT&CK、脅威の狩猟、アクティブな応答、フリート在庫、SCA、CDBリスト、ルール、脅威インテル、インシデント、レポート、...
概要
21 ドメイン モジュール全体 — アラート、脆弱性、FIM、コンプライアンス、MITRE ATT&CK、脅威の狩猟、アクティブな応答、フリート在庫、SCA、CDB リスト、ルール、脅威インテル、インシデント、レポート、通知、オンボーダーの健康、アーカイブ検索、およびアラートの抑制。 おすすめの展開方法です。 コンテナは、すべての依存関係をバンドルし、ポート8000でMCPサーバーを露出します。 Docker なしで Wazuh サーバーで直接実行したい場合に使用します。 Claudeデスクトップを実行しているマシンにmcp-remoteをインストールします(Node.js 18 +が必要です): 完全にクロードデスクトップ(トレイアイコン→)を終了し、再実行します。 チャット入力のツールアイコンが表示されます。 Claude デスクトップと MCP サーバーが同じマシンで動作している場合は、stdio トランスポートを使用します。 Claudeコードおよびプロンプト-awareクライアントの/コマンドとして利用できます。 すべての統合はオプトインです。 資格情報が不在の場合、ツールは優雅に劣化します.
概要(AI 翻訳)
Wazuhをモデルコンテキストプロトコル(MCP)を介してClaude AIに接続し、Claude Desktop内で自然言語のセキュリティ操作を直接有効化します。
87ツール 21ドメインモジュール全体で**アラート、脆弱性、FIM、コンプライアンス、MITRE ATT&CK、脅威ハンティング、アクティブな応答、フリート在庫、SCA、CDBリスト、ルール、脅威インテル、インシデント、レポート、通知、オンボーダーヘルス、アーカイブ検索、およびアラートの抑制。
お問い合わせ
コンテンツの表
- クイックスタート — ドッカー
- クイックスタート — ローカル(システム)
- Claudeデスクトップを接続する
- 環境変数
- ツール参照
- MCP のプロンプト
- 建築
- オプションの統合
- セキュリティの考慮事項
- 共通の問題
お問い合わせ
クイックスタート — ドッカー
おすすめの展開方法です。 コンテナは、すべての依存関係をバンドルし、ポート8000でMCPサーバーを露出します。
##1. リポジトリのクローン化
##2. 環境ファイルを作成する
最低で満たして下さい:
##3. コンテナを起動する
##4. 実行していることを確認します
ログを表示:
停止と再起動:
お問い合わせ
クイックスタート — ローカル(システム)
Docker なしで Wazuh サーバーで直接実行したい場合に使用します。
##1. クローンとインストール
##2. 設定
##3. システムサービスとして実行する
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Wazuh MCP — AI-Powered Security Operations
Connect Wazuh to Claude AI via the Model Context Protocol (MCP), enabling natural-language security operations directly inside Claude Desktop.
87 tools across 21 domain modules — alerts, vulnerabilities, FIM, compliance, MITRE ATT&CK, threat hunting, active response, fleet inventory, SCA, CDB lists, rules, threat intel, incidents, reporting, notifications, onboarding, cluster health, archive search, and alert suppression.
Table of Contents
- Quick Start — Docker
- Quick Start — Local (systemd)
- Connect Claude Desktop
- Environment Variables
- Tool Reference
- MCP Prompts
- Architecture
- Optional Integrations
- Security Considerations
- Common Issues
Quick Start — Docker
This is the recommended deployment method. The container bundles all dependencies and exposes the MCP server on port 8000.
1. Clone the repository
git clone https://github.com/adi5353/wazuh-mcp.git
cd wazuh-mcp
2. Create your environment file
cp env.example .env
nano .env
Fill in at minimum:
WAZUH_HOST=https://your-wazuh-manager:55000
WAZUH_USER=wazuh-mcp
WAZUH_PASS=YourPassword
WAZUH_INDEXER_HOST=https://your-wazuh-indexer:9200
WAZUH_INDEXER_USER=wazuh-readonly
WAZUH_INDEXER_PASS=YourPassword
WAZUH_VERIFY_SSL=false
WAZUH_MCP_TRANSPORT=http
WAZUH_MCP_HOST=0.0.0.0
WAZUH_MCP_PORT=8000
3. Start the container
docker compose up -d
4. Verify it’s running
docker compose ps
curl -si http://localhost:8000/sse | head -3
# Expected: HTTP/1.1 200 OK
View logs:
docker compose logs -f wazuh-mcp
Stop and restart:
docker compose down
docker compose up -d
Quick Start — Local (systemd)
Use this if you want to run directly on the Wazuh server without Docker.
1. Clone and install
git clone https://github.com/adi5353/wazuh-mcp.git
cd wazuh-mcp
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
2. Configure
cp env.example .env
nano .env # fill in WAZUH_HOST, WAZUH_USER, WAZUH_PASS, indexer credentials
3. Run as a systemd service
sudo tee /etc/systemd/system/wazuh-mcp.service << 'EOF'
[Unit]
Description=Wazuh MCP Server
After=network.target
[Service]
Type=simple
User=vagrant
WorkingDirectory=/home/vagrant/wazuh-mcp
EnvironmentFile=/home/vagrant/wazuh-mcp/.env
ExecStart=/home/vagrant/wazuh-mcp/.venv/bin/python -m wazuh_mcp
Restart=always
RestartSec=5
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable --now wazuh-mcp
sudo systemctl status wazuh-mcp
Verify:
ss -tlnp | grep 8000 # must show 0.0.0.0:8000
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"wazuh": {
"command": "mcp-remote",
"args": [
"http://YOUR_SERVER_IP:8000/sse",
"--allow-http"
]
}
}
}