mcpField
C
cloudflare-registrar

cloudflare-registrar

github.com/steipeteクラウド・DevOps7.4k104 回インストール1 週間前に更新
リポジトリ

cloudflare-registrar について

cloudflare-registrarは、Cloudflare Registrarでドメインの空き状況や価格を調べ、登録済みドメインの一覧表示や登録を行うスキルです。登録直前の確認と、有料登録前の明示的な承認を求めます。

主な機能

  1. 01ドメインの空き状況と価格の確認
  2. 02登録済みドメインの一覧表示
  3. 03承認後のドメイン登録
  4. 04自動更新とプライバシー設定

活用シーン

  1. 01ドメイン選定前の空き状況と価格の比較
  2. 02アカウント内の登録済みドメインの確認
  3. 03明示的な承認後のドメイン登録

MCP 対応

`mcporter`を介して`cloudflare-openclaw` MCP サーバーを呼び出し、Cloudflare Registrar APIを利用します。

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/steipete/agent-scripts --skill cloudflare-registrar

インストール後、Claude Code で/cloudflare-registrarを入力して読み込まれたか確認します。

詳細

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`
  });
}'

コメント