PingHarbor \'e2\'80\'94 Uptime Monitoring\

by captain-cole

\

View Chinese version with editor review

安装

claude skill add --url https://github.com/openclaw/skills

文档


Connect to your PingHarbor account to monitor website uptime, query incidents, and pull SLA reports 'e2'80'94 all via the PingHarbor MCP server.
\

Authentication\


Set your PingHarbor API key as an environment variable:
\

code
PINGHARBOR_API_KEY=ph_your_api_key_here\
```\
\
Generate a key at: **Administration \'e2\'86\'92 API Keys** inside your PingHarbor dashboard.\
\
## MCP Endpoint\
\
```\
https://aeuudydvwlmbvuqgqsqu.supabase.co/functions/v1/mcp\
```\
\
Pass the key as a Bearer token:\
\
```\
Authorization: Bearer $PINGHARBOR_API_KEY\
```\
\
## Available Tools\
\
| Tool | Description |\
|------|-------------|\
| `list_monitors` | List all monitors and their current status |\
| `get_incidents` | Retrieve recent incidents and downtime events |\
| `create_monitor` | Create a new uptime monitor programmatically |\
| `get_monitor_report` | Fetch SLA and response time report for a monitor |\
\
## Example Usage\
\
> "List all my monitors and show me which ones are currently down."\
\
> "Get incidents from the last 7 days for monitor ID xyz."\
\
> "Create a monitor for https://example.com with a 60-second check interval."\
\
> "Show me the SLA report for my main API monitor."\
\
## Config (~/.openclaw/openclaw.json)\
\
```json\
\{\
  "skills": \{\
    "entries": \{\
      "pingharbor": \{\
        "enabled": true,\
        "apiKey": "ph_your_api_key_here"\
      \}\
    \}\
  \}\
\}\
```\
\
Or via environment variable injection:\
\
```json\
\{\
  "skills": \{\
    "entries": \{\
      "pingharbor": \{\
        "enabled": true,\
        "env": \{\
          "PINGHARBOR_API_KEY": "ph_your_api_key_here"\
        \}\
      \}\
    \}\
  \}\
\}\
```\
}