mcpField
C
cron402

cron402

Local
agentcron.siteDeveloper Tools0Updated 2d ago

About cron402

cron402 is an MCP server for scheduling webhook calls paid per run in USDC on Base. It supports plain-English schedules, free validation before paid calls, and explicit next-step guidance in responses.

Key features

  1. 01Create and manage scheduled webhook jobs
  2. 02Validate schedules and preview five run times
  3. 03Pay per run in USDC on Base
  4. 04Check wallet balance and job executions
  5. 05Return actionable errors and next steps

Use cases

  1. 01Schedule recurring webhook calls
  2. 02Verify timing before creating a paid job
  3. 03Monitor prepaid credits and job status

MCP support

The MCP server exposes ten tools for schedule previews, job creation and management, wallet checks, and status queries. Paid operations use x402 payments; the wallet key is used for payment and local signing.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"userdefault13-cron402": {
"command": "npx",
"args": [
"-y",
"cron402-mcp"
],
"env": {
"CRON402_PRIVATE_KEY": "<CRON402_PRIVATE_KEY>",
"CRON402_NETWORK": "<CRON402_NETWORK>",
"CRON402_API_URL": "<CRON402_API_URL>",
"CRON402_STATE_DIR": "<CRON402_STATE_DIR>"
}
}
}
}
Run commandnpx -y cron402-mcp
Environment variables to set
CRON402_PRIVATE_KEYSecretAgent wallet private key (0x…). Fund with USDC on Base mainnet or Sepolia. Without it the server starts read-only: the free tools still work.
CRON402_NETWORKCAIP-2 network id. Default eip155:8453 (Base mainnet); use eip155:84532 for Sepolia.
CRON402_API_URLcron402 API base URL. Defaults to the production Worker.
CRON402_STATE_DIRDirectory where created job ids are remembered so list_crons can recover them. Defaults to ~/.cron402.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmcron402-mcp1.1.1

Tools

10

Saved tool list · updated 2w ago

This tool takes no parameters.

Details

From the project 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

export CRON402_PRIVATE_KEY=0x...   # fund with USDC on Base
npx -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:

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

OpenCode (opencode.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:

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

Links

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.