prtg-mcp
Click on "Install 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-mcpshow all sensors"
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
MCP server for PRTG Network Monitor (Paessler network/infrastructure monitoring). Exposes PRTG's native HTTP API's sensors, devices, and historic sensor data as MCP tools.
Overview
Stateless HTTP service. No credentials are ever persisted — each request supplies its own credentials via headers, used only for the lifetime of that single request.
Supports concurrent requests; per-request credential isolation is done via Python
contextvars, not a global/shared client instance.Entry points:
POST /mcp(MCP protocol) andGET /health(health check).Default port:
8080(configurable viaMCP_HTTP_PORT).
Related MCP server: mcp-ntopng
Authentication
Unlike most integrations in this program, PRTG has no separate login or token exchange: the username and a "passhash" (generated in PRTG's UI under My Account -> API Key, not the literal account password) are sent as plain query parameters on every single call. There is therefore nothing to cache — each call is already fully self-contained and stateless by the vendor's own design.
HEADER 授权参数说明
Header | 类型 | 是否必填 | 默认值 | 枚举值 | 字段描述 | Example |
| string | 是 | 无 | 无 | PRTG core server 主机名(不含协议前缀) |
|
| string | 是 | 无 | 无 | PRTG API 用户名 |
|
| string | 是 | 无 | 无 | PRTG "passhash"(在 PRTG UI 的 My Account -> API Key 页面生成,不是账号明文密码) |
|
Missing any header returns 401:
{
"error": "Missing credentials",
"message": "This server requires the X-PRTG-Server-Url, X-PRTG-Username, and X-PRTG-Passhash headers",
"required_headers": ["X-PRTG-Server-Url", "X-PRTG-Username", "X-PRTG-Passhash"],
"optional_headers": []
}An invalid credential surfaces as a tool-level error envelope (see
Error envelope below), classified from PRTG's HTTP
status code — a 401/403 maps to unauthorized. On any non-2xx response
this server tries to extract a message/error field from the JSON body
and falls back to the raw response text if that body isn't JSON (PRTG can,
for certain malformed requests, fall back to an XML <error> body even on
the .json endpoint).
Environment Variables
Variable | 类型 | 是否必填 | 默认值 | 说明 |
| int | 否 |
| HTTP 监听端口 |
| string | 否 |
| HTTP 监听地址 |
MCP Endpoint
POST /mcp— MCP protocol (streamable HTTP transport)GET /health— health check, returns{"status": "ok"}(pure local probe, does not call PRTG)
Tool List
Tool | 功能 | 参数 |
| 列出所有传感器及其当前状态/数值 |
|
| 列出所有受监控设备及其状态/所属 probe/group |
|
| 获取指定传感器在某日期范围内的历史监控数据 |
|
All 3 tools are read-only (readOnlyHint=True, idempotentHint=True); there are no write/delete tools in this service.
count has no documented vendor-side hard maximum for PRTG's table.json endpoint, so this server applies the platform's own fallback ceiling instead of passing values through unchecked: default 50, values above 200 are silently clamped down to 200 rather than sent to PRTG as-is.
Response format
Both endpoints this server calls (table.json, historicdata.json) are the vendor's JSON-suffixed variants, so on success the client only ever parses JSON. PRTG's HTTP API can in principle return XML for other endpoints/params, so the client parses defensively: a non-2xx response is classified into the structured error envelope below, and if a 2xx response ever fails to parse as JSON its raw text is returned under a raw_response key instead of raising.
Error envelope
Tool errors are returned as a structured JSON string instead of a raised exception, so the calling agent can branch on code and decide whether to retry:
{"error": {"code": "upstream_error", "message": "...", "retryable": true}}code is one of: not_configured, unauthorized, not_found, invalid_argument, rate_limited, upstream_error. Empty result sets are returned as a normal (non-error) empty collection, not as not_found.
Tool return values (success and error alike) are compact JSON (ensure_ascii=False, no indent) capped at 20,000 characters — an oversized result truncates its largest list field and reports truncated/original_count rather than returning an unbounded blob.
测试示例
# Health check
curl -s http://localhost:8080/health
# Call a tool via the MCP protocol (streamable HTTP) — requires an
# initialize handshake first per the MCP spec; abbreviated example below
# shows the tool-call request body only:
curl -s -X POST http://localhost:8080/mcp \
-H "X-PRTG-Server-Url: prtg.example.com" \
-H "X-PRTG-Username: api_user" \
-H "X-PRTG-Passhash: <your-passhash>" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "mcp-session-id: <session-id-from-initialize>" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "prtg_get_sensors",
"arguments": {}
}
}'Live-verified (2026-07-30) against a real PRTG core server, all 3
tools called end-to-end through this running server with real
credentials: prtg_get_sensors and prtg_get_devices both returned 200
with a real prtg-version string and a valid (empty) result set — this
particular test account has zero sensors/devices provisioned under its
visible scope, confirmed as a genuine "no data" condition (not an auth
failure) by separately querying content=probes, which returned real
data (the PRTG Root probe plus several real scheduling objects) using the
exact same credentials. prtg_get_sensor_historic_data, called with a
non-sensor object ID (since no real sensor ID was available), correctly
reached the API and returned the vendor's own content-level error ("The
selected object cannot be used here"), proving the request/auth pipeline
is wired correctly.
API Reference
Public, no login required:
Sensors/Devices table format: https://www.paessler.com/manuals/prtg/multiple_object_property_or_status#supported_output
Historic data: https://www.paessler.com/manuals/prtg/historic_data
Known Gaps
Scope is exactly MSPbots' 3 configured endpoints, not the vendor's full API surface — PRTG's API also covers live sensor control (pause/resume/acknowledge), object creation/deletion, notifications, reports, and more; those are out of scope here.
Sensor/device data could not be demonstrated with real records — the provided test account (
Dash_Display, likely a dashboard-only display account) has zero sensors and zero devices provisioned in its visible scope on this particular PRTG instance. Live testing confirmed this is a genuine empty result (not an auth or implementation bug) by successfully querying a different, always-populated object type (content=probes) with the same credentials and getting real data back.prtg_get_sensor_historic_datacould not be tested with a real sensor ID for the same reason (no sensors exist to reference); it was instead verified by confirming the vendor's own content-level error response for an invalid object ID, which proves the request format and authentication are correct.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for interacting with Prometheus metrics and data.17MIT
- AlicenseNot gradedqualityDmaintenanceMCP Server for networl monitoring software ntopng.2MIT

DevHelm MCP Serverofficial
AlicenseBqualityBmaintenanceMCP server for uptime monitoring, incidents, alerting, and dependency status.1211MIT- AlicenseNot gradedqualityDmaintenanceMCP server for Nagios Core that enables querying host and service status, alerts, configuration, and other monitoring data through CGI binaries.5Apache 2.0
Related MCP Connectors
An MCP server giving access to Grafana dashboards, data and more.
MCP Server for JFrog, providing tools for development and artifact management.
MCP server for managing Prisma Postgres.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/MSPbotsAI/prtg-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server