SuperAPI AI 工具集

cloudflare-registrar

部署与运维

查看项目

更新于 10-16 01:08

技能介绍

用途:处理 Cloudflare Registrar 相关操作,包括域名可用性与价格查询、域名注册列表查看,以及域名注册。

主要能力:

  • 查询域名可用性和价格,接口为 POST /accounts/{accountId}/registrar/domain-check。
  • 注册域名,接口为 POST /accounts/{accountId}/registrar/registrations。
  • 列出已注册域名,接口为 GET /accounts/{accountId}/registrar/registrations。

使用方式:默认使用 MCP cloudflare-openclaw,账户来自 OPENCLAW_CLOUDFLARE_ACCOUNT_ID,令牌来自 OPENCLAW_CLOUDFLARE_API_TOKEN。按根密钥规则,只为单条命令导出所需的 Cloudflare 变量。命令通过 npx mcporter call cloudflare-openclaw.execute 执行,例如查询可用性:npx mcporter call cloudflare-openclaw.execute code='async () => { return cloudflare.request({ method: "POST", path: /accounts/${accountId}/registrar/domain-check, body: { domains: ["example.com"] } }); }';注册示例 body 为 { domain_name: "example.com", auto_renew: false, privacy_mode: "redaction" };列表为 GET 请求。

限制与注意事项:注册前必须立即运行 domain-check;注册为计费且不可退款,调用 POST /registrar/registrations 前需获得明确确认;不要打印令牌。资料未提供定价细节、平台支持范围及更多使用步骤。