get_pricing
Pricing and payment requirements
What a delivery costs, which packs exist, and the exact x402 payment requirements for each. Balance is counted in DELIVERIES, not money, and packs never expire. Call this before buying.
无需输入参数。

com.402cron由 402cron.com 发布官方发布者v1.0.1更新于 Oct 24, 2026
Paid cron for AI agents: we call your https URL on schedule, signed. No account, paid with x402.
远程付费定时任务服务:按计划调用你的 HTTPS 端点,对请求签名并重试失败,可由助手管理。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/com.402cron%2F402cron/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"402cron": {
"type": "http",
"url": "https://402cron.com/mcp"
}
}
}402cron calls your https endpoint on a cron schedule, signs every request, and retries what fails. An agent can set it up on its own: no account, no card, no human in the loop. Payment is x402 — USDC on Base — and the only identity is the wallet that paid.
This repository holds documentation and runnable examples. The service runs at https://402cron.com; its source code is not published.
?section=quickstart)com.402cron/402cronThe balance counts deliveries, not money, and never expires. Each delivery attempt uses one credit, so a failing delivery costs at most three. Current prices: https://402cron.com/api/pricing.
GET https://402cron.com/buy/trial answers 402 with the price in the
PAYMENT-REQUIRED header. Pay with any x402 client. The receipt carries your management
token, shown once.POST /api/destinations with {"url": "https://your.host/hook"} returns the
destination id and its signing secret, shown once.POST /api/destinations/{id}/verify. We POST a challenge to your URL and your
endpoint echoes it back. The permission then covers that path and everything below it.POST /api/tasks with {"name", "url", "cron", "body"}. The response shows the
next three runs.Management calls take Authorization: Bearer <token>. Lost the token? Buy again from the same
wallet with ?rotate=1; the old token stops working.
Three kinds of requests arrive at the same URL. X-402cron-Event tells them apart:
The signature is X-402cron-Signature: sha256=<hex>, an HMAC-SHA256 keyed with your signing
secret over the bytes of:
The event label is not signed: branch on it, but trust what the signature covers. Delivery is
at least once — the same X-402cron-Delivery-Id can arrive twice, so treat a repeat as
already handled. Deliveries also carry X-402cron-Task-Id and X-402cron-Deliveries-Left.
4xx or 5xx is your server's answer, so it is not retried.task_paused notice; resuming is one call.cron: 5 fields, always UTC, one minute at the finest. Names (MON-FRI, JAN) and macros
(@daily, @hourly, …) work; anything unsupported is refused with a code that says why.https://.All limits: https://402cron.com/docs?section=limits
Both receivers answer the challenge, verify signatures, drop duplicate deliveries and log pause
notices. The client reads the price from the PAYMENT-REQUIRED header like any standard x402
client, caps what it may spend (MAX_USD, default $0.05), and with DRY_RUN=1 signs without
paying anything. On Windows PowerShell, set variables with $env:SECRET_402CRON="…" first.
Claude Code:
Other clients: add a remote (streamable HTTP) server at https://402cron.com/mcp with the same
header. get_pricing, get_docs and get_service_status work without a token. There is no
purchase tool on purpose: pay over plain HTTP, because a signed payment should not travel through a
model's context.
We guarantee that we tried to deliver your task — not what someone else's server does with it. Full terms: https://402cron.com/terms
The examples in this repository are MIT-licensed — see LICENSE.
来源:README.md,提交 6aee667
Pricing and payment requirements
What a delivery costs, which packs exist, and the exact x402 payment requirements for each. Balance is counted in DELIVERIES, not money, and packs never expire. Call this before buying.
无需输入参数。
Machine documentation
One section of the machine documentation: quickstart, headers, signature, notice, errors, billing or limits. Omit `section` to get the whole document.
sectionIs the service selling right now
Whether the service is currently selling, on which network, and if not — why not. This is configuration, not liveness: the full health endpoint is at /health.
无需输入参数。
List your scheduled tasks
Your tasks and their state. Needs your management token as an Authorization header on this connection.
afterlimitstateOne task with its full state
A single task: schedule, destination, state, next run, and how many failures in a row it carries.
id必填Create or update a scheduled task
Register a schedule against a destination you have already verified. Idempotent on "name": the same name updates the existing task instead of creating a second one. Creating costs nothing; each delivery ATTEMPT costs one credit.
url必填bodycron必填name必填methodheaderstimeoutMsEdit a task
Change the schedule, destination, method, timeout, headers or body of an existing task. Omit a field to leave it unchanged — sending null is refused, because "unchanged" and "cleared" must not look the same. State is NOT editable here: use pause_task and resume_task.
id必填urlbodycronnamemethodheaderstimeoutMsPause a task
Stop firing until you resume. Nothing is charged while a task is paused.
id必填Resume a paused task
Start firing again on the schedule. Refused if your balance is empty — buy deliveries first.
id必填Fire a task once, right now
Deliver immediately, outside the schedule. THIS COSTS ONE CREDIT per attempt, exactly like a scheduled firing, and a timeout or unreachable host is retried up to three times — so one call can cost up to three credits. Use it to test a destination.
id必填Delete a task
Move the task to the recycle bin. It stops firing immediately and can be restored for 30 days with restore_task; after that it is unrecoverable. Credits already spent are not refunded.
id必填Restore a deleted task
Bring a task back from the recycle bin within 30 days. It comes back PAUSED — resume it explicitly.
id必填Register a destination URL
Claim an https:// URL you control. We answer with a challenge and a SIGNING SECRET that is shown ONCE and never again — store it before you do anything else; it is what lets you verify that a delivery really came from us. The permission covers that path and everything beneath it, nothing above. Verification is one request from us to the exact URL you registered: POST, headers X-402cron-Challenge: <value> and X-402cron-Event: verify, JSON body {"challenge":"<value>"}. Reply within 5 seconds, without a redirect, with a body that is the bare value or {"challenge":"<value>"}; we read the first 512 bytes and do not check the HTTP status (2xx is fine). Then call POST /api/destinations/{id}/verify within 15 minutes of registering. A fixed-response webhook cannot pass: you need an endpoint you can program. Registering a URL that is still pending issues a new challenge and a new signing secret every time — the old secret immediately stops verifying deliveries; a verified URL is left untouched unless you add ?rotate=1. The daily verification allowance (10 per destination, 40 per client, UTC day) does not reset on re-registration.
url必填Verify a registered destination
Verification is one request from us to the exact URL you registered: POST, headers X-402cron-Challenge: <value> and X-402cron-Event: verify, JSON body {"challenge":"<value>"}. Reply within 5 seconds, without a redirect, with a body that is the bare value or {"challenge":"<value>"}; we read the first 512 bytes and do not check the HTTP status (2xx is fine). Then call POST /api/destinations/{id}/verify within 15 minutes of registering. A fixed-response webhook cannot pass: you need an endpoint you can program. Registering a URL that is still pending issues a new challenge and a new signing secret every time — the old secret immediately stops verifying deliveries; a verified URL is left untouched unless you add ?rotate=1. The daily verification allowance (10 per destination, 40 per client, UTC day) does not reset on re-registration. Until this passes, no task may point at the destination.
id必填List your destinations
The URLs you have claimed and whether each is verified. The signing secrets are never shown again.
无需输入参数。
Delete a destination
Remove a claimed URL. Refused while a task still points at it — delete the task first.
id必填已满足适用检查项的 100%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
{X-402cron-Timestamp}\n{X-402cron-Delivery-Id}\n{X-402cron-Attempt}\n{METHOD}\n{path+query}\n{raw body}claude mcp add --transport http 402cron https://402cron.com/mcp --header "Authorization: Bearer <token>"