Cloudflare Registrar
用於 Cloudflare Registrar 的領域可用性、價格查詢、列出與註冊。
預設值
- MCP:
cloudflare-openclaw - 帳戶:
OPENCLAW_CLOUDFLARE_ACCOUNT_ID - Token:
OPENCLAW_CLOUDFLARE_API_TOKEN - 機密:遵循根機密規則;只匯出單一指令所需的 Cloudflare 變數。
安全規範
- 註冊前必須立即執行
domain-check。 - 註冊會產生費用且不可退款。在進行
POST /registrar/registrations之前,請先向 Peter 取得明確確認。 - 不要印出 Token。
指令
檢查可用性/價格:
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`
});
}'