Cloudflare Registrar
用于 Cloudflare Registrar 的域名可用性、价格、列表和注册操作。
默认配置
- MCP:
cloudflare-openclaw - 账户:
OPENCLAW_CLOUDFLARE_ACCOUNT_ID - 令牌:
OPENCLAW_CLOUDFLARE_API_TOKEN - 密钥:遵循根密钥规则;仅导出当前命令所需的 Cloudflare 变量。
安全防护
- 在注册前,务必立即运行
domain-check。 - 注册是付费/不可退款的操作。在
POST /registrar/registrations之前,请向 Peter 请求明确确认。 - 请勿打印令牌。
命令
检查可用性/价格:
npx mcporter call cloudflare-openclaw.execute code='async () => {
return cloudflare.request({
method: "POST",
path: `/accounts/${accountId}/registrar/domain-check`,
body: { domains: ["example.com"] }
});
}'
确认后注册:
npx mcporter call cloudflare-openclaw.execute code='async () => {
return cloudflare.request({
method: "POST",
path: `/accounts/${accountId}/registrar/registrations`,
body: { domain_name: "example.com", auto_renew: false, privacy_mode: "redaction" }
});
}'
列出所有注册:
npx mcporter call cloudflare-openclaw.execute code='async () => {
return cloudflare.request({
method: "GET",
path: `/accounts/${accountId}/registrar/registrations`
});
}'