cron-monitor

Cloudflare Workers MCP server: cron-monitor

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
100%
命名品質
97%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~600Token(工具定義)
~759 B典型回應大小
極小的注意力影響(128k 上下文的 0.47%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "cron-monitor": {
      "url": "https://api.lazy-mac.com/cron-monitor/mcp"
    }
  }
}

遠端端點

https://api.lazy-mac.com/cron-monitor/mcpstreamable-http

它能做什麼

工具清單

工具(6)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟡ping_monitor(monitor_id, ping_type)

Send a heartbeat ping to a cron monitor to confirm the job ran successfully. Use ping_type='ping' for simple heartbeats, 'start'+'complete' for duration tracking, or 'fail' to immediately mark it down.

輸入結構描述

{
  "type": "object",
  "properties": {
    "monitor_id": {
      "type": "string",
      "description": "Monitor ID to ping"
    },
    "ping_type": {
      "type": "string",
      "enum": [
        "ping",
        "start",
        "complete",
        "fail"
      ],
      "default": "ping",
      "description": "Type of ping event"
    }
  },
  "required": [
    "monitor_id"
  ]
}
🟢get_monitor_status(monitor_id)

Get the current status (up/down/grace/new) of a specific cron monitor along with last ping time and total ping count.

輸入結構描述

{
  "type": "object",
  "properties": {
    "monitor_id": {
      "type": "string",
      "description": "Monitor ID to check"
    }
  },
  "required": [
    "monitor_id"
  ]
}
🟢get_dashboard(api_key)

Get an overview of all cron monitors — total count, counts per status (up/down/grace/new), and a summary list. Requires API key.

輸入結構描述

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "API key (x-api-key header value)"
    }
  },
  "required": [
    "api_key"
  ]
}
🟡create_monitor(api_key, name, expected_interval_seconds, grace_period_seconds, schedule_description, ...)

Register a new cron job monitor. Returns the monitor ID to use in ping URLs. Requires API key.

輸入結構描述

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "API key (x-api-key header value)"
    },
    "name": {
      "type": "string",
      "description": "Human-readable monitor name"
    },
    "expected_interval_seconds": {
      "type": "integer",
      "description": "How often the job should run (seconds)"
    },
    "grace_period_seconds": {
      "type": "integer",
      "description": "Extra seconds allowed after interval before going DOWN",
      "default": 0
    },
    "schedule_description": {
      "type": "string",
      "description": "Human-readable schedule (e.g. 'Every night at 3am UTC')"
    },
    "notify_url": {
      "type": "string",
      "description": "Webhook URL for DOWN alerts (receives POST with JSON)"
    }
  },
  "required": [
    "api_key",
    "name",
    "expected_interval_seconds"
  ]
}
🟢list_monitors(api_key)

List all monitors with real-time computed status. Requires API key.

輸入結構描述

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "API key (x-api-key header value)"
    }
  },
  "required": [
    "api_key"
  ]
}
🟢get_ping_history(api_key, monitor_id)

Retrieve the last 100 ping events for a monitor (type, timestamp, IP, duration for complete events). Requires API key.

輸入結構描述

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "API key (x-api-key header value)"
    },
    "monitor_id": {
      "type": "string",
      "description": "Monitor ID"
    }
  },
  "required": [
    "api_key",
    "monitor_id"
  ]
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本6 個工具
已驗證未記錄版本6 個工具
已驗證未記錄版本6 個工具