PRTG

v1.0.2
io.github.WYRE-AI/prtg-mcp Checked 1 day ago Published 13 days ago

MCP server for Paessler PRTG's REST API v2 - network/infrastructure monitoring for MSPs.

Values you need

VariableWhat it is
PRTG_API_KEYrequired secret PRTG API key (Bearer token, generated in the PRTG web UI under Account Settings -> My Account -> API Keys).
PRTG_BASE_URLrequired Base URL of the PRTG Application Server for self-hosted PRTG Network Monitor (which serves API v2; HTTPS port 1616 by default), e.g. https://prtg.example.com:1616. Not the classic web interface URL. PRTG Hosted Monitor does not provide API v2.
MCP_TRANSPORToptional Transport mode for the server. Set to 'stdio' for local CLI use; the image defaults to 'http' for gateway hosting. Default: stdio
AUTH_MODEoptional Credential source: 'env' reads vars locally, 'gateway' expects header injection from the WYRE MCP Gateway. Default: env
LOG_LEVELoptional Log verbosity: debug, info, warn, error Default: info

Docker discovery passed

Requires Docker

Run in a terminal
claude mcp add prtg-mcp -e 'PRTG_API_KEY=<PRTG_API_KEY>' -e 'PRTG_BASE_URL=<PRTG_BASE_URL>' -- docker run -i --rm -e PRTG_API_KEY -e PRTG_BASE_URL ghcr.io/wyre-ai/prtg-mcp:v1.0.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "prtg-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PRTG_API_KEY",
        "-e",
        "PRTG_BASE_URL",
        "ghcr.io/wyre-ai/prtg-mcp:v1.0.2"
      ],
      "command": "docker",
      "env": {
        "PRTG_API_KEY": "<PRTG_API_KEY>",
        "PRTG_BASE_URL": "<PRTG_BASE_URL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "prtg-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PRTG_API_KEY",
        "-e",
        "PRTG_BASE_URL",
        "ghcr.io/wyre-ai/prtg-mcp:v1.0.2"
      ],
      "command": "docker",
      "env": {
        "PRTG_API_KEY": "<PRTG_API_KEY>",
        "PRTG_BASE_URL": "<PRTG_BASE_URL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "PRTG_API_KEY",
      "id": "prtg-api-key",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "PRTG_BASE_URL",
      "id": "prtg-base-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "prtg-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PRTG_API_KEY",
        "-e",
        "PRTG_BASE_URL",
        "ghcr.io/wyre-ai/prtg-mcp:v1.0.2"
      ],
      "command": "docker",
      "env": {
        "PRTG_API_KEY": "${input:prtg-api-key}",
        "PRTG_BASE_URL": "${input:prtg-base-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.prtg-mcp]
command = "docker"
args = ["run", "-i", "--rm", "-e", "PRTG_API_KEY", "-e", "PRTG_BASE_URL", "ghcr.io/wyre-ai/prtg-mcp:v1.0.2"]
env = { "PRTG_API_KEY" = "<PRTG_API_KEY>", "PRTG_BASE_URL" = "<PRTG_BASE_URL>" }

For AI agents

  1. Ask the user for: PRTG_API_KEY, PRTG_BASE_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: prtg_list_devices, prtg_get_device, prtg_list_groups, prtg_get_group, prtg_list_probes, prtg_get_probe, prtg_get_probe_network_info, prtg_list_sensors, ….
  5. If it fails, check that the required runtime is installed (Docker) and that the values above are set.

Machine-readable: install.md · manifest.json