wazuh-mcp
ActiveYour Wazuh console answers one query at a time, and only if you know how to ask. wazuh-mcp hands the whole SIEM to your agent: alerts, agents, CVEs, rules, and CIS posture, answered in plain language over stdio.
See it workrepresentative session
Representative session. Illustrative values, RFC 5737 addresses. Your data never leaves the box.
What it does
Point any MCP client at wazuh-mcp and your Wazuh SIEM/XDR becomes tools the agent can call: enumerate agents, search alerts against the Indexer, review the CVE backlog, read detection rules and decoders, and run CIS and File Integrity posture checks. It is read-only and speaks stdio, so there is no new network surface and nothing to write back into Wazuh. Compliance mappings (PCI-DSS, HIPAA, NIST 800-53, MITRE ATT&CK) ride along on every rule lookup.
Capabilities28 tools across the deployment
Agents & inventory
9 toolsEnumerate agents and pull Syscollector OS, packages, processes, ports, and hotfixes.
Alerts & vulnerabilities
5 toolsSearch alerts by time, level, agent, and rule via the Indexer. Query the CVE inventory by severity and package.
Detection content
4 toolsBrowse rules and decoders with level/group filters and full compliance mappings.
Posture & integrity
4 toolsSCA policies and per-check remediation, File Integrity Monitoring, and rootcheck findings.
Manager & diagnostics
6 toolsManager logs and config (secrets redacted), agent groups, version, and a sanitized connection check.
Setup
npm i -g wazuh-mcp # or: npx wazuh-mcp
Configure with WAZUH_URL, WAZUH_USERNAME, WAZUH_PASSWORD. Add WAZUH_INDEXER_URL to enable alert and vulnerability search.
{
"mcpServers": {
"wazuh": {
"command": "wazuh-mcp",
"env": {
"WAZUH_URL": "https://wazuh.example.net:55000",
"WAZUH_USERNAME": "wazuh-wui",
"WAZUH_PASSWORD": "...",
"WAZUH_INDEXER_URL": "https://wazuh.example.net:9200"
}
}
}
}