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 个工具