# helbertparanhos/cloudflare-mcp-pro [Health: Active]

**Category:** ☁️ Cloud Platforms  
**Repository:** https://github.com/helbertparanhos/cloudflare-mcp-pro  
**GitHub Stars:** 3  
**npm Downloads (last month):** 299  
**Views:** 6  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/helbertparanhos-cloudflare-mcp-pro

## Description
The most complete Cloudflare MCP — 69 tools over the REST API v4 (DNS, Zones, Workers, KV, R2, D1, Pages, WAF, SSL, Email Routing, Logpush, Workers AI) in a single local stdio server, with a server-side human-approval gate on every mutation. npx -y cloudflare-mcp-pro.

## Tools
Capabilities this server exposes over MCP:

- **verify_token** — Validate the configured Cloudflare API token and show its status/permissions.
- **list_accounts** — List Cloudflare accounts accessible by the token.
- **list_zones** — List zones (domains), optionally filtered by name or status.
- **get_zone** — Get details of a single zone by ID.
- **create_zone** — Add a new domain (zone) to an account. Requires confirm:true (human-approval gate); without it returns a preview only.
- **delete_zone** — Delete a zone by ID. Requires confirm:true (human-approval gate); without it returns a preview only.
- **purge_cache** — Purge a zone's cache — everything, or by files/tags/hosts/prefixes. Requires confirm:true (human-approval gate); without it returns a preview only.
- **get_zone_analytics** — Get HTTP traffic analytics for a zone over a time range (via GraphQL).
- **get_zone_setting** — Get a single zone setting (e.g. ssl, always_use_https, min_tls_version).
- **update_zone_setting** — Update a single zone setting (e.g. set ssl=full, always_use_https=on). Requires confirm:true (human-approval gate); without it returns a preview only.
- **list_dns_records** — List DNS records of a zone, optionally filtered by type/name.
- **create_dns_record** — Create a DNS record (A, AAAA, CNAME, TXT, MX, etc). Requires confirm:true (human-approval gate); without it returns a preview only.
- **update_dns_record** — Update an existing DNS record (partial update). Requires confirm:true (human-approval gate); without it returns a preview only.
- **delete_dns_record** — Delete a DNS record by ID. Requires confirm:true (human-approval gate); without it returns a preview only.
- **get_dnssec** — Get the DNSSEC status and DS record details for a zone.
- **edit_dnssec** — Enable or disable DNSSEC for a zone. Requires confirm:true (human-approval gate); without it returns a preview only.
- **export_dns_records** — Export all DNS records of a zone as a BIND zone file.
- **list_workers** — List Worker scripts in an account.
- **get_worker** — Get a Worker script's settings/metadata.
- **deploy_worker** — Create or update (deploy) a Worker script from ES module source. Requires confirm:true (human-approval gate); without it returns a preview only.
- **delete_worker** — Delete a Worker script by name. Requires confirm:true (human-approval gate); without it returns a preview only.
- **list_worker_routes** — List Worker routes (URL patterns mapped to Workers) on a zone.
- **create_worker_route** — Create a Worker route mapping a URL pattern to a Worker script. Requires confirm:true (human-approval gate); without it returns a preview only.
- **delete_worker_route** — Delete a Worker route by ID. Requires confirm:true (human-approval gate); without it returns a preview only.
- **put_worker_secret** — Create or update a secret binding on a Worker script. Requires confirm:true (human-approval gate); without it returns a preview only.
- **delete_worker_secret** — Delete a secret binding from a Worker script. Requires confirm:true (human-approval gate); without it returns a preview only.
- **update_worker_cron** — Set the cron triggers (schedules) for a Worker script. Requires confirm:true (human-approval gate); without it returns a preview only.
- **list_kv_namespaces** — List Workers KV namespaces in an account.
- **create_kv_namespace** — Create a new Workers KV namespace. Requires confirm:true (human-approval gate); without it returns a preview only.
- **kv_list_keys** — List keys in a KV namespace, optionally filtered by prefix.
- **kv_get** — Read the value of a key in a KV namespace.
- **kv_put** — Write a value to a key in a KV namespace, with optional TTL. Requires confirm:true (human-approval gate); without it returns a preview only.
- **kv_delete** — Delete a key from a KV namespace. Requires confirm:true (human-approval gate); without it returns a preview only.
- **list_r2_buckets** — List R2 buckets in an account.
- **create_r2_bucket** — Create a new R2 bucket. Requires confirm:true (human-approval gate); without it returns a preview only.
- **delete_r2_bucket** — Delete an (empty) R2 bucket. Requires confirm:true (human-approval gate); without it returns a preview only.
- **list_d1_databases** — List D1 databases in an account.
- **create_d1_database** — Create a new D1 database. Requires confirm:true (human-approval gate); without it returns a preview only.
- **query_d1** — Execute a SQL statement against a D1 database (with optional bound params). Requires confirm:true (human-approval gate); without it returns a preview only.
- **list_pages_projects** — List Cloudflare Pages projects in an account.
- **get_pages_project** — Get details of a Cloudflare Pages project.
- **list_firewall_rulesets** — List WAF rulesets configured on a zone.
- **get_ruleset** — Get a single ruleset (with its rules) by ID.
- **list_access_rules** — List IP/ASN/country access rules (block/challenge/allow) on a zone.
- **create_access_rule** — Create an IP/ASN/country access rule (block, challenge, or whitelist). Requires confirm:true (human-approval gate); without it returns a preview only.
- **delete_access_rule** — Delete an access rule by ID. Requires confirm:true (human-approval gate); without it returns a preview only.
- **list_page_rules** — List page rules on a zone.
- **create_page_rule** — Create a page rule (URL pattern + actions like cache_level, forwarding_url). Requires confirm:true (human-approval gate); without it returns a preview only.
- **delete_page_rule** — Delete a page rule by ID. Requires confirm:true (human-approval gate); without it returns a preview only.
- **list_certificate_packs** — List SSL/TLS certificate packs on a zone.
- **get_ssl_verification** — Get SSL/TLS certificate verification status for a zone.
- **order_certificate_pack** — Order an advanced certificate pack for one or more hostnames. Requires confirm:true (human-approval gate); without it returns a preview only.
- **list_custom_hostnames** — List custom hostnames (SSL for SaaS) on a zone.
- **create_custom_hostname** — Add a custom hostname (SSL for SaaS) to a zone. Requires confirm:true (human-approval gate); without it returns a preview only.
- **delete_custom_hostname** — Delete a custom hostname by ID. Requires confirm:true (human-approval gate); without it returns a preview only.
- **list_email_rules** — List Email Routing rules on a zone.
- **create_email_rule** — Create an Email Routing rule (forward an address to a destination). Requires confirm:true (human-approval gate); without it returns a preview only.
- **list_email_destinations** — List verified Email Routing destination addresses in an account.
- **list_queues** — List Cloudflare Queues in an account.
- **create_queue** — Create a new Cloudflare Queue. Requires confirm:true (human-approval gate); without it returns a preview only.
- **delete_queue** — Delete a Queue by ID. Requires confirm:true (human-approval gate); without it returns a preview only.
- **list_tunnels** — List Cloudflare Tunnels (cloudflared) in an account.
- **get_tunnel** — Get details of a Cloudflare Tunnel by ID.
- **list_turnstile_widgets** — List Turnstile widgets in an account.
- **create_turnstile_widget** — Create a Turnstile widget (CAPTCHA alternative) for given domains. Requires confirm:true (human-approval gate); without it returns a preview only.
- **list_ai_models** — Search the catalog of Workers AI models available to the account.
- **run_ai** — Run inference on a Workers AI model (text generation, embeddings, classification). Requires confirm:true (human-approval gate); without it returns a preview only.
- **list_logpush_jobs** — List Logpush jobs for a zone or account.
- **create_logpush_job** — Create a Logpush job streaming a dataset to a destination. Requires confirm:true (human-approval gate); without it returns a preview only.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "cloudflare-mcp-pro": {
    "command": "npx",
    "args": ["-y","cloudflare-mcp-pro"],
    "env": {
      "CLOUDFLARE_API_TOKEN": "",
      "CLOUDFLARE_ACCOUNT_ID": "",
      "CLOUDFLARE_API_BASE": ""
    }
  }
}
```

**Requires environment variables:** `CLOUDFLARE_API_TOKEN`, `CLOUDFLARE_ACCOUNT_ID`, `CLOUDFLARE_API_BASE` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What helbertparanhos/cloudflare-mcp-pro MCP server does

helbertparanhos/cloudflare-mcp-pro MCP server gives an MCP client access to Cloudflare REST API v4 through one local stdio process. The repository describes 69 tools spanning account discovery, zones, DNS, Workers, KV, R2, D1, Pages, WAF, SSL, Email Routing, Logpush, Tunnels, Queues, and Workers AI.

It can validate a token, list accessible accounts and zones, inspect zone settings and analytics, manage DNS records and DNSSEC, export records as a BIND zone file, and inspect or deploy Workers. Worker-related operations include routes, secrets, and cron schedules.

## How it works

The process communicates over MCP stdio and calls Cloudflare using an API token. Read-only tools such as list, get, token verification, export, and analytics operations do not require approval. Changes are protected inside the server rather than relying only on client behavior.

A mutating request without `confirm: true` produces a preview containing the requested action, risk information, and redacted arguments. It does not contact Cloudflare to perform the change. After a human reviews the preview, the same tool can be called with `confirm: true`. MCP annotations also identify read-only, destructive, and idempotent behavior for clients that use those hints.

List tools support `fetch_all: true` for following paginated responses. The client includes retry and rate-limit handling for 429 and 5xx responses, along with mapped error messages.

## Setup and configuration

Install dependencies and build the TypeScript project with `npm install` followed by `npm run build`. When the package is available, it can also be started with `npx -y cloudflare-mcp-pro`.

Set `CLOUDFLARE_API_TOKEN` to a token created in the Cloudflare dashboard. `CLOUDFLARE_ACCOUNT_ID` can provide a default account when a tool call omits an account ID, while `CLOUDFLARE_API_BASE` can override the API base URL. Required token scopes depend on the operations being used, such as zone read access, DNS editing, Worker script editing, KV storage editing, D1, Pages, or account analytics permissions. Use `verify_token` to check token status and permissions.

Claude Code and Claude Desktop configurations start the built server with Node and pass the token through the process environment. The repository also documents testing with the MCP Inspector and an automated suite that mocks network requests.

## Tools and capabilities

The helbertparanhos/cloudflare-mcp-pro MCP server groups tools by Cloudflare resource:

- Accounts and zones: token verification, account listing, zone lookup, creation, deletion, settings, cache purge, and analytics.
- DNS: record listing and mutation, DNSSEC status and changes, and zone-file export.
- Workers: script inspection, deployment, deletion, routes, secrets, and cron configuration.
- KV: namespace management and key listing, with further KV operations documented by the repository.
- Other documented areas: R2 buckets, D1 databases and queries, Pages projects, WAF and firewall rules, SSL certificates, Email Routing, Logpush, Tunnels, Queues, and Workers AI.

## Limitations and notes

The server is local and uses token authentication rather than the remote OAuth arrangement described for Cloudflare's official MCP offering. The token must have suitable Cloudflare permissions for each operation. Approval previews are server-enforced, but a client or workflow still needs to obtain human approval before resubmitting a mutation with confirmation. Secret values are redacted from previews and error messages.

Exact availability therefore depends on the published build and version in use.

_Full upstream README: https://allmcps.com/mcp/helbertparanhos-cloudflare-mcp-pro/readme_

