mcpField
C
cloudflare-registrar

cloudflare-registrar

github.com/steipeteCloud & DevOps7.4k104 installsUpdated 1w ago
Repository

About cloudflare-registrar

cloudflare-registrar is a skill for checking domain availability and pricing, listing registrations, and registering domains through Cloudflare Registrar. It includes a pre-registration check and requires explicit confirmation before billable registration.

Key features

  1. 01Check domain availability and pricing
  2. 02List registered domains
  3. 03Register domains after confirmation
  4. 04Set auto-renew and privacy options

Use cases

  1. 01Compare availability and pricing before choosing a domain
  2. 02Review domains registered in an account
  3. 03Register a domain after explicit approval

MCP support

The skill uses the `cloudflare-openclaw` MCP server through `mcporter` to make Cloudflare Registrar API calls.

Install

Copy the command and run it in a terminal.

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

After installing, type/cloudflare-registrarin Claude Code to confirm it loaded.

Details

From the project README

Cloudflare Registrar

Use for Cloudflare Registrar domain availability, pricing, listing, and registration.

Defaults

  • MCP: cloudflare-openclaw
  • Account: OPENCLAW_CLOUDFLARE_ACCOUNT_ID
  • Token: OPENCLAW_CLOUDFLARE_API_TOKEN
  • Secrets: follow the root secret rule; export only needed Cloudflare vars for one command.

Guardrails

  • Always run domain-check immediately before registration.
  • Registration is billable/non-refundable. Ask Peter for explicit confirmation before POST /registrar/registrations.
  • Do not print tokens.

Commands

Check availability/pricing:

npx mcporter call cloudflare-openclaw.execute code='async () => {
  return cloudflare.request({
    method: "POST",
    path: `/accounts/${accountId}/registrar/domain-check`,
    body: { domains: ["example.com"] }
  });
}'

Register after confirmation:

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

List registrations:

npx mcporter call cloudflare-openclaw.execute code='async () => {
  return cloudflare.request({
    method: "GET",
    path: `/accounts/${accountId}/registrar/registrations`
  });
}'

Comments

Markdown supported