Cloudflare Registrar
Cloudflare Registrarのドメイン空き状況確認、価格照会、一覧表示、登録に使用します。
デフォルト
- MCP:
cloudflare-openclaw - アカウント:
OPENCLAW_CLOUDFLARE_ACCOUNT_ID - トークン:
OPENCLAW_CLOUDFLARE_API_TOKEN - シークレット: ルートシークレットルールに従い、1コマンドに必要な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`
});
}'