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