mcp-netalertx
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NETALERTX_URL | No | Base URL of the NetAlertX API server. `20212` is the default API port of the official image (`GRAPHQL_PORT`); some deployments publish it behind nginx on `20211` under `/api/`. | http://localhost:20212 |
| NETALERTX_TOKEN | Yes | The NetAlertX API token, sent as `Authorization: Bearer <token>`. If it is missing, every tool returns an explicit configuration error instead of sending an unauthenticated request. | |
| NETALERTX_TIMEOUT | No | Request timeout in seconds. | 30 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
NetAlertX network inventory (read-only): devices, network topology, open ports, events, sessions and system health. Also exposes a network scan trigger and a Wake-on-LAN helper. No deletion tool is exposed.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| netalertx_check_authA | Check that the configured NetAlertX API token is valid. Returns the answer of the NetAlertX /auth endpoint. |
| netalertx_list_devicesA | List the devices known by NetAlertX. status: optional filter (connected, down, favorites, new, archived, all, offline). limit: maximum number of devices returned (1-1000). offset: number of devices to skip. |
| netalertx_get_deviceC | Full detail of one device, by MAC address. |
| netalertx_get_open_portsA | Open ports recorded by NetAlertX for a target (IP address or MAC address). The data comes from the last NMAP scan; if nothing is stored, run an NMAP scan from the NetAlertX UI (Net tools) first. |
| netalertx_get_network_topologyB | Network topology of the monitored network: the nodes (devices) and the links between them, as seen by NetAlertX. |
| netalertx_get_device_totalsA | Counters of the device inventory: total, connected, down, new, favorites and archived devices. |
| netalertx_list_recent_eventsC | Events recorded by NetAlertX over the last hours (connect, disconnect, new device, IP change...). hours: time window, limit: max events returned. |
| netalertx_list_sessionsC | Connection sessions recorded by NetAlertX. All arguments are optional: mac restricts the result to one device, start_date and end_date filter the period (ISO 8601, e.g. 2026-11-01T00:00:00). |
| netalertx_get_system_healthB | Health of the NetAlertX host: database size, memory usage, load, disk usage and CPU temperature. |
| netalertx_get_network_interfacesB | Network interfaces seen by the NetAlertX host, with their addresses. |
| netalertx_trigger_network_scanA | Trigger a network scan on the NetAlertX host. scan_type is one of ARPSCAN (default), NMAPDEV, NMAP, INTRNT, AVAHISCAN or NBTSCAN. This is an operational action: it makes NetAlertX probe the network. |
| netalertx_wake_on_lanB | Send a Wake-on-LAN magic packet from the NetAlertX host to a device. dev_mac: MAC address of the target. ip: optional IP address of the target, useful when the MAC is unknown. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Each tool targets a distinct resource or action, and the read tools (devices, ports, sessions, events, topology, health, interfaces) are clearly separated. The only mild overlaps are netalertx_list_devices vs netalertx_get_device_totals (inventory vs counters) and netalertx_get_network_interfaces vs netalertx_get_network_topology, but descriptions make the distinction clear.
Every tool uses the netalertx_ prefix followed by a consistent verb_noun pattern (list_devices, get_device, trigger_network_scan, wake_on_lan). No camelCase or style mixing; names are predictable and readable.
Twelve tools is well within the ideal range and every tool covers a distinct facet of the NetAlertX domain (auth, inventory, ports, sessions, events, topology, health, interfaces, scans, WoL). Nothing feels redundant or padded.
Read coverage is strong and two operational actions (scan trigger, Wake-on-LAN) exist, but the write/lifecycle surface is notably thin: no way to favorite, archive, rename, or delete a device, and no event acknowledgement or alert/notification rule management. Agents can inspect and trigger scans but cannot mutate inventory or alert state.