Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By grailautomationIn 1 marketplace
CLI-first Cloudflare integration for managing domains, DNS, Registrar, Workers, Pages, and storage
Claude loads one when your task matches it, or you run it by name.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Manage Cloudflare zones, DNS, Registrar, Workers, Pages, KV, R2, and D1 from Claude Code or Codex using Cloudflare CLIs first.
This plugin is intended to stay in the public marketplace. Reusable workflow guidance lives in this repository; account-specific credentials, account IDs, zone IDs, domain lists, and deployment defaults must stay in environment variables, Cloudflare CLI config, Claude/Codex config, or gitignored local notes.
This plugin is CLI-first. Prefer these surfaces in order:
cf technical preview for zones, DNS, Registrar, Accounts, and generated
API-backed commands.wrangler for Workers and Pages app deployment plus KV, R2, D1, Queues, and
local development workflows.flarectl only as a legacy fallback for zones, DNS, firewall access rules,
page rules, and cache purge.cli4 only as a generic Cloudflare API v4 fallback when cf, wrangler,
and flarectl do not expose the needed operation.Do not use the legacy MCP server as the default integration path. For Claude,
that means no root .mcp.json and no inline mcpServers in
.claude-plugin/plugin.json. For Codex, that means no mcpServers field in
.codex-plugin/plugin.json. The previous MCP config is preserved as
.mcp.legacy.json for explicit opt-in testing or compatibility work.
cf and wranglerflarectl for legacy DNS/firewall workflowscli4 for generic API fallback workflowsUse project-local or one-off execution rather than adding duplicate global CLI installs:
pnpm dlx cf --help
pnpm dlx wrangler --help
If a persistent global install is intentional, first check existing install lanes:
type -a cf wrangler flarectl cli4
which -a cf wrangler flarectl cli4
Prefer environment variables:
export CLOUDFLARE_API_TOKEN="your-api-token"
export CLOUDFLARE_ACCOUNT_ID="your-account-id"
export CLOUDFLARE_ZONE_ID="your-zone-id-or-domain"
cf also supports OAuth login and context defaults:
pnpm dlx cf auth login
pnpm dlx cf auth whoami
pnpm dlx cf context set account-id <account-id> --project
pnpm dlx cf context set zone example.com --project
Keep write tokens scoped to the smallest useful resource set. For read-heavy inspection, use read-only tokens where possible.
Use cf first:
pnpm dlx cf zones list --fields id,name,status --ndjson
pnpm dlx cf dns records list --zone example.com --fields id,type,name,content,proxied --ndjson
pnpm dlx cf dns records create --zone example.com --dryRun --body '{"type":"CNAME","name":"www","content":"project.pages.dev","proxied":true}'
pnpm dlx cf dns records create --zone example.com --body '{"type":"CNAME","name":"www","content":"project.pages.dev","proxied":true}'
Use flarectl only when it is already available and better fits an older
DNS/firewall workflow:
flarectl --json zone list
flarectl --json dns list --zone example.com
flarectl --json dns create --zone example.com --name www --type CNAME --content project.pages.dev --proxy
Use cli4 only for API paths not yet exposed by cf or wrangler:
cli4 /zones/:example.com/dns_records
cli4 --post name=www type=CNAME content=project.pages.dev proxied=true /zones/:example.com/dns_records
Use wrangler for project-oriented Workers and Pages workflows:
pnpm dlx wrangler deploy
pnpm dlx wrangler pages deploy ./dist --project-name my-project
pnpm dlx wrangler kv namespace list
pnpm dlx wrangler r2 bucket list
pnpm dlx wrangler d1 list
pnpm dlx wrangler d1 execute <database> --command 'select 1'
Use cf for generated API-backed Workers commands when Wrangler does not expose
the account-level operation:
pnpm dlx cf agent-context workers
pnpm dlx cf workers routes list --zone example.com --fields id,pattern,script --ndjson
pnpm dlx wrangler pages deploy.pnpm dlx cf dns records ....--dryRun before DNS creates, updates, or deletes.--dryRun before cf create, update, delete, batch, import, or scan-review commands.--fields and --ndjson to keep agent output small and machine-readable.Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub grailautomation/claude-plugins --plugin cloudflarePlugins from other owners that cover similar ground