wazuh-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WAZUH_API_URL | Yes | Wazuh API URL (e.g., https://your-wazuh-manager:55000) | |
| WAZUH_INSECURE | No | Disable TLS verification (set to true for self-signed certs) | false |
| WAZUH_PASSWORD | Yes | Wazuh API password | |
| WAZUH_USERNAME | Yes | Wazuh API username | |
| WAZUH_RBAC_ROLE | No | RBAC role: viewer, analyst, admin, soc | admin |
| WAZUH_RBAC_POLICY | No | Path to custom RBAC policy JSON file |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| wazuh_list_alertsA | Query Wazuh security alerts with powerful filters. Use this to triage incidents, hunt for specific threat patterns, or get an overview of recent security events. |
| wazuh_get_alertA | Fetch a single Wazuh alert by its ID with full contextual detail. Use this when investigating a specific alert from wazuh_list_alerts results. |
| wazuh_alert_summaryA | Get a high-level summary of recent alerts: severity distribution, top attacking IPs, most triggered rules, and MITRE technique coverage. Use this as the first step in security posture assessment or shift handoff. |
| wazuh_list_agentsA | List all Wazuh agents with their status, OS, version, and last connection. Filter by status ('active', 'disconnected', 'never_connected'), search by name or IP, and control pagination. |
| wazuh_get_agentA | Get detailed information about a specific agent: configuration, enabled modules, OS details, group membership, and connection history. |
| wazuh_agent_healthA | Get a fleet-wide health overview: counts by connection status, agents by OS/platform, version distribution, and stale agents. Use this for daily ops check or before an investigation. |
| wazuh_sca_statusA | Get the Security Configuration Assessment (SCA) compliance status for an agent. Shows which policies are applied, pass/fail counts, and overall compliance scores. |
| wazuh_sca_checksA | Get detailed SCA check results — see exactly which compliance checks passed or failed on an agent. Filter by policy, search, or result status. |
| wazuh_compliance_reportA | Generate a compliance summary report across agents. Shows which agents have SCA enabled, their compliance scores, and failed-check counts grouped by policy. Ideal for audit prep. |
| wazuh_search_eventsA | Search raw security events across all Wazuh agents. Use this for deep threat hunting — search for IOCs like IPs, file hashes, commands, or process names in the raw event stream. |
| wazuh_query_fimA | Query File Integrity Monitoring (FIM) records. See what files were added, modified, or deleted on an agent. Essential for breach impact analysis and configuration drift detection. |
| wazuh_query_vulnerabilitiesC | Query the Wazuh vulnerability-detector inventory. Find CVEs affecting your fleet, filtered by severity, agent, or specific CVE ID. |
| wazuh_search_mitreA | Search the MITRE ATT&CK framework as integrated with Wazuh. Look up techniques, find which Wazuh rules map to a technique, or discover what techniques are covered by your detection ruleset. |
| wazuh_manager_statsA | Retrieve Wazuh manager daemon statistics: events per second (EPS), queue sizes, processed events, and daemon health. Essential for capacity planning and troubleshooting performance issues. |
| wazuh_cluster_statusA | Get the Wazuh cluster health status: node list, sync status, and connectivity between manager nodes. Use this when checking if the cluster is healthy or diagnosing replication failures. |
| wazuh_rules_infoA | Search and list Wazuh detection rules. Filter by rule level, compliance framework (PCI DSS, GDPR, HIPAA, NIST 800-53), or MITRE ATT&CK technique. Essential for understanding your detection coverage and tuning rules. |
| wazuh_manager_logsA | Retrieve Wazuh manager logs for troubleshooting. Filter by category ('ossec', 'api', 'all'), search for specific errors or warnings, and paginate through results. |
| wazuh_cluster_node_statsA | Get detailed statistics for a specific Wazuh cluster node. Shows per-node EPS, queue sizes, daemon status, and resource utilization. Essential for diagnosing cluster imbalances. |
| wazuh_run_active_responseA | ⚠️ DESTRUCTIVE: Trigger an active-response command on a Wazuh agent. Can block IPs via firewall, quarantine hosts, run custom scripts, etc. 🔒 SAFETY: By default, this tool DOES NOT execute anything. It returns a confirmation prompt showing exactly what will happen. You MUST call it again with confirm=True and the correct confirmation_token to execute. |
| wazuh_agent_commandA | ⚠️ DESTRUCTIVE: Execute an arbitrary command on a remote Wazuh agent via the active-response infrastructure. 🔒 SAFETY: Same confirmation flow as wazuh_run_active_response. You MUST confirm explicitly before the command runs. |
| wazuh_list_groupsA | List all Wazuh agent groups. Groups are used to organize agents by function (e.g., 'web-servers', 'database', 'production'). Useful for scoping queries and active responses to specific agent sets. |
| wazuh_get_groupA | Get detailed information about a specific agent group, including its configuration and member agents. |
| wazuh_group_agentsB | List all agents belonging to a specific agent group. |
| wazuh_list_cdb_listsA | List all CDB (Constant Database) lists configured in Wazuh. CDB lists store key-value data used by rules — IP blocklists, user whitelists, IOC databases, etc. Essential for understanding what threat intelligence feeds are active. |
| wazuh_get_cdb_listB | Read the contents of a specific CDB list. CDB lists are used for IP reputation, user whitelists, IOC matching, and more. Returns the key-value entries in the list. |
| wazuh_rules_coverage_mapA | Generate a coverage map showing which Wazuh rules map to which MITRE ATT&CK techniques, NIST 800-53 controls, PCI DSS requirements, GDPR articles, and HIPAA controls. Essential for compliance gap analysis and detection engineering. |
| wazuh_vulnerability_heatmapA | Generate a vulnerability heatmap showing CVE severity distribution across agents. Identifies which systems have the most critical unpatched vulnerabilities. Essential for patch prioritization. |
| wazuh_incident_timelineA | After identifying a security incident, reconstruct a timeline of all related events leading to it. Takes an alert ID, traces back through related events on the same agent, and builds a chronological timeline of what happened. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sbharadwaj05/wazuh-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server