cron402

io.github.userdefault13由 GitHub 账号 userdefault13 发布v1.1.1更新于 Oct 24, 2026

Schedule webhook calls, pay per run in USDC on Base via x402. Ten tools, built for small models.

已验证STDIO仅桌面效率与工作流金融

概览

AI 生成的概览

让助手安排定时 webhook 调用,并通过代理钱包在 Base 上按次以 USDC 付费。

可以做什么
提供十个工具用于创建和管理定时 webhook 任务。免费工具包括使用指南、钱包余额查询、计划校验并列出未来五次运行时间、任务状态、列出本机创建的任务,以及暂停、恢复或删除任务。付费工具用于创建任务或添加预付运行次数,并自动处理 x402 支付。计划可用自然语言或原始 cron 表达式书写,响应中带有 next_step 提示。
适用场景
适合让助手设置周期性对外 webhook 调用(例如定时通知或集成),并按次以 USDC 付费而非订阅。也适合需要小模型安全驱动调度的场景,因为付费调用前可免费校验计划。
运行要求
通过 npx 以 stdio 在本地运行,需要 Node.js。付费工具需要 CRON402_PRIVATE_KEY 中已充值的代理钱包私钥;没有它服务器以只读方式启动,免费工具仍可用。可选变量:CRON402_NETWORK(默认 eip155:8453,Base 主网)、CRON402_API_URL、CRON402_STATE_DIR(默认 ~/.cron402)。需要能访问 cron402 API 的网络。
安装前请注意
服务器要求提供 CRON402_PRIVATE_KEY 钱包私钥,该私钥控制资金,持有者可动用钱包中的 USDC。付费工具每次运行花费 0.008 USDC,充值金额为 0.008 至 0.80 USDC,会实际支出资金。管理工具会用该私钥在本地签名,delete_cron 会永久删除任务。创建的任务 id 保存在本地状态目录中。

安装

在 SourceWeft 中

  1. 打开 控制台中的 cron402,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

cron402-mcp

MCP server for cron402 — schedule webhook calls and pay per run in USDC on Base via x402. No accounts, no API keys; your wallet is the credential.

Built so that small models can drive it safely: schedules can be written in plain English, every schedule can be validated for free before a paid call, and every response carries an explicit next_step telling the model what to do next.

Price: $0.008 USDC per run · Network: Base mainnet (eip155:8453)

Quick start

bash
export CRON402_PRIVATE_KEY=0x...   # fund with USDC on Basenpx -y cron402-mcp

Optional env vars:

VariableDefaultDescription
CRON402_PRIVATE_KEY(required for paid tools)Agent wallet private key. Without it the server still starts and the free tools work.
CRON402_NETWORKeip155:8453CAIP-2 id; use eip155:84532 for Base Sepolia
CRON402_API_URLproduction WorkerOverride API base URL
CRON402_STATE_DIR~/.cron402Where created job ids are remembered for list_crons

MCP client config

Cursor / Claude Desktop:

json
{  "mcpServers": {    "cron402": {      "command": "npx",      "args": ["-y", "cron402-mcp"],      "env": {        "CRON402_PRIVATE_KEY": "0x..."      }    }  }}

OpenCode (opencode.json):

json
{  "mcp": {    "cron402": {      "type": "local",      "command": ["npx", "-y", "cron402-mcp"],      "environment": {        "CRON402_PRIVATE_KEY": "0x..."      },      "enabled": true    }  }}

Tools

ToolCostDescription
cron402_guidefreeThe whole procedure, prices and rules — the tool a model should read first
check_walletfreeAddress, network, USDC/ETH balance, and how many runs it can afford
preview_schedulefreeValidate a schedule and list the next 5 run times in UTC
create_cron$0.008Create a scheduled webhook job (includes 1 run credit)
topup_cron$0.008–$0.80Add 1, 10, or 100 prepaid run credits
get_cronfreeJob status, credits, last 20 executions
list_cronsfreeJobs created from this machine, with live status
pause_cronfreePause a job (EIP-712 signed)
resume_cronfreeResume a paused job (requires credits)
delete_cronfreePermanently delete a job (EIP-712 signed)

Paid tools handle x402 payment automatically. Management tools sign locally with your key.

Designed for weak models

  • Plain-English schedules. "every 15 minutes", "every weekday at 9am", "every monday at 5pm", "weekly" and raw cron all work. Ambiguous or impossible phrases ("every 2 weeks", "at teatime") fail loudly with a fix, rather than silently scheduling the wrong thing.
  • Timezones. Pass timezone: "America/New_York" and the time-of-day is converted to the UTC cron the API stores, with a DST caveat in the response.
  • Free dry run. preview_schedule shows the next 5 fire times before a cent is spent, and create_cron re-validates locally so a bad schedule never costs money.
  • Money guardrails. Paid tools say PAID in their descriptions, name the exact amount, and every response tells the model not to call them twice.
  • Actionable errors. Insufficient funds, unreachable API, an unowned job or a localhost target each come back as { ok: false, error, next_step }.
  • Job memory. Created job ids are written to ~/.cron402/jobs.json so list_crons can recover them — the API has no list endpoint.
  • Starts without a key. A missing CRON402_PRIVATE_KEY degrades to read-only instead of failing to boot, so the model can explain what is missing.

Agent skill

A drop-in skill teaching an agent this whole workflow lives at skills/cron402/SKILL.md:

bash
mkdir -p .claude/skills/cron402curl -sL https://raw.githubusercontent.com/userdefault13/ai-cron-site/main/skills/cron402/SKILL.md \  -o .claude/skills/cron402/SKILL.md

Links

License

MIT

来源:packages/mcp/README.md,提交 9c23532

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.1.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分