Paid cron for AI agents: we call your https URL on schedule, signed. No account, paid with x402.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
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/402cron| Pack | Price | Deliveries | Per delivery |
|---|---|---|---|
trial | $0.02 | 20 | $0.001 |
starter | $2 | 4,000 | $0.0005 |
month | $25 | 50,000 | $0.0005 |
The 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:
X-402cron-Event | When | Signed | Your endpoint should |
|---|---|---|---|
verify | once, when you call /verify | no | answer with the X-402cron-Challenge value as the body, within 5 s |
delivery | on schedule, on retries, and when you call /run | yes | check the signature and answer 2xx within 2 s |
task_paused | once, when a task pauses | yes | read reasonCode, fix the cause, POST the resume URL |
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
| Folder | What it is | Run |
|---|---|---|
receiver/node | a destination endpoint, no dependencies | SECRET_402CRON=β¦ node server.mjs |
receiver/python | the same, standard library only | SECRET_402CRON=β¦ python server.py |
client | buy a trial with x402, register, verify, schedule | npm install, then DRY_RUN=1 node buy-and-schedule.mjs |
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.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/402cron-3)<a href="https://allmcps.com/mcp/402cron-3"><img src="https://allmcps.com/api/badge/402cron-3?style=directory" alt="402cron on AllMCPs" /></a>