PRTG MCP server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PRTG MCP server what's down right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PRTG MCP server
A read-only MCP server for Paessler PRTG Network Monitor. Claude can ask PRTG what is down right now, find a client's group, device or sensor by name or address, read a sensor's channels and its history, and read the log.
It uses the same framework as Cititec's other MCP servers: TypeScript, @modelcontextprotocol/sdk, a stdio transport, vitest tests, tsup and a Docker image.
Why the classic API
PRTG has two HTTP APIs:
the classic API (
/api/table.jsonand friends), served by the PRTG web interface on every on-premises version;API v2 (PRTG 25+), served by a separate Application Server (port 1616) that has to be activated, and that is not available on PRTG Hosted Monitor or in cluster mode.
This server uses the classic API, so it works on any on-premises PRTG from 22.1 (when API keys arrived), including 25.x whether or not API v2 is activated. WYRE-AI/prtg-mcp covers API v2.
Adding API v2 later: every PRTG request goes through src/client.ts (Api.get and Api.table, over a fixed list of endpoints), and the tools only see the Api interface plus the row mappers in src/tools/format.ts. A v2 backend would be a second Api implementation, chosen by a setting such as PRTG_API=v2 with its own base URL (the Application Server, port 1616), that maps v2 objects onto the same rows. The tools and their output would not change.
Related MCP server: mcp-prtg
The API
Authentication: an API key of a PRTG user, sent as the
apitokenquery parameter on every request. A key has every right of its user and cannot be narrowed, so create a dedicated read-only PRTG user with access to the groups Claude may see, then create the key under that user (Setup > Account Settings > My Account > API Keys).prtg_statusreports whether the key's user is read-only.Endpoints used:
GET /api/status.json,/api/table.json(content=probenodes|groups|devices|sensors|channels|messages, fixed columns),/api/getsensordetails.jsonand/api/historicdata.json. No tool takes a free-form endpoint, column or filter. No tool changes anything in PRTG.Paging:
count(at most 500) andstart; PRTG'streesizeis the total. Every list returnstotal,count,offsetandnextOffsetwhen there is more.Filters: states become
filter_statuscodes (PRTG ORs repeats); names and hosts becomefilter_name=@sub(text)/filter_host=@sub(text)(text with a parenthesis is refused); a parent becomesid=(everything below that object).Times: PRTG reads and writes historic-data times in the core server's local time, so set
PRTG_TIME_ZONE.
Configuration
Variable | |
| The PRTG web interface address as typed in a browser, https: |
| The API key. Never logged; removed from every error message (also URL-encoded, and any |
|
|
| The PRTG core server's IANA time zone, e.g. |
|
|
|
|
|
|
Tools
Tool | What it does |
| Version, server clock, sensor counts by state, new alarms and log entries, whether the key's user is read-only or an administrator ( |
| Probes with connection state and sensor counts. |
| Groups (often one per client or site), by name or below a probe/group, with sensor counts. |
| Devices by name, host, state or parent, with sensor counts. |
| One device, every sensor that is not up (with its message), and the names of those that are. |
| Sensors by state ( |
| Down and partially down sensors, plus acknowledged, warning and unusual ones (each can be turned off), worst first across every page (one table read per state, so paging is exact), with how long they have been down, and the whole-server counts. |
| One sensor's details ( |
| Historic data over |
| Log entries, newest first, for |
| Groups and sensors whose name contains the text, devices whose name or host contains it. |
Results are trimmed to useful fields, HTML tags and entities in PRTG's text are cleaned, and each response is capped at 60,000 characters.
Untrusted text
Almost everything PRTG returns was written by someone or something other than the MSP: device and sensor names come from auto-discovery (a device's own host name, its SNMP sysName), sensor messages and channel names come from the monitored device's answers, and log entries repeat both. Every result except prtg_status is wrapped in a <prtg-data> block followed by a reminder that it is data, not instructions. A closing tag inside the data is neutralized, so it cannot end the block early. This is a label, not a guarantee; what bounds the damage is that every tool is read-only and the key's user is read-only.
Rate limits
PRTG itself does not throttle the API, but large tables and historic data load the core server. The Cititec MCP host applies its own per-service rate limit. If a proxy answers HTTP 429, a read is retried once when the wait is 10 s or less; otherwise the tool returns a structured rate_limited error with retryAfterSeconds (fleet 429 policy).
Development
npm ci
npm run lint # tsc --noEmit
npm test # vitest
npm run build # tsup -> dist/index.jsDocker
docker build -t prtg-mcp .
docker run --rm -i --env-file prtg.env prtg-mcpstdio only: the Cititec MCP host runs one container per connection with the service's env file. The Cititec release workflow tags a release with semantic-release on every merge to main and pushes ghcr.io/cititec-pty-ltd/prtg-mcp:vX.Y.Z (and :latest).
Licence
Apache 2.0. See LICENSE and NOTICE.
Available Tools
11 toolsprtg_get_deviceARead-onlyIdempotent
One PRTG device: host, group, probe, state, sensor counts, every sensor that is not up (with its message) and the names of the ones that are.
Inputs: device_id (required), sensor_limit.
prtg_get_sensorBRead-onlyIdempotent
One PRTG sensor: type, device, state, last message and value, check interval, last up/down, uptime and downtime, and every channel's last value.
Inputs: sensor_id (required).
prtg_get_sensor_historyARead-onlyIdempotent
Historic data of one PRTG sensor over a time range (at most 31 days): per-channel min, max, mean and last over the whole range, plus up to max_rows averaged intervals. Give hours (back from now) or start/end in PRTG server local time. The average interval is picked automatically unless average_seconds is given.
Inputs: sensor_id (required), end, hours, start, +3 more.
prtg_list_alarmsARead-onlyIdempotent
Current PRTG alarms: sensors that are down or partially down, plus (by default) acknowledged, warning and unusual ones, worst first, with message and how long they have been down. Optionally only below a probe/group/device.
Inputs: name, limit, offset, parent_id, +3 more.
prtg_list_devicesARead-onlyIdempotent
List PRTG devices with host (address), group, probe, state and sensor counts. Filter by name, host, state, or a parent probe/group (parent_id, e.g. a client group).
Inputs: host, name, limit, offset, +2 more.
prtg_list_groupsARead-onlyIdempotent
List PRTG groups (folders of devices, often one per client or site) with sensor counts by state. Filter by name or by a parent probe/group.
Inputs: name, limit, offset, parent_id.
prtg_list_logsARead-onlyIdempotent
Recent PRTG log entries (state changes, alarms, notifications, acknowledgements, configuration changes), newest first, for the whole server or one object and everything below it.
Inputs: limit, offset, period, object_id.
prtg_list_probesARead-onlyIdempotent
List PRTG probes (the local probe and remote probes, usually one per client site) with their connection state and sensor counts.
Inputs: name, limit, offset.
prtg_list_sensorsARead-onlyIdempotent
List PRTG sensors with state, message and last value. Filter by state (down, warning, paused, unusual, ...), name, or a parent probe/group/device (parent_id).
Inputs: name, limit, offset, status, +1 more.
prtg_searchARead-onlyIdempotent
Search PRTG by text: groups and sensors whose name contains it, devices whose name or host (address) contains it. Use it to find the ID of a client, site, device or sensor.
Inputs: query (required), kinds, limit.
prtg_statusARead-onlyIdempotent
PRTG server status: version, server clock, sensor counts by state (down, partial down, acknowledged, warning, unusual, paused, up), new alarms and log entries, and whether the token user is read-only. Start here to check the connection.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool targets a distinct resource or action: single-object getters (get_sensor, get_device) versus listers (list_sensors, list_devices, list_groups), plus clearly separate analytics (get_sensor_history), alarms and logs. The only soft overlap is between prtg_list_alarms and prtg_list_sensors filtered by a down/warning state, and between prtg_status's log summary and prtg_list_logs, but the descriptions make the intended use clear.
Names share a uniform prtg_ prefix and mostly follow a verb_noun pattern (list_devices, get_sensor, get_sensor_history, list_logs). Minor deviations are prtg_status and prtg_search, which are noun/verb-only rather than verb_noun, but the intent of each is still obvious.
Eleven tools is well within the ideal range for a monitoring server, and each one covers a distinct level of the PRTG hierarchy (probe, group, device, sensor) plus cross-cutting concerns (alarms, logs, history, search). No tool looks like filler or a near-duplicate of another.
The read-only monitoring surface is well covered: connection check, full object hierarchy traversal, search for ID lookup, alarms, logs, and historical metrics with sensible defaults. The gap is the absence of write/action operations such as acknowledging alarms, pausing sensors, or scanning now, which are common day-to-day NOC workflows; agents must fall back to the PRTG UI for those.
Maintenance
Related MCP Connectors
Monitor websites, APIs, and servers: create monitors, triage incidents, and query uptime stats.
Read-only access to your Infrapage dashboards: pages, widgets, live values, weekly recaps.
Read NodePing checks, uptime, results and events; mute checks, manage maintenance and schedules.
Status pages and uptime monitoring: read status, monitors and incidents; open incidents.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables read-only interaction with Proxmox homelab VMs and containers, allowing LLM agents to list VMs, monitor status and performance metrics, view snapshots, and check cluster health through natural language queries.8MIT
- FlicenseAqualityDmaintenanceEnables querying sensors, devices, groups, channels, historical data, and system status from a PRTG Network Monitor instance via the classic PRTG HTTP API.92-
- AlicenseAqualityBmaintenanceProvides read-only access to TacticalRMM remote monitoring and management instances via the MCP protocol. It enables querying agents, clients, alerts, checks, and other RMM data through natural language.227 npm1AGPL 3.0
- AlicenseAqualityBmaintenanceEnables AI assistants to read device/sensor status, channel measurement history, and alarms from a Paessler PRTG monitoring instance via its REST API v2, with a read-only tool surface.15Apache 2.0