Task Scheduler
Schedule and manage recurring or one-shot tasks
我該用這個嗎
品質與安全性
A
根據工具定義與協定合規性的自動化分析。
上下文成本
~409Token(工具定義)
~928 B典型回應大小
極小的注意力影響(128k 上下文的 0.32%)
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"cron": {
"url": "https://cron.memoryapi.org/mcp"
}
}
}遠端端點
https://cron.memoryapi.org/mcpstreamable-http它能做什麼
工具清單
工具(4)
🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
⚪schedule_task(agent_id, url, method, body, interval_minutes, ...)
Register a persistent cron schedule that runs even when your agent session ends. Specify a URL to call, how often, and for how long.
輸入結構描述
{
"type": "object",
"properties": {
"agent_id": {
"type": "string",
"description": "Your agent identifier"
},
"url": {
"type": "string",
"description": "HTTPS URL to call on each execution"
},
"method": {
"type": "string",
"description": "HTTP method: GET or POST (default: GET)",
"default": "GET"
},
"body": {
"type": "string",
"description": "Optional JSON body for POST requests"
},
"interval_minutes": {
"type": "number",
"description": "How often to run (minimum 15 minutes)"
},
"duration_days": {
"type": "number",
"description": "How many days to keep running (max 30, default 7)",
"default": 7
}
},
"required": [
"agent_id",
"url",
"interval_minutes"
]
}🟢check_schedule(schedule_id, agent_id)
Check the status of a cron schedule — is it active, when does it next run, how many times has it executed?
輸入結構描述
{
"type": "object",
"properties": {
"schedule_id": {
"type": "string",
"description": "Schedule UUID from registration"
},
"agent_id": {
"type": "string",
"description": "Alternatively list all schedules for this agent"
}
}
}🔴cancel_schedule(schedule_id, agent_id)
Cancel an active cron schedule to stop all future executions immediately.
輸入結構描述
{
"type": "object",
"properties": {
"schedule_id": {
"type": "string",
"description": "Schedule UUID to cancel"
},
"agent_id": {
"type": "string",
"description": "Agent ID for ownership verification"
}
},
"required": [
"schedule_id"
]
}🟢get_execution_history(schedule_id, limit)
View recent execution history for a schedule — status codes, response previews, and timing.
輸入結構描述
{
"type": "object",
"properties": {
"schedule_id": {
"type": "string",
"description": "Schedule UUID"
},
"limit": {
"type": "number",
"description": "Number of executions to return (max 50)",
"default": 10
}
},
"required": [
"schedule_id"
]
}建議的提示詞
retrieve_data
Get details about [item] from Task Scheduler
預期的工具:
get_execution_historyfetch_info
Fetch [information type] using Task Scheduler
預期的工具:
get_execution_history社群
證據
近期觀測
已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具