cloudflare-mcp
Provides read-only access to the entire Cloudflare ecosystem, enabling AI assistants to query DNS records, security settings, SSL/TLS configurations, performance optimizations, Zero Trust policies, Workers, Pages, and more via natural language.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cloudflare-mcp List all my zones and their status"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Cloudflare MCP API Server (Enterprise Edition)
A high-performance Model Context Protocol (MCP) server providing AI assistants with read-only access to the Cloudflare ecosystem. Query your entire Cloudflare infrastructure using natural language through Claude, Cursor, or any MCP-compatible client. Inspired by mcp-server-cloudflare.
Security-First Design
This server implements NIST 800-53 Rev. 5 controls for FedRAMP High environments:
Control | Implementation | File |
AU-12 (Audit Generation) | All API calls logged with sensitive data redaction |
|
SC-5 (DoS Protection) | Token bucket rate limiting (100 burst, 10/sec) |
|
SI-10 (Input Validation) | Zod schemas + GraphQL mutation blocking |
|
SI-11 (Error Handling) | Safe error messages, no stack traces |
|
IA-5(7) (Token Protection) | XOR obfuscation in memory |
|
Related MCP server: Cloudflare API MCP Server
Why Use This?
Infrastructure discovery: "What DNS records exist across all my zones?"
Security audits: "Which zones don't have WAF enabled?" or "Show me all rate limiting rules"
Troubleshooting: "What are the SSL settings for example.com?"
Documentation: Generate configuration reports by asking questions
Learning: Explore your Cloudflare setup without memorizing API endpoints
Features
354 read-only tools covering the entire Cloudflare API surface (as of 2026-02-05)
Zero write operations - cannot modify any configurations (safe to use)
Natural language queries - ask questions, get answers
Built-in security - rate limiting, audit logging, token protection
API Coverage
Category | Examples |
Core | Accounts, Zones, DNS, Settings |
Security | WAF, Firewall, Bot Management, Page Shield, DDoS |
SSL/TLS | Certificates, Universal SSL, Custom Certs, mTLS |
Performance | Argo, Cache, Load Balancing, Waiting Rooms |
Zero Trust | Access Apps, Gateway, Devices, Tunnels, DEX |
Developer Platform | Workers, Pages, D1, R2, KV, Queues, Durable Objects |
Analytics | Dashboard, GraphQL, Audit Logs |
Enterprise | Cloudforce One, Magic Transit, Spectrum, Custom Hostnames |
Quick Start
1. Install
git clone https://github.com/pocc/cloudflare-mcp.git
cd cloudflare-mcp
npm install
npm run build2. Create API Token
Click Create Token
Use Custom Token with read-only permissions:
Account Settings: Read
Zone: Read
Zone Settings: Read
DNS: Read
SSL and Certificates: Read
Firewall Services: Read
Analytics: Read
Access: Apps and Policies: Read
Worker Scripts: Read
Load Balancers: Read
(add more as needed for your use case)
3. Configure Your MCP Client
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"cloudflare": {
"command": "node",
"args": ["/path/to/cloudflare-mcp/dist/index.js"],
"env": {
"CLOUDFLARE_API_TOKEN": "your-api-token-here"
}
}
}
}Cursor / Other MCP Clients
CLOUDFLARE_API_TOKEN="your-token" node dist/index.jsExample Queries
Once connected, ask natural language questions:
Discovery
"List all my zones and their status"
"What Workers do I have deployed?"
"Show me all Access applications"
Security Audit
"Which zones have bot management enabled?"
"What WAF rules are configured on example.com?"
"List all rate limiting rules across my account"
"Show audit logs from the last 24 hours filtered by user@example.com"
Troubleshooting
"What are the SSL settings for example.com?"
"Is Argo Smart Routing enabled on my zones?"
"What DNS records exist for api.example.com?"
"Show me the load balancer configuration for production"
Zero Trust
"List all Cloudflare Tunnel connections"
"What Access policies protect my apps?"
"Show Gateway network policies"
"What devices are registered in my Zero Trust org?"
Security
Feature | Description |
Read-Only | Cannot create, update, or delete any resources |
Rate Limited | Built-in token bucket (100 burst, 10/sec) |
Audit Logged | All API calls logged with sensitive data redacted |
Token Protected | API token XOR-obfuscated in memory |
Input Validated | Zod schemas + GraphQL query validation |
Best Practices:
Use the principle of least privilege when creating tokens
Never commit tokens to version control
Rotate tokens periodically
Documentation
Document | Description |
Technical design and data flow | |
Complete list of 354 tools | |
FedRAMP compliance details | |
NIST control implementations |
Contributing
See CONTRIBUTING.md for guidelines.
License
MIT
Available Tools
390 toolsget_abuse_reportB
Get details of an abuse report
Inputs: report_id (required), account_id (required).
get_access_bookmarkC
Get details of an Access bookmark
Inputs: account_id (required), bookmark_id (required).
get_access_certificateB
Get details of an Access mTLS certificate
Inputs: account_id (required), certificate_id (required).
get_access_certificate_settingsC
Get Access mTLS certificate settings
Inputs: account_id (required).
get_access_custom_pageC
Get details of an Access custom page
Inputs: account_id (required), custom_page_id (required).
get_access_identity_providerB
Get details of an Access identity provider
Inputs: account_id (required), identity_provider_id (required).
get_access_keysB
Get Access keys configuration (signing keys for tokens)
Inputs: account_id (required).
get_access_organizationA
Get Access organization settings for an account
Inputs: account_id (required).
get_access_tagC
Get details of an Access tag
Inputs: tag_name (required), account_id (required).
get_accountB
Get details for a specific Cloudflare account
Inputs: account_id (required).
get_account_dns_settingsC
Get DNS settings for an account
Inputs: account_id (required).
get_account_mtls_certificateC
Get details of an account mTLS certificate
Inputs: account_id (required), certificate_id (required).
get_account_rulesetB
Get a specific account-level ruleset
Inputs: account_id (required), ruleset_id (required).
get_account_rules_listC
Get details of an account rules list
Inputs: list_id (required), account_id (required).
get_account_tokenB
Get details of an API token
Inputs: token_id (required), account_id (required).
get_address_mapC
Get details of an IP address map
Inputs: account_id (required), address_map_id (required).
get_ai_gateway_datasetC
Get details of an AI Gateway dataset
Inputs: account_id (required), dataset_id (required), gateway_id (required).
get_ai_gateway_evaluationC
Get details of an AI Gateway evaluation
Inputs: account_id (required), gateway_id (required), evaluation_id (required).
get_ai_gateway_logsC
Get logs for an AI Gateway
Inputs: account_id (required), gateway_id (required).
get_ai_gateway_routeB
Get details of an AI Gateway route
Inputs: route_id (required), account_id (required), gateway_id (required).
get_ai_search_instanceC
Get details of an AI Search instance
Inputs: account_id (required), instance_id (required).
get_ai_search_jobB
Get details of an AI Search job
Inputs: job_id (required), account_id (required), instance_id (required).
get_analytics_by_coloB
Get zone analytics broken down by Cloudflare colo/data center
Inputs: zone_id (required), since, until.
get_api_gateway_configC
Get API Gateway configuration for a zone
Inputs: zone_id (required).
get_api_gateway_discoveryC
Get API Gateway discovery status
Inputs: zone_id (required).
get_api_gateway_operationC
Get details of an API Gateway operation
Inputs: zone_id (required), operation_id (required).
get_api_gateway_settingsC
Get API Gateway schema validation settings
Inputs: zone_id (required).
get_api_gateway_user_schemaC
Get details of an API Gateway user schema
Inputs: zone_id (required), schema_id (required).
get_api_shield_configB
Get API Shield configuration for a zone
Inputs: zone_id (required).
get_argo_settingsB
Get Argo Smart Routing and Tiered Caching settings for a zone
Inputs: zone_id (required).
get_audit_logsB
Get audit logs for a Cloudflare account. Returns recent activity including user actions, API calls, and configuration changes.
Inputs: account_id (required), page, since, before, +5 more.
get_authenticated_origin_pullsA
Get Authenticated Origin Pulls settings for a zone
Inputs: zone_id (required).
get_autorag_jobB
Get details of an AutoRAG job
Inputs: job_id (required), rag_id (required), account_id (required).
get_billing_profileB
Get billing profile for an account (payment status, etc.)
Inputs: account_id (required).
get_bot_managementB
Get bot management settings for a zone
Inputs: zone_id (required).
get_botnet_feed_asn_configB
Get botnet feed ASN configuration
Inputs: account_id (required).
get_botnet_feed_asn_reportC
Get botnet feed report for an ASN
Inputs: asn_id (required), account_id (required).
get_brand_protection_domain_infoC
Get brand protection domain info
Inputs: account_id (required).
get_brand_protection_logoC
Get brand protection logo details
Inputs: logo_id (required), account_id (required).
get_brand_protection_url_infoC
Get brand protection URL info
Inputs: account_id (required), url.
get_cache_rulesC
Get cache rules for a zone
Inputs: zone_id (required).
get_cache_settingsB
Get cache settings for a zone
Inputs: zone_id (required).
get_calls_appB
Get details of a specific Calls application
Inputs: app_id (required), account_id (required).
get_calls_turn_keyA
Get details of a specific TURN key
Inputs: key_id (required), account_id (required).
get_certificate_packC
Get details of a specific SSL certificate pack
Inputs: zone_id (required), certificate_pack_id (required).
get_cloudflare_ipsA
Get Cloudflare's IP ranges (IPv4 and IPv6) - useful for allowlisting
Inputs: no named parameters.
get_cloudforce_one_datasetC
Get Cloudforce One dataset details
Inputs: account_id (required), dataset_id (required).
get_cloudforce_one_eventC
Get Cloudforce One threat event details
Inputs: event_id (required), account_id (required).
get_cloudforce_one_events_aggregateC
Get Cloudforce One events aggregate
Inputs: account_id (required).
get_cloudforce_one_queryC
Get Cloudforce One query details
Inputs: query_id (required), account_id (required).
get_cloudforce_one_requestC
Get Cloudforce One request details
Inputs: account_id (required), request_id (required).
get_cloudforce_one_requests_quotaC
Get Cloudforce One requests quota
Inputs: account_id (required).
get_cloudforce_one_scans_configC
Get Cloudforce One scans configuration
Inputs: account_id (required).
get_cni_interconnectC
Get details of a Cloud Network Interconnect
Inputs: account_id (required), interconnect_id (required).
get_cni_settingsB
Get CNI settings for an account
Inputs: account_id (required).
get_connectivity_serviceC
Get details of a connectivity service
Inputs: account_id (required), service_id (required).
get_content_upload_scan_settingsA
Get content upload scan (malware) settings for a zone
Inputs: zone_id (required).
get_custom_certificateA
Get details of a specific custom SSL certificate
Inputs: zone_id (required), certificate_id (required).
get_custom_hostnameB
Get details of a specific custom hostname
Inputs: zone_id (required), custom_hostname_id (required).
get_d1_databaseC
Get details of a D1 database
Inputs: account_id (required), database_id (required).
get_dcv_delegationB
Get DCV delegation UUID for a zone
Inputs: zone_id (required).
get_ddos_l4_rulesB
Get Layer 4 DDoS protection rules for an account
Inputs: account_id (required).
get_ddos_l7_rulesB
Get Layer 7 DDoS protection rules for a zone
Inputs: zone_id (required).
get_dex_commands_quotaC
Get DEX commands quota
Inputs: account_id (required).
get_dex_fleet_status_liveC
Get live DEX fleet status
Inputs: account_id (required).
get_dex_fleet_status_over_timeC
Get DEX fleet status over time
Inputs: account_id (required).
get_dex_http_testC
Get DEX HTTP test details
Inputs: test_id (required), account_id (required).
get_dex_ruleC
Get DEX rule details
Inputs: rule_id (required), account_id (required).
get_dex_tests_unique_devicesC
Get unique devices for DEX tests
Inputs: account_id (required).
get_dex_traceroute_testC
Get DEX traceroute test details
Inputs: test_id (required), account_id (required).
get_dlp_datasetB
Get details of a specific DLP dataset
Inputs: account_id (required), dataset_id (required).
get_dlp_payload_log_settingsB
Get DLP payload logging settings for an account
Inputs: account_id (required).
get_dlp_profileB
Get details of a specific DLP profile
Inputs: account_id (required), profile_id (required).
get_dns_analytics_reportC
Get DNS analytics report for a zone
Inputs: zone_id (required).
get_dns_firewall_analyticsC
Get DNS Firewall analytics for a cluster
Inputs: account_id (required), cluster_id (required).
get_dns_firewall_clusterA
Get details of a specific DNS Firewall cluster
Inputs: account_id (required), cluster_id (required).
get_dns_recordB
Get details of a specific DNS record
Inputs: zone_id (required), dns_record_id (required).
get_dnssecC
Get DNSSEC status for a zone
Inputs: zone_id (required).
get_dns_viewC
Get details of a DNS view
Inputs: view_id (required), account_id (required).
get_email_routing_settingsB
Get email routing settings for a zone
Inputs: zone_id (required).
get_email_security_allow_policyB
Get email security allow policy details
Inputs: policy_id (required), account_id (required).
get_email_security_block_senderC
Get email security blocked sender details
Inputs: account_id (required), pattern_id (required).
get_email_security_domainC
Get email security domain details
Inputs: domain_id (required), account_id (required).
get_email_security_messageC
Get email security message details
Inputs: account_id (required), postfix_id (required).
get_email_security_message_detectionsC
Get email security message detections
Inputs: account_id (required), postfix_id (required).
get_email_security_phishguard_reportsC
Get email security Phishguard reports
Inputs: account_id (required).
get_endpoint_healthcheckB
Get details of an endpoint healthcheck
Inputs: account_id (required), healthcheck_id (required).
get_fraud_detection_settingsA
Get fraud detection settings for a zone
Inputs: zone_id (required).
get_gateway_configurationC
Get Zero Trust Gateway configuration settings
Inputs: account_id (required).
get_healthcheckC
Get details of a healthcheck
Inputs: zone_id (required), healthcheck_id (required).
get_hyperdrive_configC
Get details of a Hyperdrive configuration
Inputs: account_id (required), hyperdrive_id (required).
get_images_statsB
Get Cloudflare Images usage statistics
Inputs: account_id (required).
get_infrastructure_targetB
Get details of an infrastructure target
Inputs: target_id (required), account_id (required).
get_intel_asnC
Get intelligence about an ASN
Inputs: asn (required), account_id (required).
get_intel_domainC
Get intelligence about a domain
Inputs: account_id (required), domain.
get_intel_domain_historyC
Get domain history intelligence
Inputs: account_id (required).
get_intel_indicator_feedC
Get details of a threat indicator feed
Inputs: feed_id (required), account_id (required).
get_intel_ipC
Get intelligence about an IP address
Inputs: account_id (required), ipv4, ipv6.
get_intel_whoisB
Get WHOIS information for a domain
Inputs: account_id (required), domain.
get_ip_prefixB
Get details of an IP prefix
Inputs: prefix_id (required), account_id (required).
get_ip_prefix_bgp_statusB
Get BGP status for an IP prefix
Inputs: prefix_id (required), account_id (required).
get_kv_namespaceC
Get details of a KV namespace
Inputs: account_id (required), namespace_id (required).
get_leaked_credential_check_settingsB
Get leaked credential check settings for a zone
Inputs: zone_id (required).
get_legacy_rate_limitC
Get details of a specific legacy rate limit rule
Inputs: zone_id (required), rate_limit_id (required).
get_magic_transit_connectorB
Get details of a specific Magic Transit connector
Inputs: account_id (required), connector_id (required).
get_magic_transit_gre_tunnelA
Get details of a specific Magic Transit GRE tunnel
Inputs: tunnel_id (required), account_id (required).
get_magic_transit_ipsec_tunnelB
Get details of a specific Magic Transit IPsec tunnel
Inputs: tunnel_id (required), account_id (required).
get_magic_transit_routeA
Get details of a specific Magic Transit static route
Inputs: route_id (required), account_id (required).
get_magic_transit_siteA
Get details of a specific Magic WAN site
Inputs: site_id (required), account_id (required).
get_managed_headersC
Get managed request/response headers configuration
Inputs: zone_id (required).
get_membershipB
Get details of a specific account membership
Inputs: membership_id (required).
get_mnm_configC
Get Magic Network Monitoring configuration
Inputs: account_id (required).
get_mnm_ruleB
Get details of a Magic Network Monitoring rule
Inputs: rule_id (required), account_id (required).
get_origin_rulesA
Get origin rules for a zone (override origin server, host header, etc.)
Inputs: zone_id (required).
get_page_ruleB
Get details of a specific page rule
Inputs: zone_id (required), pagerule_id (required).
get_page_shield_settingsA
Get Page Shield settings for a zone (client-side security monitoring)
Inputs: zone_id (required).
get_pages_projectC
Get details of a Pages project
Inputs: account_id (required), project_name (required).
get_pcapB
Get details of a packet capture
Inputs: pcap_id (required), account_id (required).
get_pcap_ownershipC
Get packet capture ownership info
Inputs: account_id (required).
get_permission_groupB
Get details of an IAM permission group
Inputs: group_id (required), account_id (required).
get_queueC
Get details of a Cloudflare Queue
Inputs: queue_id (required), account_id (required).
get_r2_catalogB
Get details of an R2 catalog
Inputs: account_id (required), catalog_name (required).
get_r2_event_notification_configA
Get R2 bucket event notification configuration
Inputs: account_id (required), bucket_name (required).
get_r2_pipelineA
Get details of an R2 pipeline
Inputs: account_id (required), pipeline_name (required).
get_rate_limiting_rulesA
Get rate limiting rules for a zone (modern WAF rulesets API)
Inputs: zone_id (required).
get_realtime_analytics_daywiseC
Get Realtime Kit daily analytics
Inputs: app_id (required), account_id (required).
get_realtime_livestreamB
Get Realtime Kit livestream details
Inputs: app_id (required), account_id (required), livestream_id (required).
get_realtime_meetingC
Get Realtime Kit meeting details
Inputs: app_id (required), account_id (required), meeting_id (required).
get_realtime_presetB
Get Realtime Kit preset details
Inputs: app_id (required), preset_id (required), account_id (required).
get_realtime_recordingB
Get Realtime Kit recording details
Inputs: app_id (required), account_id (required), recording_id (required).
get_realtime_sessionC
Get Realtime Kit session details
Inputs: app_id (required), account_id (required), session_id (required).
get_realtime_session_summaryC
Get Realtime Kit session summary
Inputs: app_id (required), account_id (required), session_id (required).
get_realtime_session_transcriptC
Get Realtime Kit session transcript
Inputs: app_id (required), account_id (required), session_id (required).
get_realtime_webhookC
Get Realtime Kit webhook details
Inputs: app_id (required), account_id (required), webhook_id (required).
get_registrar_domainC
Get details of a domain in Cloudflare Registrar
Inputs: account_id (required), domain_name (required).
get_request_header_rulesA
Get HTTP request header modification rules for a zone
Inputs: zone_id (required).
get_resource_groupC
Get details of an IAM resource group
Inputs: group_id (required), account_id (required).
get_response_header_rulesA
Get HTTP response header modification rules for a zone
Inputs: zone_id (required).
get_risk_scoring_integrationB
Get details of a risk scoring integration
Inputs: account_id (required), integration_id (required).
get_rulesetC
Get details of a specific ruleset
Inputs: zone_id (required), ruleset_id (required).
get_rum_siteB
Get details of a RUM site
Inputs: site_id (required), account_id (required).
get_schema_validation_settingsA
Get API schema validation settings for a zone
Inputs: zone_id (required).
get_secondary_dns_aclB
Get details of a specific secondary DNS ACL
Inputs: acl_id (required), account_id (required).
get_secondary_dns_incomingC
Get secondary DNS incoming zone transfer configuration
Inputs: zone_id (required).
get_secondary_dns_outgoingB
Get secondary DNS outgoing zone transfer configuration
Inputs: zone_id (required).
get_secondary_dns_peerA
Get details of a specific secondary DNS peer
Inputs: peer_id (required), account_id (required).
get_secondary_dns_primaryA
Get secondary DNS primary nameserver configuration for a zone
Inputs: zone_id (required).
get_secondary_dns_tsigA
Get details of a specific secondary DNS TSIG key
Inputs: tsig_id (required), account_id (required).
get_secrets_storeC
Get details of a secrets store
Inputs: store_id (required), account_id (required).
get_slurper_jobB
Get details of a migration job
Inputs: job_id (required), account_id (required).
get_slurper_job_progressB
Get progress of a migration job
Inputs: job_id (required), account_id (required).
get_smart_shield_settingsB
Get Smart Shield settings for a zone
Inputs: zone_id (required).
get_spectrum_analytics_summaryC
Get Spectrum analytics summary
Inputs: zone_id (required).
get_speed_page_trendC
Get speed trends for a page over time
Inputs: url (required), zone_id (required).
get_speed_scheduleA
Get scheduled speed test configuration for a URL
Inputs: url (required), zone_id (required).
get_speed_testC
Get details of a specific speed test
Inputs: url (required), test_id (required), zone_id (required).
get_ssl_settingsB
Get SSL/TLS settings for a zone including encryption mode and TLS version
Inputs: zone_id (required).
get_ssl_verificationA
Get SSL verification status for a zone's certificates
Inputs: zone_id (required).
get_stream_videoC
Get details of a Stream video
Inputs: video_id (required), account_id (required).
get_teamnet_virtual_networkB
Get details of a team virtual network
Inputs: vnet_id (required), account_id (required).
get_token_validation_settingsA
Get token validation settings for a zone
Inputs: zone_id (required).
get_total_tls_settingsC
Get Total TLS settings for a zone (Advanced Certificate Manager)
Inputs: zone_id (required).
get_tunnelC
Get details of a Cloudflare Tunnel
Inputs: tunnel_id (required), account_id (required).
get_tunnel_configurationC
Get configuration for a Cloudflare Tunnel (ingress rules, etc.)
Inputs: tunnel_id (required), account_id (required).
get_turnstile_widgetC
Get details of a specific Turnstile widget
Inputs: widget_id (required), account_id (required).
get_universal_ssl_settingsB
Get Universal SSL settings for a zone
Inputs: zone_id (required).
get_url_normalizationB
Get URL normalization settings for a zone
Inputs: zone_id (required).
get_url_rewrite_rulesC
Get URL rewrite/transform rules for a zone
Inputs: zone_id (required).
get_url_scanC
Get URL scan result
Inputs: scan_id (required), account_id (required).
get_url_scan_harA
Get HAR file from URL scan
Inputs: scan_id (required), account_id (required).
get_userA
Get current authenticated user details (email, ID, etc.)
Inputs: no named parameters.
get_vectorize_indexB
Get details of a Vectorize index
Inputs: account_id (required), index_name (required).
get_waf_custom_rulesB
Get custom WAF rules for a zone
Inputs: zone_id (required).
get_waf_managed_rulesB
Get managed WAF rules configuration for a zone
Inputs: zone_id (required).
get_waiting_roomB
Get details of a specific waiting room
Inputs: zone_id (required), waiting_room_id (required).
get_warp_connectorC
Get details of a WARP connector
Inputs: account_id (required), connector_id (required).
get_worker_buildC
Get details of a Worker build
Inputs: build_id (required), account_id (required).
get_worker_scriptC
Get metadata for a specific Worker script
Inputs: account_id (required), script_name (required).
get_workflowC
Get details of a Workers Workflow
Inputs: account_id (required), workflow_name (required).
get_workflow_instanceB
Get details of a workflow instance
Inputs: account_id (required), instance_id (required), workflow_name (required).
get_zaraz_configC
Get Zaraz configuration for a zone
Inputs: zone_id (required).
get_zerotrust_connectivity_settingsC
Get Zero Trust connectivity settings
Inputs: account_id (required).
get_zerotrust_hostname_routeC
Get Zero Trust hostname route details
Inputs: account_id (required), hostname_route_id (required).
get_zoneB
Get details for a specific zone
Inputs: zone_id (required).
get_zone_analyticsC
Get analytics dashboard data for a zone
Inputs: zone_id (required), since, until.
get_zone_holdB
Get zone hold status
Inputs: zone_id (required).
get_zone_logs_retentionB
Get zone logs retention settings
Inputs: zone_id (required).
get_zone_settingB
Get a specific zone setting by name (e.g., ssl, min_tls_version, security_level)
Inputs: zone_id (required), setting_name (required).
get_zone_settingsA
Get all settings for a zone including SSL, security, caching, and performance settings
Inputs: zone_id (required).
get_zone_subscriptionA
Get zone subscription tier (Free/Pro/Business/Enterprise) - determines available features
Inputs: zone_id (required).
graphql_analyticsC
Query Cloudflare Analytics using GraphQL. Supports zones, accounts, and various datasets.
Inputs: query (required), variables.
list_abuse_reportsB
List abuse reports for an account
Inputs: account_id (required).
list_access_appsC
List Cloudflare Access applications for an account
Inputs: account_id (required).
list_access_bookmarksC
List Access bookmarks for an account
Inputs: account_id (required).
list_access_certificatesB
List Access mTLS certificates for an account
Inputs: account_id (required).
list_access_custom_pagesB
List Access custom pages for an account
Inputs: account_id (required).
list_access_groupsA
List Cloudflare Access groups for an account
Inputs: account_id (required).
list_access_identity_providersB
List Access identity providers for an account
Inputs: account_id (required).
list_access_logsC
List Access request logs for an account
Inputs: account_id (required).
list_access_policiesA
List Cloudflare Access policies for an account
Inputs: account_id (required).
list_access_service_tokensA
List Cloudflare Access service tokens for an account
Inputs: account_id (required).
list_access_tagsB
List Access tags for an account
Inputs: account_id (required).
list_access_user_active_sessionsB
List active sessions for an Access user
Inputs: user_id (required), account_id (required).
list_access_user_failed_loginsB
List failed logins for an Access user
Inputs: user_id (required), account_id (required).
list_access_usersB
List Access users for an account
Inputs: account_id (required).
list_account_membersC
List all members of a Cloudflare account
Inputs: account_id (required).
list_account_mtls_certificatesA
List mTLS certificates at account level
Inputs: account_id (required).
list_account_rolesB
List all roles available in a Cloudflare account
Inputs: account_id (required).
list_account_rulesetsA
List all rulesets at the account level
Inputs: account_id (required).
list_account_rules_list_itemsC
List items in an account rules list
Inputs: list_id (required), account_id (required).
list_account_rules_listsB
List account-level rules lists (IP lists, hostname lists, etc.)
Inputs: account_id (required).
list_accountsA
List all Cloudflare accounts accessible with the current API token
Inputs: no named parameters.
list_account_tokensB
List API tokens for an account
Inputs: account_id (required).
list_addressing_servicesC
List addressing services for an account
Inputs: account_id (required).
list_address_mapsB
List IP address maps for an account
Inputs: account_id (required).
list_ai_gateway_datasetsB
List datasets for an AI Gateway
Inputs: account_id (required), gateway_id (required).
list_ai_gateway_evaluationsC
List evaluations for an AI Gateway
Inputs: account_id (required), gateway_id (required).
list_ai_gateway_routesB
List routes for an AI Gateway
Inputs: account_id (required), gateway_id (required).
list_ai_gatewaysB
List AI Gateway instances in an account
Inputs: account_id (required).
list_ai_modelsB
List available Workers AI models
Inputs: account_id (required).
list_ai_search_instancesB
List AI Search instances for an account
Inputs: account_id (required).
list_ai_search_itemsB
List items in an AI Search instance
Inputs: account_id (required), instance_id (required).
list_ai_search_jobsB
List jobs for an AI Search instance
Inputs: account_id (required), instance_id (required).
list_api_gateway_operationsB
List API Gateway operations for a zone
Inputs: zone_id (required).
list_api_gateway_schemasB
List API Gateway schemas for a zone
Inputs: zone_id (required).
list_api_gateway_user_schemasB
List API Gateway user-uploaded schemas
Inputs: zone_id (required).
list_api_schemasC
List API schemas for a zone
Inputs: zone_id (required).
list_api_shield_operationsB
List API Shield operations/endpoints for a zone
Inputs: zone_id (required).
list_api_shield_schemasB
List API Shield schemas for a zone
Inputs: zone_id (required).
list_autorag_filesB
List files in an AutoRAG instance
Inputs: rag_id (required), account_id (required).
list_autorag_jobsC
List jobs for an AutoRAG instance
Inputs: rag_id (required), account_id (required).
list_available_alertsB
List available alert types that can be configured
Inputs: account_id (required).
list_brand_protection_alertsC
List brand protection alerts
Inputs: account_id (required).
list_brand_protection_brandsB
List registered brands for brand protection
Inputs: account_id (required).
list_brand_protection_logo_matchesC
List brand protection logo matches
Inputs: account_id (required).
list_brand_protection_logosC
List brand protection logos
Inputs: account_id (required).
list_brand_protection_matchesC
List brand protection matches (potential infringements)
Inputs: account_id (required).
list_brand_protection_queriesC
List brand protection queries
Inputs: account_id (required).
list_brand_protection_recent_submissionsC
List recent brand protection submissions
Inputs: account_id (required).
list_brand_protection_tracked_domainsC
List brand protection tracked domains
Inputs: account_id (required).
list_calls_appsA
List Cloudflare Calls applications (WebRTC)
Inputs: account_id (required).
list_calls_turn_keysB
List TURN keys for Cloudflare Calls
Inputs: account_id (required).
list_certificate_packsA
List SSL certificate packs for a zone
Inputs: zone_id (required).
list_client_certificatesC
List client certificates for mTLS
Inputs: zone_id (required).
list_cloud_connector_rulesC
List cloud connector rules for a zone
Inputs: zone_id (required).
list_cloudforce_one_categoriesC
List Cloudforce One event categories
Inputs: account_id (required).
list_cloudforce_one_countriesC
List Cloudforce One event countries
Inputs: account_id (required).
list_cloudforce_one_datasetsC
List Cloudforce One datasets
Inputs: account_id (required).
list_cloudforce_one_eventsC
List Cloudforce One threat events
Inputs: account_id (required).
list_cloudforce_one_indicatorsC
List Cloudforce One threat indicators
Inputs: account_id (required).
list_cloudforce_one_indicator_typesC
List Cloudforce One indicator types
Inputs: account_id (required).
list_cloudforce_one_queriesC
List Cloudforce One queries
Inputs: account_id (required).
list_cloudforce_one_request_typesB
List Cloudforce One request types
Inputs: account_id (required).
list_cloudforce_one_tagsC
List Cloudforce One tags
Inputs: account_id (required).
list_cloudforce_one_target_industriesC
List Cloudforce One target industries
Inputs: account_id (required).
list_cni_interconnectsB
List Cloud Network Interconnects for an account
Inputs: account_id (required).
list_cni_slotsB
List CNI slots for an account
Inputs: account_id (required).
list_connectivity_servicesC
List connectivity directory services
Inputs: account_id (required).
list_containersC
List containers for an account
Inputs: account_id (required).
list_custom_certificatesA
List custom SSL certificates uploaded to a zone
Inputs: zone_id (required).
list_custom_hostnamesA
List custom hostnames (SSL for SaaS) for a zone
Inputs: zone_id (required), hostname, per_page.
list_d1_databasesB
List D1 SQL databases in an account
Inputs: account_id (required).
list_device_policiesC
List device policies for Zero Trust
Inputs: account_id (required).
list_device_posture_rulesB
List device posture rules (compliance requirements)
Inputs: account_id (required).
list_devicesB
List devices enrolled in Zero Trust/WARP
Inputs: account_id (required).
list_dex_colosC
List DEX colocations
Inputs: account_id (required).
list_dex_commandsC
List DEX commands
Inputs: account_id (required).
list_dex_fleet_status_devicesC
List DEX fleet status by device
Inputs: account_id (required).
list_dex_rulesC
List DEX rules
Inputs: account_id (required).
list_dex_tests_overviewC
List DEX tests overview
Inputs: account_id (required).
list_dlp_datasetsC
List DLP datasets for an account
Inputs: account_id (required).
list_dlp_patternsC
List predefined DLP patterns available
Inputs: account_id (required).
list_dlp_profilesA
List DLP profiles for an account
Inputs: account_id (required).
list_dns_firewall_clustersC
List DNS Firewall clusters for an account
Inputs: account_id (required).
list_dns_recordsC
List DNS records for a zone
Inputs: zone_id (required), name, type, per_page.
list_dns_viewsC
List DNS views for an account
Inputs: account_id (required).
list_durable_object_namespacesA
List Durable Object namespaces in an account
Inputs: account_id (required).
list_email_routing_addressesC
List verified destination email addresses
Inputs: account_id (required).
list_email_routing_rulesB
List email routing rules for a zone
Inputs: zone_id (required).
list_email_security_allow_policiesC
List email security allow policies
Inputs: account_id (required).
list_email_security_block_sendersC
List email security blocked senders
Inputs: account_id (required).
list_email_security_domainsC
List email security domains
Inputs: account_id (required).
list_email_security_impersonation_registryC
List email security impersonation registry
Inputs: account_id (required).
list_email_security_investigateC
List email security investigation results
Inputs: account_id (required).
list_email_security_submissionsC
List email security submissions
Inputs: account_id (required).
list_email_security_trusted_domainsC
List email security trusted domains
Inputs: account_id (required).
list_endpoint_healthchecksC
List endpoint healthchecks for diagnostics
Inputs: account_id (required).
list_filtersB
List filters used by firewall rules
Inputs: zone_id (required).
list_firewall_rulesC
List firewall rules for a zone
Inputs: zone_id (required).
list_gateway_locationsA
List Gateway locations (DNS resolver endpoints)
Inputs: account_id (required).
list_gateway_proxy_endpointsC
List Gateway proxy endpoints
Inputs: account_id (required).
list_gateway_rulesB
List Zero Trust Gateway rules (DNS/HTTP/Network filtering)
Inputs: account_id (required).
list_healthchecksB
List healthchecks for a zone
Inputs: zone_id (required).
list_hyperdrive_configsB
List Hyperdrive configurations (database connection accelerators)
Inputs: account_id (required).
list_imagesC
List images in Cloudflare Images
Inputs: account_id (required).
list_infrastructure_targetsC
List infrastructure targets
Inputs: account_id (required).
list_intel_indicator_feedsC
List threat indicator feeds
Inputs: account_id (required).
list_intel_ip_listsC
List IP lists for threat intelligence
Inputs: account_id (required).
list_intel_sinkholesC
List Cloudflare sinkholes
Inputs: account_id (required).
list_ip_access_rulesA
List IP access rules for a zone (IP blocking/allowing)
Inputs: zone_id (required).
list_ip_prefix_delegationsC
List delegations for an IP prefix
Inputs: prefix_id (required), account_id (required).
list_ip_prefixesB
List IP prefixes (BYOIP) for an account
Inputs: account_id (required).
list_keyless_certificatesA
List Keyless SSL certificates for a zone
Inputs: zone_id (required).
list_kv_keysC
List keys in a KV namespace
Inputs: account_id (required), namespace_id (required), limit, prefix.
list_kv_namespacesA
List Workers KV namespaces in an account
Inputs: account_id (required).
list_leaked_credential_detectionsC
List leaked credential detections for a zone
Inputs: zone_id (required).
list_legacy_rate_limitsA
List legacy rate limiting rules for a zone (deprecated API)
Inputs: zone_id (required).
list_load_balancer_monitorsB
List health monitors for load balancers
Inputs: account_id (required).
list_load_balancersB
List load balancers for a zone
Inputs: zone_id (required).
list_logpush_jobs_accountA
List Logpush jobs for an account
Inputs: account_id (required).
list_logpush_jobs_zoneA
List Logpush jobs for a zone
Inputs: zone_id (required).
list_magic_transit_connectorsA
List Magic Transit connectors for an account
Inputs: account_id (required).
list_magic_transit_gre_tunnelsA
List Magic Transit GRE tunnels for an account
Inputs: account_id (required).
list_magic_transit_ipsec_tunnelsB
List Magic Transit IPsec tunnels for an account
Inputs: account_id (required).
list_magic_transit_routesA
List Magic Transit static routes for an account
Inputs: account_id (required).
list_magic_transit_sitesB
List Magic WAN sites for an account
Inputs: account_id (required).
list_membershipsA
List account memberships for the authenticated user
Inputs: no named parameters.
list_mnm_rulesB
List Magic Network Monitoring rules
Inputs: account_id (required).
list_notification_historyA
List notification history (past alerts sent)
Inputs: account_id (required).
list_notification_policiesB
List notification/alerting policies for an account
Inputs: account_id (required).
list_notification_webhooksB
List configured notification webhook destinations
Inputs: account_id (required).
list_origin_ca_certificatesA
List Origin CA certificates for a zone
Inputs: zone_id (required).
list_origin_poolsB
List load balancer origin pools for an account
Inputs: account_id (required).
list_page_rulesB
List page rules for a zone
Inputs: zone_id (required).
list_pages_deploymentsB
List deployments for a Pages project
Inputs: account_id (required), project_name (required).
list_page_shield_connectionsB
List connections detected by Page Shield
Inputs: zone_id (required).
list_page_shield_policiesC
List Page Shield policies
Inputs: zone_id (required).
list_page_shield_scriptsA
List scripts detected by Page Shield
Inputs: zone_id (required).
list_pages_projectsB
List Cloudflare Pages projects in an account
Inputs: account_id (required).
list_pcapsB
List packet captures for an account
Inputs: account_id (required).
list_permission_groupsB
List IAM permission groups for an account
Inputs: account_id (required).
list_queuesA
List Cloudflare Queues in an account
Inputs: account_id (required).
list_r2_bucketsA
List R2 storage buckets in an account
Inputs: account_id (required).
list_r2_catalogsA
List R2 catalogs for an account
Inputs: account_id (required).
list_r2_pipelinesB
List R2 pipelines for an account
Inputs: account_id (required).
list_realtime_appsC
List Realtime Kit apps
Inputs: account_id (required).
list_realtime_livestreamsC
List Realtime Kit livestreams
Inputs: app_id (required), account_id (required).
list_realtime_meeting_participantsB
List participants in a Realtime Kit meeting
Inputs: app_id (required), account_id (required), meeting_id (required).
list_realtime_meetingsC
List Realtime Kit meetings
Inputs: app_id (required), account_id (required).
list_realtime_presetsC
List Realtime Kit presets
Inputs: app_id (required), account_id (required).
list_realtime_recordingsC
List Realtime Kit recordings
Inputs: app_id (required), account_id (required).
list_realtime_sessionsC
List Realtime Kit sessions
Inputs: app_id (required), account_id (required).
list_realtime_webhooksB
List Realtime Kit webhooks
Inputs: app_id (required), account_id (required).
list_registrar_domainsC
List domains registered with Cloudflare Registrar
Inputs: account_id (required).
list_resource_groupsA
List IAM resource groups for an account
Inputs: account_id (required).
list_risk_scoring_behaviorsC
List Zero Trust risk scoring behaviors
Inputs: account_id (required).
list_risk_scoring_integrationsA
List Zero Trust risk scoring integrations
Inputs: account_id (required).
list_rum_sitesB
List Real User Monitoring sites
Inputs: account_id (required).
list_secondary_dns_aclsB
List secondary DNS ACLs for an account
Inputs: account_id (required).
list_secondary_dns_peersB
List secondary DNS peers for an account
Inputs: account_id (required).
list_secondary_dns_tsigsB
List secondary DNS TSIG keys for an account
Inputs: account_id (required).
list_secrets_storesB
List secrets stores for an account
Inputs: account_id (required).
list_secrets_store_secretsA
List secrets in a secrets store (names only)
Inputs: store_id (required), account_id (required).
list_security_insightsA
List Security Center insights for a zone (security issues and recommendations)
Inputs: zone_id (required).
list_slurper_jobsC
List migration (slurper) jobs
Inputs: account_id (required).
list_snippetsA
List Cloudflare Snippets for a zone
Inputs: zone_id (required).
list_spectrum_appsA
List Spectrum applications for a zone (TCP/UDP proxy)
Inputs: zone_id (required).
list_speed_available_regionsB
List available regions for speed tests
Inputs: zone_id (required).
list_speed_testsC
List speed tests for a zone URL
Inputs: url (required), zone_id (required).
list_stream_videosC
List videos in Cloudflare Stream
Inputs: account_id (required).
list_teamnet_routesC
List team network routes for an account
Inputs: account_id (required).
list_teamnet_virtual_networksA
List team virtual networks for an account
Inputs: account_id (required).
list_token_permission_groupsA
List available permission groups for API tokens
Inputs: account_id (required).
list_tunnel_connectionsB
List active connections for a Cloudflare Tunnel
Inputs: tunnel_id (required), account_id (required).
list_tunnelsC
List Cloudflare Tunnels in an account
Inputs: account_id (required).
list_turnstile_widgetsA
List Turnstile widgets (CAPTCHA alternatives) for an account
Inputs: account_id (required).
list_user_agent_rulesA
List user agent blocking rules for a zone
Inputs: zone_id (required).
list_vectorize_indexesA
List Vectorize indexes (vector databases) in an account
Inputs: account_id (required).
list_waiting_roomsA
List waiting rooms for a zone
Inputs: zone_id (required).
list_warp_connectorsB
List WARP connectors for an account
Inputs: account_id (required).
list_web3_hostnamesA
List Web3 hostnames for a zone
Inputs: zone_id (required).
list_worker_buildsC
List Worker builds for an account
Inputs: account_id (required).
list_worker_deploymentsA
List deployments for a Worker script (useful for rollback decisions)
Inputs: account_id (required), script_name (required).
list_worker_routesA
List Worker routes for a zone
Inputs: zone_id (required).
list_workersB
List Worker scripts in an account
Inputs: account_id (required).
list_worker_secretsA
List secret names for a Worker script (does not return secret values)
Inputs: account_id (required), script_name (required).
list_worker_servicesB
List Worker services in an account
Inputs: account_id (required).
list_worker_tailsA
List active tail log sessions for a Worker script
Inputs: account_id (required), script_name (required).
list_workflow_instancesC
List instances of a Workers Workflow
Inputs: account_id (required), workflow_name (required).
list_workflowsB
List Workers Workflows for an account
Inputs: account_id (required).
list_zerotrust_hostname_routesC
List Zero Trust hostname routes
Inputs: account_id (required).
list_zerotrust_subnetsC
List Zero Trust subnets
Inputs: account_id (required).
list_zone_lockdown_rulesA
List zone lockdown rules (IP allowlisting for URLs)
Inputs: zone_id (required).
list_zone_rulesetsB
List all rulesets for a zone (includes WAF, rate limiting, transform rules, etc.)
Inputs: zone_id (required).
list_zonesA
List all zones (domains) in the account
Inputs: name, page, status, per_page, +1 more.
verify_account_tokenC
Verify an API token is valid
Inputs: account_id (required).
verify_tokenA
Verify the current API token and get its status
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 390 tools
With 390 tools, many resource families are nearly indistinguishable from an agent's perspective, such as list_workers vs list_worker_services, list_api_shield_operations vs list_api_gateway_operations, and get_zone_setting vs get_zone_settings. The descriptions help, but the scale and overlapping naming create substantial misselection risk.
The dominant pattern is list_<plural> and get_<singular>, which is readable, but there are many deviations: collection-style get_*_rules/get_*_settings use 'get' instead of 'list', and tools like graphql_analytics, get_analytics_by_colo, and verify_token break the pattern. Overall the naming is mostly predictable but not consistently applied.
390 tools is an extreme number for an agent-facing MCP server, far beyond the 50+ threshold. Even if Cloudflare's API is broad, exposing nearly every read-only endpoint as a separate tool makes the interface overwhelming and hard to navigate efficiently.
The entire tool surface is read-only: every tool is get/list/query style, with no create, update, or delete operations for any resource. A general Cloudflare management server cannot complete common workflows like creating DNS records or updating rules, making the set severely incomplete for its implied purpose.
Maintenance
Related MCP Connectors
Cloudflare Workers MCP server: ai-cost-optimizer
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Cloudflare Workers MCP server: ai-gateway
Cloudflare Workers MCP server: ai-agent-scratchpad
Related MCP Servers
AlicenseAqualityBmaintenanceLets you use Claude Desktop, or any MCP Client, to use natural language to accomplish things on your Cloudflare account.21,735 npm4,465Apache 2.0- AlicenseNot gradedqualityNot gradedmaintenanceA lightweight MCP server for managing DNS records, purging cache, and interacting with the Cloudflare API through natural language commands.24-
- AlicenseNot gradedqualityDmaintenanceAn MCP server that allows using natural language to manage Cloudflare resources (Workers, KV, R2, D1) through Claude Desktop, VSCode, and other MCP clients.11 npm10Apache 2.0

Cloudflare MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceA token-efficient MCP server that provides access to the entire Cloudflare API (2500+ endpoints) using a code execution pattern, enabling natural language management of Cloudflare services.1,119Apache 2.0