GUIDES › MeshWatch AI

Other languages English · 日本語 · 한국어 · 简体中文

MeshWatch AI — installation and administration

MeshWatch AI is a server you run yourself: MeshWatch Central’s engine with an Assistant and a read-only MCP server. It takes alerts from the products, puts them in one inbox, correlates them by device, and can explain what it sees with the evidence attached. Current version 1.0.1.

In this version

Full release notes

Before you start

MeshWatch AI is meant to sit on a server that stays on, not on a laptop. It listens on port 8443, over plain HTTP — 8443 usually means HTTPS, but it does not speak it until you put a reverse proxy in front. Typing https:// will simply fail to connect.

Two ways to install it. Read this before choosing:

If you plan to run the model on the same server with Ollama, size the server for the model: the console itself is lightweight, the model is not.

Install — Docker

Docker has to be installed and running first. Then one command:

docker run -d --name meshwatch-ai -p 8443:8443 -v meshwatch-ai-data:/data ethan99199/meshwatch-ai:1.0.1

Kept on one line on purpose: a backslash-continued version breaks when it is pasted into PowerShell, which does not use backslash to continue a line.

Check it started — you should see Up … (healthy):

docker ps --filter name=meshwatch-ai

If the container is missing, ask it why:

docker logs meshwatch-ai

If the shell answers docker: The term 'docker' is not recognized or command not found, Docker itself is missing — or you opened the terminal before installing it, in which case a new terminal window will find it.

Install — Node bundle (including Windows Server)

Node.js 22 or newer, nothing else. Nothing is downloaded at install time.

Unpack it somewhere permanent, then — in PowerShell — change into that folder first. Missing that step is the usual mistake; Node then looks for src\server.js in whatever folder you happen to be in and says Cannot find module.

cd C:\MeshWatchAI\mwai-1.0.1
$env:MWC_DATA_DIR = "C:\ProgramData\meshwatch-ai"; node src\server.js

On Linux or macOS:

MWC_DATA_DIR=/var/lib/meshwatch-ai node src/server.js

MWC_DATA_DIR is where the database, settings and the Assistant log are written. Pick a path that is backed up and that the account running Node can write to.

Started from a terminal, the server stops when that window closes. For a real deployment register it as a service — NSSM or a scheduled task set to run at startup on Windows, a systemd unit on Linux.

The bundle is licensed software, not open source. You may run it on your own servers; redistributing it is not permitted. The terms are in LICENCE.txt inside the archive.

Moving from MeshWatch Central

MeshWatch AI runs on the same engine as Central, so an existing Central installation is moved by pointing MeshWatch AI at the same data folder. Accounts, tokens, alerts, devices, settings and the audit log carry over, and the connected products need no change — they keep sending to the same address and token.

docker stop meshwatch-central && docker rm meshwatch-central && docker run -d --name meshwatch-ai -p 8443:8443 -v central-data:/data ethan99199/meshwatch-ai:1.0.1

Back up the data folder before you switch. Do not run Central and MeshWatch AI against the same folder at the same time.

First run

  1. Open http://<your-server>:8443 — or http://localhost:8443 if you are on the machine itself.
  2. Create the first administrator account. That screen only ever appears once. (It does not appear at all when you moved an existing Central installation: sign in with the accounts you already have.)
  3. Open port 8443 so the products can reach the server. On Windows Server:
New-NetFirewallRule -DisplayName "MeshWatch AI 8443" -Direction Inbound -LocalPort 8443 -Protocol TCP -Action Allow

The 30-day trial starts on first run and includes the Assistant. No card, no account with us.

Connecting a product

Nothing appears until you connect something. The server does not discover products by itself; each one is pointed at it with a token, exactly as with Central.

  1. Open Agents. Choose the product, type a label — a name you invent to tell installations apart, such as Head office — and press Issue token. The token is shown once.
  2. Pick the right product in that dropdown. A token belongs to the product it was issued for, and every report is filed under that product; current product releases reject a token issued for another product and name the product it belongs to. If you run an older release, upgrade before connecting it. The badge in each Agents row shows which product a token belongs to.
  3. In the product, open its MeshWatch Central settings — the setting keeps that name in every product — and paste in http://<server>:8443 and the token. Where that setting lives in each product, which product versions have it, and how MeshServerWatch differs are in the Central guide; it is the same here.

What crosses the network is a severity, a device name, a kind and a one-line summary. Never a raw log line, a configuration file, a certificate, a private key or a packet capture — and that is also all the Assistant can ever see.

Licence

Settings → Licence shows the state, the organisation, the expiry and the days left. An administrator pastes the MeshWatch AI key and presses Activate (or Replace key, Remove key). When the trial or the licence ends, the server stops accepting data from connected products; the console, the data already stored and the products themselves keep working, and entering a key resumes normal operation at once.

The seven product keys. A MeshWatch AI purchase includes licence keys for SyslogWatch Enterprise, DeviceWatch (up to 250 devices), TrafficWatch Pro, CertWatch Pro, ConfigWatch Pro, TrapWatch and MeshServerWatch (25 servers). Each product verifies its own key, so they arrive as one key per product; enter each one in that product’s own licence panel. You do not have to install every product — the console works with however many you connect.

Licence keys are verified offline against a public key built into the software, so activation works on a server with no route to the public internet.

Assistant

Off by default. Settings → Assistant: choose where the model runs (Ollama on this server, a model server on your network, or your own Anthropic / OpenAI-compatible key), enter the model name, turn it on. In Docker, Ollama on the host is http://host.docker.internal:11434. Then use Explain on an incident card or the Assistant tab.

What it can do. Explain an incident, answer “what needs attention right now?”, and summarise what a device has been reporting. Every claim links to the alert or incident it came from, and those links are checked against the server’s own data: anything the model cites that cannot be found is marked unverified.

What leaves the server: only one-line summaries, with device names, IP and MAC addresses, host names, e-mail addresses, user names and incident IDs replaced by placeholders (always, when the endpoint is outside your network). Before an external request is sent you see it and press Send. Assistant → What was sent keeps every request for the retention period, within a size limit of 256 MB by default (MWC_ASSISTANT_LOG_MAX_MB). If that limit is reached first, the oldest entries are removed, each removal is written to the audit log, and What was sent says how many were removed. With Ollama on the same server nothing leaves the machine at all. Our servers are never in the path.

It cannot change anything: acknowledgements are proposals you approve, recorded under your name in the audit log. Viewers can ask but cannot approve. To switch it off for good: MESHWATCH_DISABLE_ASSISTANT=1 in the environment, or a file named no-assistant in the data folder. With either in place, the Assistant cannot be turned back on from Settings.

MCP (read-only)

The MCP server lets MCP clients such as Claude Desktop read incidents, alerts and devices from MeshWatch AI. It is started by the client over the container’s standard input — it opens no network port of its own:

docker exec -i meshwatch-ai node src/mcp.js

Use that line as the server command in your MCP client’s configuration; the client must be able to run docker exec on the host. For the Node bundle, run node src/mcp.js from the bundle folder with the same MWC_DATA_DIR.

Names are masked by default — device names, addresses and user names come back as placeholders; --no-mask turns that off. It cannot change anything: there is no tool for acknowledging, issuing tokens or editing settings. What it reads is recorded in the audit log.

Reading it

The console is MeshWatch Central’s, with the Assistant tab and the Explain button added. Overview, Incidents, Alerts, Devices, Agents, Users and Settings work as described in the Central guide — Reading it — including how two reports become one incident, why a device can appear on two rows, and the three roles. Times are shown in your browser’s local time; incident reports and CSV exports use UTC.

Running it properly

HTTPS

Put a reverse proxy in front for anything reachable outside a trusted network, then set MWC_SECURE_COOKIES=1. Setting that flag before HTTPS is in place will break login.

Backup

Everything lives in the data directory — /data in the container or whatever you set MWC_DATA_DIR to: accounts, tokens, alerts, the audit log, the Assistant settings and its log of what was sent. Back that up and you have backed up MeshWatch AI. Your model’s API key, if you entered one, is in there too — treat the backup accordingly.

Updates

Off by default: the server makes no outbound connection until an administrator ticks Check once a day in Settings. When on, it requests one static file from meshwatch.app a day and sends nothing about your deployment. It does not update itself; pull the new image and recreate the container, or unpack the new bundle over the old one.

If the server goes down

No product depends on it to do its own job. Each product keeps monitoring exactly as before; you lose the shared inbox, the correlation and the Assistant until it is back, nothing else.

Troubleshooting

The Assistant tab is missing, or Explain does nothing

The Assistant is off. An administrator turns it on in Settings → Assistant. If the switch there is greyed out, MESHWATCH_DISABLE_ASSISTANT=1 is set or a no-assistant file is in the data folder — that is deliberate, and it is removed on the server, not in the console.

The Assistant says it cannot reach the model

Check the endpoint from the server itself, not from your laptop. In Docker, localhost inside the container is the container, not the host — Ollama on the host is http://host.docker.internal:11434. For an external provider, check the key and that the server can reach the provider through your firewall or proxy.

An answer is full of “unverified”

The model cited alerts or incidents the server cannot find — usually ones that have aged out of retention, or an inference the model presented as a reference. Treat those lines as the model’s opinion, not as evidence. Lines with working links are backed by data the server holds.

The Approve button is not there

You are signed in as a viewer. Viewers can ask the Assistant anything but cannot approve its proposals; an operator or administrator can.

The MCP client cannot connect

The client runs docker exec -i meshwatch-ai node src/mcp.js itself, so it has to be on the host (or able to reach its Docker socket), and the container has to be running under exactly that name. There is no port to open; if your client asks for a URL, it is expecting a different kind of server.

The dashboard is all zeros, Incidents stays empty, a product reports under the wrong name

These are the console’s own questions and the answers are the same as for Central: Central guide — Reading it and its troubleshooting section.

The browser will not connect

Check http://, not https://. Then check that port 8443 is open on the server, and that you used the server’s address rather than localhost from another machine.