Skip to main content
Glama

Crontab Generator API

MCP Server x402 License: MIT

将自然语言描述(如“每周一上午9点”)转换为有效的 cr on 表达式,并附上说明和下次运行时间。通过 x402 按次计费(Base L2 上的 USDC)——无需 API key,无需注册,没有速率限制阻碍。

属于 klymax402 市场——为 AI 智能体提供 100 个 x402 微支付 API,一个钱包,Base 上的 USDC。

快速开始 -- MCP

将下面内容添加到你的 MCP 客户端配置中(Claude Desktop、Cursor、ElizaOS 等):

{
  "mcpServers": {
    "crontab-generator": {
      "url": "https://crontab-generator.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: mcp-crontab-server

快速开始 -- HTTP (x402)

curl -X POST "https://crontab-generator.api.klymax402.com/api/generate" \
  -H "Content-Type: application/json" \
  -d '{"description":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

任何支持 x402 的客户端(@x402/fetchx402-agent-tools、ATXP)都会自动处理 402 -> 签名 -> 重试的循环。

工具

工具

方法

路径

价格

描述

utility_generate_crontab

POST

/api/generate

$0.003

根据自然语言生成 cron 表达式

utility_generate_crontab

当你需要根据自然语言描述(例如“每周一上午9点”或“每5分钟”)生成 cron 表达式时,可使用此工具。返回经过验证的 cron 表达式。

参数

Name

Type

Required

Description

description

string

日程的自然语言描述(例如“每周一上午9点”、“每天两次”、“每5分钟”)

示例响应:

{"expression":"0 9 * * 1","description":"Every Monday at 9:00 AM","nextRuns":["2026-04-14T09:00:00Z","2026-04-21T09:00:00Z"],"confidence":"high"}

何时使用:根据用户指令创建新的计划任务、根据自然语言描述生成 crontab 配置,或将业务需求转换为 cron 语法。在手动编写 cron 条目之前,请先使用此工具。

不适用于:解析现有的 cron 表达式(请使用 schedule_parse_cron)、JSON 校验(请使用 data_validate_json)、文本分析(请使用 text_count_words)。

示例 Agent 提示词

  • 根据自然语言描述生成 cron 表达式,例如“每周一上午9点”或“每5分钟”

支付

  • 协议:x402 —— 基于 HTTP 的按次付费方式,无需注册,无需 API 密钥

  • 网络:Base L2 (eip155:8453)

  • 资产:USDC

  • 协调者:Coinbase CDP(主要)、PayAI(备用)

  • 也可通过 ATXP 访问(OAuth 封装的 x402,RFC 9728 受保护资源元数据)

属于 klymax402

为 AI 智能体提供的 100 个 x402 微支付 API——一个钱包,Base 上的 USDC,零注册。

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.

  • x402-paid agent tools: 18 over HTTP, 14 over stdio. USDC per call, no API key.

  • Agent x402 Paywall MCP — Coinbase HTTP 402 protocol + on-chain settlement. Agents pay per-call

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Br0ski777/crontab-generator-x402'

If you have feedback or need assistance with the MCP directory API, please join our Discord server