360 Secure SkillHub
360 安全技能中心

PingHarbor

该 Skill 说明如何通过 PingHarbor 的 MCP 服务连接账户,使用 API Key 认证,支持列出与创建可用性监控和站点、查询事件、列出心跳监控并获取 SLA 报告。运行依赖外部 PingHarbor 服务和 MCP 工具,未包含本地脚本或服务端实现细节。

captain-cole
captain-cole
热度 49.26
最近更新 2026-05-11 17:39:34
分类:自动化依赖:MCP 服务 / 第三方 API应用场景:DevOps / 工作流 / 报告撰写 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pingharbor
Metadata
name
pingharbor
description
Query uptime monitors, heartbeat monitors, manage sites, retrieve incidents, create monitors, and fetch SLA reports from your PingHarbor account.
homepage
https://pingharbor.com
user-invocable
true
metadata
{"openclaw":{"emoji":"âš“","homepage":"https://pingharbor.com","primaryEnv":"PINGHARBOR_API_KEY","requires":{"env":["PINGHARBOR_API_KEY"]}}}

PingHarbor — Uptime & Heartbeat Monitoring

Connect to your PingHarbor account to monitor website uptime, track cron jobs via heartbeat monitors, manage sites, query incidents, and pull SLA reports — all via the PingHarbor MCP server.

Authentication

Set your PingHarbor API key as an environment variable:

PINGHARBOR_API_KEY=ph_your_api_key_here

Generate a key at: Administration → API Keys inside your PingHarbor dashboard.

MCP Endpoint

https://api.pingharbor.com/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
list_heartbeat_monitors List all heartbeat monitors and their health status
create_heartbeat_monitor Create a new heartbeat monitor with webhook URL
list_sites List all sites for the authenticated account
create_site Create a new site to group monitors together

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."

"List my heartbeat monitors and show which ones have missed a heartbeat."

"Create a heartbeat monitor for my nightly database backup that runs every 24 hours with a 60-minute grace period."

"List all my sites."

"Create a new site called 'Production' for https://myapp.com."

Config (~/.openclaw/openclaw.json)

{
  "skills": {
    "entries": {
      "pingharbor": {
        "enabled": true,
        "apiKey": "ph_your_api_key_here"
      }
    }
  }
}

Or via environment variable injection:

{
  "skills": {
    "entries": {
      "pingharbor": {
        "enabled": true,
        "env": {
          "PINGHARBOR_API_KEY": "ph_your_api_key_here"
        }
      }
    }
  }
}