Wazuh MCP server data privacy: what leaves your network with Claude or Ollama

Whether Wazuh alert and agent data leaves your network depends on the model mode you choose, and the gensecaihq community server documents both modes, output caps and log redaction fixes you must verify.

On this page

Does a Wazuh MCP server keep SIEM data inside your network?

The answer depends on the model mode the team configures, not on the Wazuh server alone. The gensecaihq community server supports a cloud mode, in which Claude, GPT or similar models receive data through Claude Desktop or another MCP client, and that data leaves your network to the LLM provider. Its README also describes a local mode with Ollama, in which models such as Llama, Qwen or Mistral run through Open WebUI, mcphost or IBM/mcp-cli, and states that data does not leave your network and that this mode is fully air-gappable. Both modes use the same server, tools and API, so one deployment can serve both, and a SOC lead should decide which mode each user group may use before rollout.

Several items must be confirmed before that decision is trusted. First, this is a community project published under the gensecaihq account, not an official Wazuh product, so ask who maintains it and what review it receives before it touches production alert data. Second, the server listens on plain HTTP on MCP_PORT (default 3000), and the configuration guide says TLS should be terminated at a reverse proxy. Without that proxy, traffic between the AI client and the server is not encrypted, so verify the proxy exists and covers every client path. Third, check the deployed version. Pull request 130 notes that tracebacks and JSON log extras were not redacted before that fix, so confirm the build in use includes it, using the gensecaihq releases page as the reference point.

Two settings affect what the Wazuh Manager and Indexer see. The Manager API is always called over HTTPS, and the Manager certificate is verified by default through WAZUH_CA_BUNDLE. Setting WAZUH_ALLOW_SELF_SIGNED=true disables that verification and only produces a warning in the logs, so block it in any environment with sensitive alerts. Record these values in the change request, along with the model mode, the proxy configuration and the deployed build, so the data flow in the privacy review matches what is running.

Data privacy controls by model mode and deployment

This table compares cloud mode, where Claude or GPT receives Wazuh data, with local mode, where Llama, Qwen or Mistral run on Ollama. Each control is marked as built in, configured by the team, or not documented, so reviewers can see which items they must verify in their own environment. The main takeaway is that the model choice changes where data goes, while TLS, certificate checks, output caps and log redaction depend on how the team deploys the server.

ControlCloud mode (Claude or GPT)Local mode (Ollama)
Where prompts and tool results goLeaves your network to the LLM provider. Configured by the choice of model.Stays on your network, per the README. Confirm the Ollama host is inside your boundary.
Encryption between AI client and MCP serverConfigured by team. The server listens on plain HTTP, so TLS must be terminated at a reverse proxy.Configured by team. Same reverse proxy requirement applies on MCP_PORT (default 3000).
Manager API connectionBuilt in. The Manager API is always called over HTTPS, by default on port 55000.Built in. Same HTTPS Manager API call applies in local mode.
Manager certificate verificationBuilt in by default. Trusted CAs are set with WAZUH_CA_BUNDLE.Built in by default. Same WAZUH_CA_BUNDLE setting applies.
Self-signed Manager handlingConfigured by team. WAZUH_ALLOW_SELF_SIGNED=true disables verification and logs a warning.Configured by team. The same override applies, so keep it off unless a reviewer accepts it.
Alert volume per queryBuilt in. MAX_ALERTS_PER_QUERY defaults to 1000 in either mode.Built in. MAX_ALERTS_PER_QUERY defaults to 1000 in either mode.
Redaction of tracebacks and JSON log extrasConfigured by team. Confirm the deployed version includes the fix from pull request 130.Configured by team. Same version check applies before logs are reviewed.
Provider retention and training termsNot documented in these sources. Confirm retention and training terms in writing with the provider.Not documented in these sources. Confirm log storage and retention on the Ollama and Open WebUI hosts.

How alert data travels from Wazuh to the model

The MCP server is the only component that talks to Wazuh on the model's behalf, so the data path through it decides what leaves your network. The server authenticates to the Wazuh Manager API with WAZUH_HOST, WAZUH_USER and WAZUH_PASS, and it always calls that API over HTTPS, by default on port 55000. Alert search, alert aggregation and vulnerability tools also need a Wazuh Indexer connection, because Wazuh 4.8 removed the Manager's alerts and vulnerability endpoints. The server then returns tool output to the AI client. Whether that output leaves your network depends on the model the client calls, not on the server itself.

In cloud mode, such as Claude through Claude Desktop or another MCP client, the tool output is sent to the LLM provider. In local mode, such as Llama, Qwen or Mistral served by Ollama with Open WebUI, mcphost or IBM/mcp-cli, the output stays on hardware you control. The gensecaihq README says both modes can run against the same server, tools and API, so one deployment can serve both. Ask the team which client each user connects to, and confirm in writing which model endpoint each client is configured to use. Also confirm that the Indexer and Manager connections stay on your internal network, since those are the sources of the alert data.

The server listens on plain HTTP on MCP_PORT (default 3000), and the configuration guide says TLS should be terminated at a reverse proxy. The encryption between the AI client and the server therefore exists only if that proxy is deployed and enforced, so verify it before go-live. Output volume is limited by MAX_ALERTS_PER_QUERY (default 1000), which caps the largest alert limit per query so a single prompt cannot pull an unlimited number of alerts. Confirm that this value fits your data handling policy, because it sets how much alert content can reach a cloud model in one call.

Decisions to make before choosing cloud or local mode

Choosing between cloud and local mode is not one setting. It is a set of decisions about who may use which model, which alert fields reach a prompt, how the Wazuh Manager connection is trusted, where TLS ends, how logs are kept, and whether one server serves both modes. Each decision changes what leaves your network and what your compliance and sovereignty reviewers can evidence.

Which teams may use which model mode

Cloud mode sends SIEM data to the LLM provider you connect, while local mode keeps it inside your network on Ollama. Decide by team and data class, not by tool: an analyst working on regulated business unit alerts may need local mode, while a team working only on lab or synthetic data may not. Write the mapping down and confirm which clients each team can reach, because the same server can be called from either mode.

Server README

Which alert fields enter a prompt

Tool output carries whatever the Wazuh Indexer returns, including agent names, IP addresses, usernames, file paths and rule descriptions. Before a prompt reaches a cloud model, agree which fields are allowed in tool responses and which are stripped or pseudonymized. Ask the server maintainers which fields each tool returns, and test a sample query to see the output your model would receive.

Default alert limit per query
1000

Trusting the Manager certificate chain

The server verifies the Wazuh Manager certificate by default, and WAZUH_CA_BUNDLE sets which certificate authorities it trusts. Setting WAZUH_ALLOW_SELF_SIGNED=true disables that verification and only produces a warning in the log. Require an internal CA bundle in the deployment, and treat any self-signed override as an exception that a reviewer signs off, since it removes protection on the connection that carries alert data.

Where the reverse proxy terminates TLS

The MCP server listens on plain HTTP on MCP_PORT, and the configuration guide says TLS should be terminated at a reverse proxy. Data between the AI client and the server is only encrypted if that proxy is in place and the client connects through it. Decide which network segment the proxy sits on, who manages its certificates, and whether the server port is reachable from anywhere except the proxy.

Default MCP port
3000
Configuration guide

Retention of provider logs versus local logs

In cloud mode, prompts and tool results may be retained by the model provider under that provider's terms, outside your logging and deletion controls. In local mode, retention is whatever your own host, Open WebUI or mcphost keeps. Ask each provider for its retention and training terms in writing for the plan you use, and set your own log retention for the MCP server, reverse proxy and client. Check that the deployed version includes the logging redaction fix in pull request 130.

Pull request 130

One server for both modes

The README says cloud and local modes can run from the same server, tools and API. That makes it simpler to operate, but it means a cloud client and a local client can reach the same alert data with the same permissions. Decide whether to run separate server instances per mode, with separate credentials and network paths, so a cloud-connected client cannot reach the data a sovereignty rule keeps local.

How the answer changes by situation

In cloud mode, the gensecaihq README says data leaves your network to the LLM provider. That means alert records, agent details and query results that the server returns to Claude or another hosted model are sent to that provider as part of the conversation. The server itself does not decide what the provider keeps, so the contract and the provider's terms carry most of the privacy answer.

  • Provider terms: Confirm the data retention, training use and sub-processor terms in the signed agreement with the model provider, not only in the marketing pages.
  • Field scope: Decide which Wazuh alert fields, agent names and host identifiers may appear in tool output, and test whether the server returns them.
  • Result volume: Check the MAX_ALERTS_PER_QUERY setting (default 1000) so a single prompt cannot pull a large alert set into the provider.
  • Transport: Confirm that TLS is terminated at a reverse proxy in front of the plain HTTP listener on MCP_PORT.
  • Log content: Verify that the deployed version includes the redaction fix tracked in pull request 130 before relying on logs.

Before approval, ask the provider for written data handling terms that cover the exact product tier your staff will use, and have legal and compliance confirm them against your own obligations.

Order of work before production use

This sequence confirms which server build and model mode are in use, closes the transport and certificate gaps, and checks the output and logging controls before any production alert data flows. It ends with a written data flow that a privacy reviewer can approve or send back.

  1. Confirm the server, repository and version

    The engineer running the deployment records the exact repository, image and tag in use, starting with whether it is the gensecaihq/Wazuh-MCP-Server project or another community server such as gbrigandi/mcp-server-wazuh or socfortress/wazuh-mcp-server. Check the version against the supported Wazuh range in the README (Wazuh 4.8.0 to 4.14.7) and against the releases page, which lists version 5.0.0. The step is done when the version, the license and the container image source are written into the change record with the Wazuh Manager and Indexer versions they connect to.

  2. Set the model mode for each team

    The AI platform owner decides, team by team, whether the MCP client sends data to a cloud model such as Claude or only to a local model served by Ollama. The gensecaihq README states that cloud mode sends data to the LLM provider, while local mode keeps data inside the network. Record the chosen mode per client configuration, and confirm that no team has an unapproved Claude Desktop or cloud-backed client connected to the same server. The step is done when an inventory lists each client, its model and its approved data classes.

  3. Terminate TLS at a reverse proxy

    The network engineer places a reverse proxy in front of the MCP server, because the configuration guide says the server listens on plain HTTP on MCP_PORT (default 3000) and that TLS should be terminated there. Confirm that the AI client reaches the server only through the proxy over HTTPS and that the server port is not reachable from other networks. Separately, confirm the Manager connection: WAZUH_CA_BUNDLE should point to the trusted CA, and WAZUH_ALLOW_SELF_SIGNED must not be set to true, since that disables Manager certificate verification and produces a warning in the logs. The step is done when a test connection shows a verified certificate and the logs contain no self-signed warning.

  4. Verify the log redaction fix in the build

    The security engineer checks that the deployed build includes the fix from pull request 130, which addressed tracebacks and JSON log extras that were not redacted before the change. Compare the deployed version against the pull request and the releases page, then trigger a controlled error in a test environment and inspect the server output for credentials, tokens or alert content in tracebacks and JSON extras. If the build predates the fix, hold production use until it is upgraded and retested. The step is done when a written check shows the fix is present and the sample error output contains no secrets.

  5. Test output caps with a realistic query

    The security engineer runs a realistic alert query in a non-production tenant, using the same Indexer data shape the production team expects. The configuration guide sets MAX_ALERTS_PER_QUERY to a default of 1000, so confirm the effective value in the deployed configuration and test a broad prompt that asks for more alerts than the limit. Record how many records the client receives, whether the response shows the cap, and how large the payload is for the model. The step is done when the test result shows the limit is enforced and the team agrees the cap matches what the privacy review allowed to leave the network.

  6. Document the data flow for privacy review

    The compliance lead, with the platform owner, writes a data flow that traces an alert from the Wazuh Indexer and Manager through the MCP server, the TLS proxy, the chosen model mode and any log destination. For cloud mode, name the LLM provider and the data categories that reach it. For local mode, state where the Ollama host runs and confirm it stays inside the network. Include the retention position of each component and the open items to confirm with the vendor or provider. The step is done when the privacy and security reviewers sign the document, and any cloud data path has an explicit approval.

Evidence a security reviewer asks for

This table lists the evidence a reviewer should request before approving the gensecaihq Wazuh MCP server for a given team, with the setting or document that proves each point. Read each row as a question to answer in your own environment, and treat the cloud or local mode row as the decision that drives every other row.

Reviewer requestWhat to confirmWhere the evidence comes from
Data flow diagramDraw every hop from Wazuh Manager and Indexer to the MCP server, then to the AI client and, in cloud mode, to the model providerYour own architecture, checked against the gensecaihq README description of cloud and local mode
Model mode per teamRecord whether each team runs Claude or another cloud model (data leaves the network) or Ollama with a local model (data stays in the network)gensecaihq README, which describes both modes and states they can coexist with the same server and tools
TLS termination configConfirm a reverse proxy encrypts traffic between the AI client and the MCP server, because the server itself listens on plain HTTP on MCP_PORTgensecaihq configuration guide, which says TLS should be terminated at a reverse proxy
Manager certificate verificationConfirm WAZUH_ALLOW_SELF_SIGNED is not set to true and that WAZUH_CA_BUNDLE trusts the correct CAgensecaihq configuration guide, which says verification is on by default and that disabling it logs a warning
Warning log reviewSearch server logs for the self-signed warning and treat any hit as an open finding until the certificate chain is fixedServer log output as described in the gensecaihq configuration guide
Alert query capRecord the MAX_ALERTS_PER_QUERY value in use and confirm it matches the limit your data policy allowsgensecaihq configuration guide, which sets the default at 1000
Deployed version and PR 130 statusConfirm the deployed build is at or after the release containing the redaction fix for tracebacks and JSON log extrasgensecaihq pull request 130 and the releases page, which lists version 5.0.0
Provider retention terms (cloud mode)Obtain the model provider's current retention, training and data processing terms for the plan your organization usesThe provider's own terms, since the gensecaihq README does not describe them

Questions buyers ask before approving the Wazuh MCP server

Is local mode with Ollama fully offline?

The gensecaihq README says that in local mode data does not leave your network, and it describes this mode as fully air-gappable. That holds only if every component sits inside your boundary: the Wazuh Manager and Indexer, the MCP server, the Ollama host with its model files, the chat client and the reverse proxy. Confirm the chat client can reach only local endpoints. If you pull models from an external registry, do that before the network is isolated, then test egress on your own deployment instead of relying on the description alone.

Does cloud mode send Wazuh alerts to Claude?

Yes. The README says that in cloud mode data leaves your network to the LLM provider. Query results, which can include alert and agent details, go into the model conversation, so treat that content as sent to the provider. The MAX_ALERTS_PER_QUERY setting, default 1000, caps the alert limit per query, which limits volume but does not limit what a single result contains. Retention and training terms depend on your Anthropic plan and contract, so get them in writing from the provider rather than assuming them from this page.

Is the gensecaihq Wazuh MCP server an official Wazuh product?

No. The repository is published under the gensecaihq account, not the wazuh organization, and it is a community project under the MIT license. Other community servers exist, including gbrigandi/mcp-server-wazuh and socfortress/wazuh-mcp-server, each with its own tool set and security model, so confirm which one your team actually runs. The README lists Python 3.11 or newer and Wazuh 4.8.0 to 4.14.7 as supported, and the releases page lists version 5.0.0. Treat it as third-party software: pin a version, review the code, and track its releases and changelog.

What must our team build around the server before production?

Four parts sit outside the server itself:

  • A TLS reverse proxy in front of MCP_PORT (default 3000), because the server listens on plain HTTP and the configuration guide says TLS should be terminated at a proxy.
  • A model host: a cloud API account with egress rules for cloud mode, or an Ollama host sized for the chosen model in local mode.
  • A Wazuh Indexer connection for alert search, alert aggregation, vulnerability tools and alert-backed compliance checks, since Wazuh 4.8 removed those endpoints from the Manager.
  • Log collection and review for the server's own logs, plus confirmation that the deployed version includes the redaction fix in pull request 130.

Wazuh central components require a 64-bit x86_64 or AARCH64 Linux host, according to the Wazuh quickstart.

What drives the cost and effort of this setup?

No vendor price for this server or its model usage is supplied here, so confirm pricing with the model provider and your infrastructure vendors. The main components are infrastructure (the MCP host, reverse proxy, Wazuh Manager and Indexer capacity, and hardware for an Ollama host if you run local models), model usage fees paid to the provider in cloud mode, and staff time for deployment, certificate handling, permission design and log review. Setup work is largely one-time. Upgrades, model usage, log monitoring and Indexer maintenance recur. Costs rise with alert volume, the number of connected clients and the number of environments. In a quote, ask which components are included and who operates the Indexer.

Can our security team review this server without outside help?

A team with Wazuh and TLS experience can check the core settings itself. Verify that the Manager certificate is checked and that WAZUH_CA_BUNDLE points to the right authorities, because WAZUH_ALLOW_SELF_SIGNED=true disables Manager verification and logs a warning. Confirm TLS at the proxy, the output limits, the redaction fix and the egress path for each mode. Independent testing is harder to do alone. Prompt injection, tool and file permissions, data exposure and credential handling need adversarial testing. DeployOpen's AI agent rollout security review covers those areas and delivers a findings report with fixes and a retest. DeployOpen does not issue audit reports or certifications.

What does a scoping call cover for this review?

A scoping call fixes the boundaries of the work. It agrees the server name and version, whether the deployment runs cloud mode, local mode or both, the Wazuh version and Indexer setup, the MCP clients and models in use, and which data classes may leave the network. It also sets the systems to be tested, who provides access and test environments, and the deliverables and retest. Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. DeployOpen does not publish a price list, and a quote follows from that written scope. Ask that the written scope list which checks are included and which stay with your team.

Where to check each claim

Before approving any Wazuh MCP server for staff use, have your security reviewer read the gensecaihq/Wazuh-MCP-Server README, the configuration guide and pull request 130 directly rather than relying on a summary. The gensecaihq server is a community project published under the gensecaihq account, not an official Wazuh product, so the maintainer's README and docs are the primary source for how data flows, what is redacted and which settings relax protections. Confirm first which community server your team actually runs, because the repositories named in the pillar each have their own tool set and security model.

Use the README to confirm the cloud and local mode descriptions against your architecture, then use the configuration guide to verify the settings that govern data exposure, including MAX_ALERTS_PER_QUERY, WAZUH_CA_BUNDLE and WAZUH_ALLOW_SELF_SIGNED. Pull request 130 matters because it records that tracebacks and JSON log extras were not redacted before that fix. Ask the engineering team to confirm in writing that the deployed version includes the fix, and to pin the exact release they tested rather than assuming the latest tag, using the project's releases page as the reference for version history.

Treat these documents as claims to test, not guarantees. Record which README statement, configuration key or pull request supports each control you approve, and note the version you reviewed. Ask the maintainers or your implementation partner to confirm anything the documents leave open, such as which fields reach the model provider in cloud mode, how long any client-side logs persist and whether the reverse proxy in front of the server is configured as the guide expects. Where the documentation is silent, record that gap as an open risk rather than an assumed control.

How DeployOpen works on this

DeployOpen reviews a Wazuh MCP server rollout by first deciding which model path sends SIEM data where, then testing the server's transport, certificate and logging settings against that decision. The work is scoped in writing before it starts, and the findings and fixes are handed over with the configuration evidence your security and compliance reviewers need.

How we scope

  • Confirm which MCP server and version the client uses, since community Wazuh servers differ in tool sets and security models.
  • Map which alert, agent and vulnerability data would reach a cloud model versus a local Ollama model.
  • Agree the written scope, deliverables and timeline with you before any testing starts, as most engagements are fixed-scope.

How we build

  • Check that the TLS reverse proxy in front of the plain HTTP MCP listener is in place and encrypts client traffic.
  • Verify Manager certificate checking, the CA bundle setting and that the self-signed bypass is disabled outside test labs.
  • Confirm the deployed build includes the redaction fix for tracebacks and JSON log extras before logs are reviewed.

How we hand over

  • Deliver a written data flow record showing each path from Wazuh to the model provider or the local Ollama host.
  • Document the configuration values, output limits and log redaction results, with evidence your reviewers can reproduce.
  • Provide a findings report with fixes and a retest, so approvers can confirm the configuration as deployed.

How we support

  • Review configuration again when the MCP server, Wazuh version or model provider changes.
  • Retest after upgrades, including checks that log redaction and output limits still apply.
  • Ongoing support, upgrades and continuous testing are available as a retainer after the initial rollout.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.