About MCP
MCP is an MCP server published by cloudflare in the Cloud category: mCP server for the Cloudflare API. Conduid read 223 tools from its source: abuseReports_create, abuseReports_get, abuseReports_getSubmitted, abuseReports_list, abuseReports_listSubmitted, accounts_create and 217 more. No package is published for it, so it installs from a source checkout.
The repository has 1.2K stars and 195 forks, is licensed Apache-2.0, and its last commit was on 2 Dec 2026. Conduid has no tagged release on record for it. It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include cloudflare-workers, cloud and cloudflare.
Install
git clone https://github.com/cloudflare/mcpTools (223)
abuseReports_createSubmit an abuse report of a particular type.
Requires the abuse-reports entitlement on the account (Enterprise
accounts have it by default; other accounts must request access) and an
API token with the `Trust and Safety Write` permission. If the account
is not entitled, the request is rejected with an HTTP `401` response
(see below).
Delegated reports: In limited circumstances, Cloudflare delegates
processing of abuse reports to select customers who have established
abuse-handling programs. For
these customers, Cloudflare may forward abuse reports directly and in
full—including reporter contact information, comments, and supporting
evidence—without redaction or preprocessing by Cloudflare. This allows
the customer to investigate and respond using their own policies and
processes. For delegated reports, the report—including contact
information and comments—will be forwarded to the customer in full
regardless of the `host_notification` and `owner_notification` values.
POST /accounts/{account_id}/abuse-reports/{report_param}| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
abuseReports_getRetrieve the details of an abuse report made against a domain or other content associated with the account. To retrieve a report that the account submitted, use the submitted abuse report endpoint instead.
GET /accounts/{account_id}/abuse-reports/{report_param}| Parameter | Type | Description |
|---|---|---|
| path * | object |
abuseReports_getSubmittedRetrieve a report submitted by the account.
GET /accounts/{account_id}/abuse-reports/submitted/{report_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
abuseReports_listList abuse reports made against domains or other content associated with the account. To list reports that the account submitted, use the submitted abuse reports endpoint instead.
GET /accounts/{account_id}/abuse-reports| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
abuseReports_listSubmittedList abuse reports submitted by the account.
GET /accounts/{account_id}/abuse-reports/submitted| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
accounts_createCreate an Account. To create the Account within an Organization, provide `unit.id` and omit `standalone`. To create a standalone Free Account, provide `standalone: true` and omit `unit`. Providing both fields is invalid. If you omit both fields, Cloudflare can determine the destination only when the User is an administrator of exactly one Organization. Cloudflare creates the Account in that Organization; otherwise, the request returns an error. Account names are limited to 65 UTF-8 bytes.
POST /accounts| Parameter | Type | Description |
|---|---|---|
| body * | any | Parameters for account creation |
| headers | object |
accounts_deleteDelete a specific account (only available for tenant admins at this time). This is a permanent operation that will delete any zones or other resources under the account
Confirm with the user before calling this tool. Are you sure? This action cannot be undone.
DELETE /accounts/{account_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
accounts_getGet information about a specific account that you are a member of.
GET /accounts/{account_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
accounts_listList all accounts you have ownership or verified access to.
GET /accounts| Parameter | Type | Description |
|---|---|---|
| query | object |
accounts_moveMove an account into a destination organization, either assigning a standalone account
to an organization or moving it between organizations in the same hierarchy. Availability
depends on the organization's capabilities.
POST /accounts/{account_id}/move| Parameter | Type | Description |
|---|---|---|
| body * | object | The destination organization ID is where the account is to be moved. |
| path * | object |
accounts_updateUpdate an existing account. Account names are limited to 65 UTF-8 bytes.
PUT /accounts/{account_id}| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
agentMemory_createNamespaceCreates a new memory namespace owned by the account.
This method is beta.
POST /accounts/{account_id}/agent-memory/namespaces| Parameter | Type | Description |
|---|---|---|
| body * | object | |
| path * | object |
agentMemory_deleteMemoryDeletes a memory by ID. Removes the memory and any source messages linked to it. Returns the deleted memory.
This method is beta.
Confirm with the user before calling this tool. This operation deletes the memory and any source messages linked to it.
DELETE /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/memories/{memory_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
agentMemory_deleteNamespaceDeletes a namespace.
This method is beta.
Confirm with the user before calling this tool. This operation deletes the namespace along with all memory profiles, memories, and sessions it contains.
DELETE /accounts/{account_id}/agent-memory/namespaces/{namespace_name}| Parameter | Type | Description |
|---|---|---|
| path * | object |
agentMemory_deleteProfileMarks a profile for deletion.
This method is beta.
Confirm with the user before calling this tool. This operation deletes the profile along with all of its memories and messages.
DELETE /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}| Parameter | Type | Description |
|---|---|---|
| path * | object |
agentMemory_deleteSessionMarks all memories and messages in a profile that are tagged with the given session ID for deletion.
This method is beta.
Confirm with the user before calling this tool. This operation deletes all memories and messages tagged with this session ID.
DELETE /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/sessions/{session_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
agentMemory_getMemoryRetrieves a memory by ID.
This method is beta.
GET /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/memories/{memory_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
agentMemory_getNamespaceGets a namespace by name.
This method is beta.
GET /accounts/{account_id}/agent-memory/namespaces/{namespace_name}| Parameter | Type | Description |
|---|---|---|
| path * | object |
agentMemory_ingestProcesses a conversation and extracts structured memories from it. Agent Memory identifies facts, events, instructions, and tasks automatically.
This method is beta.
POST /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/ingest| Parameter | Type | Description |
|---|---|---|
| body * | object | |
| path * | object |
agentMemory_listMemoriesList memories stored in a profile.
This method is beta.
GET /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/memories| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
agentMemory_listNamespacesLists all namespaces for the given account. Results are paginated.
This method is beta.
GET /accounts/{account_id}/agent-memory/namespaces| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
agentMemory_listProfilesLists the profiles of a namespace, ordered by name. A profile appears once it has been used.
This method is beta.
GET /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
agentMemory_recallRetrieves memories relevant to the query and returns a synthesized answer.
This method is beta.
POST /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/recall| Parameter | Type | Description |
|---|---|---|
| body * | object | |
| path * | object |
agentMemory_rememberStores a single memory explicitly.
This method is beta.
POST /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/remember| Parameter | Type | Description |
|---|---|---|
| body * | object | |
| path * | object |
agentMemory_summaryGenerates a paste-ready prompt block summarizing everything stored in a memory profile.
This method is beta.
POST /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/summary| Parameter | Type | Description |
|---|---|---|
| body * | object | |
| path * | object |
aiSecurity_getGet the current AI Security for Apps status for the zone. While enabled, Cloudflare scans prompts sent to endpoints labeled `cf-llm` for personally identifiable information, unsafe topics, and prompt injection attempts.
GET /zones/{zone_id}/ai-security/settings| Parameter | Type | Description |
|---|---|---|
| path * | object |
aiSecurity_updateUpdate the AI Security for Apps status for the zone, enabling or disabling the detection. The detection results are exposed as `cf.llm.prompt.*` fields for use in custom rules and rate limiting rules; changes can take up to a minute to propagate.
Confirm with the user before calling this tool. This operation toggles AI Security for Apps for a zone.
PUT /zones/{zone_id}/ai-security/settings| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
ai_getModelSchemaRetrieves the input and output JSON Schema definitions for an AI model. Use these definitions to determine the model-specific request fields and response format.
GET /accounts/{account_id}/ai/models/schema| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query * | object |
ai_listMarkdownSupportedFormatsLists the file extensions and MIME types accepted by Workers AI's Markdown conversion endpoint. Use this list to check whether a file can be converted before uploading it.
GET /accounts/{account_id}/ai/tomarkdown/supported| Parameter | Type | Description |
|---|---|---|
| path * | object |
ai_runRuns an AI model using a JSON body containing model, input, and optional options fields. Unlike the model-specific URL endpoint, this endpoint takes the model identifier in the body and nests the model's inputs under input.
Use options.extraHeaders to pass additional provider headers. Accepts Workers AI model identifiers and AI Gateway provider model identifiers.
See the [Workers AI model catalog](https://developers.cloudflare.com/workers-ai/models/) for Workers AI model inputs, or the provider's documentation for models accessed through AI Gateway.
POST /accounts/{account_id}/ai/run| Parameter | Type | Description |
|---|---|---|
| body | object | |
| path * | object |
ai_runModelRuns the Workers AI model specified in the URL path. Send the model's inputs directly in the request body, without a model/input/options wrapper.
Accepts model-specific JSON or binary input. The response format depends on the model and the requested output.
See the [model catalog](https://developers.cloudflare.com/workers-ai/models/) for supported models and their input formats.
POST /accounts/{account_id}/ai/run/{model_name}ai_toMarkdownConverts files uploaded as multipart form data into Markdown using Workers AI. Returns a conversion result for each file. Use the supported-formats endpoint to check accepted file types.
POST /accounts/{account_id}/ai/tomarkdown| Parameter | Type | Description |
|---|---|---|
| body | object | |
| path * | object |
ai_websearchRun a web search through a configured AI Gateway.
POST /accounts/{account_id}/ai/websearch| Parameter | Type | Description |
|---|---|---|
| body | object | |
| path * | object |
auditLogs_listGets a list of audit logs for an account. Can be filtered by who made the change, on which zone, and the timeframe of the change.
GET /accounts/{account_id}/audit_logs| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
basinCatalog_deleteRemoves the catalog from the control plane without deleting R2 bucket objects.
Set force=true to remove catalog namespaces, tables, views, and maintenance
metadata. Force deletion is limited to a configured catalog object count.
Confirm with the user before calling this tool. This removes catalog metadata. R2 bucket objects are retained.
POST /accounts/{account_id}/basin-catalog/{bucket_name}/delete| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
basinCatalog_disableDisable an R2 bucket as a catalog. This operation deactivates the catalog
but preserves existing metadata and data files. The catalog can be
re-enabled later.
Confirm with the user before calling this tool. This operation turns off the data catalog for the bucket. Existing namespace or table state remains, but writes stop.
POST /accounts/{account_id}/basin-catalog/{bucket_name}/disable| Parameter | Type | Description |
|---|---|---|
| path * | object |
basinCatalog_enableEnable an R2 bucket as an Apache Iceberg catalog. This operation creates
the necessary catalog infrastructure and activates the bucket for storing
Iceberg metadata and data files.
POST /accounts/{account_id}/basin-catalog/{bucket_name}/enable| Parameter | Type | Description |
|---|---|---|
| body | any | |
| path * | object |
basinCatalog_getRetrieve detailed information about a specific Basin Catalog by bucket name.
Returns catalog status, maintenance configuration, and credential status.
GET /accounts/{account_id}/basin-catalog/{bucket_name}| Parameter | Type | Description |
|---|---|---|
| path * | object |
basinCatalog_listReturns a list of R2 buckets that have been enabled as Apache Iceberg catalogs
for the specified account. Each catalog represents an R2 bucket configured
to store Iceberg metadata and data files.
GET /accounts/{account_id}/basin-catalog| Parameter | Type | Description |
|---|---|---|
| path * | object |
botManagement_getRetrieve a zone's Bot Management Config
GET /zones/{zone_id}/bot_management| Parameter | Type | Description |
|---|---|---|
| path * | object |
botManagement_updateUpdates the Bot Management configuration for a zone.
This API is used to update:
- **Bot Fight Mode**
- **Super Bot Fight Mode**
- **Bot Management for Enterprise**
See [Bot Plans](https://developers.cloudflare.com/bots/plans/) for more information on the different plans
\
If you recently upgraded or downgraded your plan, refer to the following examples to clean up old configurations.
Copy and paste the example body to remove old zone configurations based on your current plan.
#### Clean up configuration for Bot Fight Mode plan
```json
{
"sbfm_likely_automated": "allow",
"sbfm_definitely_automated": "allow",
"sbfm_verified_bots": "allow",
"sbfm_static_resource_protection": false,
"optimize_wordpress": false,
"suppress_session_score": false
}
```
#### Clean up configuration for SBFM Pro plan
```json
{
"sbfm_likely_automated": "allow",
"fight_mode": false
}
```
#### Clean up configuration for SBFM Biz plan
```json
{
"fight_mode": false
}
```
#### Clean up configuration for BM Enterprise Subscription plan
It is strongly recommended that you ensure you have [custom rules](https://developers.cloudflare.com/waf/custom-rules/) in place to protect your zone before disabling the SBFM rules. Without these protections, your zone is vulnerable to attacks.
```json
{
"sbfm_likely_automated": "allow",
"sbfm_definitely_automated": "allow",
"sbfm_verified_bots": "allow",
"sbfm_static_resource_protection": false,
"optimize_wordpress": false,
"fight_mode": false
}
```
PUT /zones/{zone_id}/bot_management| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
brandProtection_submitSubmit an image and find the n closest matches from the scanned images index without creating any match records. Returns similarity scores and metadata for each match.
POST /accounts/{account_id}/cloudforce-one/v2/brand-protection/logo/search| Parameter | Type | Description |
|---|---|---|
| body | object | |
| path * | object | |
| query | object |
brandProtection_urlInfoReturns the number of saved domain and logo queries in the account. This is the count checked against the account's Brand Protection query limit.
GET /accounts/{account_id}/cloudforce-one/v2/brand-protection/total-queries| Parameter | Type | Description |
|---|---|---|
| path * | object |
builds_cancelCancel a queued or running build.
PUT /accounts/{account_id}/builds/builds/{build_uuid}/cancel| Parameter | Type | Description |
|---|---|---|
| path * | object |
builds_createStart a production build for a branch or commit.
POST /accounts/{account_id}/builds/workers/{external_script_id}/builds| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
builds_getRetrieve status, outcome, timestamps, trigger settings, and source metadata for a build UUID.
GET /accounts/{account_id}/builds/builds/{build_uuid}| Parameter | Type | Description |
|---|---|---|
| path * | object |
builds_listList paginated build records associated with a Worker.
GET /accounts/{account_id}/builds/workers/{external_script_id}/builds| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
builds_logsRetrieve cursor-paginated log lines for a build UUID.
GET /accounts/{account_id}/builds/builds/{build_uuid}/logs| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
builds_retryStart a new build from the branch and commit of a stopped build.
POST /accounts/{account_id}/builds/workers/{script_tag}/builds/{build_uuid}/retry| Parameter | Type | Description |
|---|---|---|
| path * | object |
cache_invalidateMarks cached content as stale in every Cloudflare data center and cache tier, including Cache Reserve. The content stays in cache. The next request for it makes Cloudflare revalidate it with your origin, using the `ETag` and `Last-Modified` values it was cached with:
- If your origin answers `304 Not Modified`, Cloudflare serves the cached copy without downloading it again, and `CF-Cache-Status` is `REVALIDATED`.
- If your origin sends a full response, Cloudflare serves and caches the new content, and `CF-Cache-Status` is `EXPIRED`.
With Tiered Cache, each tier revalidates with the tier above it, so a visitor can see `EXPIRED` even when your origin answered `304`.
Until content is revalidated, your `stale-while-revalidate` and `stale-if-error` directives still apply, counted from the time you invalidated it. For example, if your origin fails during revalidation, Cloudflare can keep serving the stale copy for the `stale-if-error` window.
### Invalidate or purge?
- **Invalidate** when content may not have changed, for example after a deploy. Unchanged content costs your origin a `304` instead of a full response. That saving needs an origin that sends `ETag` or `Last-Modified` and answers conditional requests. Otherwise, every revalidation downloads the full response.
- **Purge**, with `POST /zones/{zone_id}/purge_cache`, when content must not be served again, for example content you removed for legal or security reasons.
Invalidating takes the same request bodies as purging, needs the same permission, and counts against the same rate limits. After a broad invalidation, such as `purge_everything`, expect more conditional requests to your origin while visitors request the invalidated content again.
### Choose what to invalidate
Send one of these fields in the request body:
- `files`: specific URLs. If your cache key includes request headers, send each URL with the header values it was cached with.
- `tags`: all content whose `Cache-Tag` response header contains one of the tags.
- `hosts`: all content cached for the hostnames.
- `prefixes`: all content whose URL starts with one of the prefixes.
- `purge_everything`: all cached content in the zone.
### Check the result
A `200` response with `success: true` means Cloudflare accepted the request. To check, request an invalidated URL and confirm that the `CF-Cache-Status` response header is `REVALIDATED` or `EXPIRED`.
### Availability and limits
Rate limits and the number of items you can send in one request depend on your plan. See [Purge cache: availability and limits](https://developers.cloudflare.com/cache/how-to/purge-cache/#availability-and-limits).
Confirm with the user before calling this tool. This operation marks the selected content in the zone's cache as stale.
POST /zones/{zone_id}/invalidate_cache| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
cache_invalidateEnvironmentMarks cached content as stale for one environment of the zone. Content cached for the zone's other environments, including production, is not affected. Otherwise this works like `POST /zones/{zone_id}/invalidate_cache`: the next request for invalidated content makes Cloudflare revalidate it with your origin, and the request body takes the same fields.
Environments are part of [Version Management](https://developers.cloudflare.com/version-management/). To delete the content instead, use `POST /zones/{zone_id}/environments/{environment_id}/purge_cache`.
Invalidating by URL (`files`) does not work for environments that select requests by IP address, country, ASN, or threat score, and fails with error `1136`. Use `tags`, `hosts`, `prefixes`, or `purge_everything` for those environments.
### Availability and limits
Rate limits and the number of items you can send in one request depend on your plan. See [Purge cache: availability and limits](https://developers.cloudflare.com/cache/how-to/purge-cache/#availability-and-limits).
Confirm with the user before calling this tool. This operation marks the selected content in the environment's cache as stale.
POST /zones/{zone_id}/environments/{environment_id}/invalidate_cache| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
cache_purgeDeletes cached content in every Cloudflare data center and cache tier, including Cache Reserve. The next request for purged content is a cache `MISS`: Cloudflare fetches the full response from your origin and caches it again. Cloudflare does not serve purged content from cache again, even if your origin is unavailable.
To keep content cached and have Cloudflare revalidate it with your origin instead, use `POST /zones/{zone_id}/invalidate_cache`.
### Choose what to purge
Send one of these fields in the request body:
- `files`: specific URLs. If your cache key includes request headers, send each URL with the header values it was cached with.
- `tags`: all content whose `Cache-Tag` response header contains one of the tags.
- `hosts`: all content cached for the hostnames.
- `prefixes`: all content whose URL starts with one of the prefixes.
- `purge_everything`: all cached content in the zone.
### Check the result
A `200` response with `success: true` means Cloudflare accepted the request. It does not confirm that any content was cached or removed. To check, request a purged URL and confirm that the `CF-Cache-Status` response header is `MISS`.
### Availability and limits
Rate limits and the number of items you can send in one request depend on your plan. See [Purge cache: availability and limits](https://developers.cloudflare.com/cache/how-to/purge-cache/#availability-and-limits).
Confirm with the user before calling this tool. This operation deletes the selected content from the zone's cache.
POST /zones/{zone_id}/purge_cache| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
cache_purgeEnvironmentDeletes cached content for one environment of the zone. Content cached for the zone's other environments, including production, is not affected. Otherwise this works like `POST /zones/{zone_id}/purge_cache`: the next request for purged content is a cache `MISS`, and the request body takes the same fields.
Environments are part of [Version Management](https://developers.cloudflare.com/version-management/). To keep content cached and have Cloudflare revalidate it instead, use `POST /zones/{zone_id}/environments/{environment_id}/invalidate_cache`.
Purging by URL (`files`) does not work for environments that select requests by IP address, country, ASN, or threat score, and fails with error `1136`. Use `tags`, `hosts`, `prefixes`, or `purge_everything` for those environments.
### Availability and limits
Rate limits and the number of items you can send in one request depend on your plan. See [Purge cache: availability and limits](https://developers.cloudflare.com/cache/how-to/purge-cache/#availability-and-limits).
Confirm with the user before calling this tool. This operation deletes the selected content from the environment's cache.
POST /zones/{zone_id}/environments/{environment_id}/purge_cache| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
connectorInterrupts_createCreates an interrupt for a Magic WAN Connector.
POST /accounts/{account_id}/magic/connectors/{connector_id}/interrupts| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
connectorInterrupts_listLists interrupts for a Magic WAN Connector.
GET /accounts/{account_id}/magic/connectors/{connector_id}/interrupts| Parameter | Type | Description |
|---|---|---|
| path * | object |
connectorTelemetryEvents_getGets Magic WAN Connector Telemetry Event
GET /accounts/{account_id}/magic/connectors/{connector_id}/telemetry/events/{event_t}.{event_n}| Parameter | Type | Description |
|---|---|---|
| path * | object |
connectorTelemetryEvents_listLists Magic WAN Connector Telemetry Events
GET /accounts/{account_id}/magic/connectors/{connector_id}/telemetry/events| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query * | object |
connectorTelemetrySnapshots_getGets Magic WAN Connector Telemetry Snapshot
GET /accounts/{account_id}/magic/connectors/{connector_id}/telemetry/snapshots/{snapshot_t}| Parameter | Type | Description |
|---|---|---|
| path * | object |
connectorTelemetrySnapshots_listLists Magic WAN Connector Telemetry Snapshots
GET /accounts/{account_id}/magic/connectors/{connector_id}/telemetry/snapshots| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query * | object |
connectors_createCreates a Magic WAN Connector.
POST /accounts/{account_id}/magic/connectors| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
connectors_deleteDeletes a Magic WAN Connector.
DELETE /accounts/{account_id}/magic/connectors/{connector_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
connectors_editEdits properties of a Magic WAN Connector. May be used to re-provision a license key.
PATCH /accounts/{account_id}/magic/connectors/{connector_id}| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
connectors_getGets a Magic WAN Connector.
GET /accounts/{account_id}/magic/connectors/{connector_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
connectors_listLists Magic WAN Connectors.
GET /accounts/{account_id}/magic/connectors| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
connectors_updateUpdates properties of a Magic WAN Connector. May be used to re-provision a license key.
PUT /accounts/{account_id}/magic/connectors/{connector_id}| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
containers_usageGet current live resource usage and maximum limits for your account. Usage includes active and assigned instances.
GET /accounts/{account_id}/containers/usage| Parameter | Type | Description |
|---|---|---|
| path * | object |
contentScan_getGet the current Content Scanning status for the zone, together with the date the status was last modified.
GET /zones/{zone_id}/content-upload-scan/settings| Parameter | Type | Description |
|---|---|---|
| path * | object |
contentScan_updateUpdate the Content Scanning status by setting the status value to `enabled` or `disabled`. This is equivalent to calling the dedicated enable and disable endpoints.
Confirm with the user before calling this tool. This operation toggles Content Scanning for a zone.
PUT /zones/{zone_id}/content-upload-scan/settings| Parameter | Type | Description |
|---|---|---|
| body * | object | Content Scanning settings to update. |
| path * | object |
cps_getRetrieve the communication preferences for the authenticated user, including email verification status, marketing subscription opt-in/opt-out state, and language locale. Callers authenticate with standard Cloudflare API tokens or keys.
GET /user/communication_preferencescps_updateSet one or more communication preferences for the authenticated user. Supply a map of preference keys to subscription states, and an optional language locale. This endpoint does not modify email verification settings. Callers authenticate with standard Cloudflare API tokens or keys.
PUT /user/communication_preferences| Parameter | Type | Description |
|---|---|---|
| body * | any |
csamScanner_editUpdate the CSAM Scanner configuration for a zone. Allows enabling or
disabling CSAM scanning, updating the notification email, and
configuring scanning sources.
This is a partial update: fields omitted from `value` keep their
current setting, and `sources` is merged per source (`null` clears
all sources). Send an empty `email` to clear the notification
address.
When a new email is provided, email verification is triggered
automatically. The `enabled` field is a toggle; the server may
adjust it based on whether the notification email is verified.
Returns 403 if the zone or account is locked by Trust & Safety.
PATCH /zones/{zone_id}/settings/csam_scanner_third_party| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
csamScanner_getRetrieve the current CSAM Scanner configuration for a zone.
The notification email is masked by default in responses.
GET /zones/{zone_id}/settings/csam_scanner_third_party| Parameter | Type | Description |
|---|---|---|
| path * | object |
customCsrs_createGenerate a new custom Certificate Signing Request (CSR) for an account or zone. Cloudflare generates and securely stores the private key associated with the CSR.
POST /{account_or_zone}/{account_or_zone_id}/custom_csrs| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
customCsrs_deleteDelete a custom Certificate Signing Request (CSR) and its associated private key.
DELETE /{account_or_zone}/{account_or_zone_id}/custom_csrs/{custom_csr_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
customCsrs_getRetrieve details for a specific custom Certificate Signing Request (CSR).
GET /{account_or_zone}/{account_or_zone_id}/custom_csrs/{custom_csr_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
customCsrs_listList all custom Certificate Signing Requests (CSRs) for an account or zone.
GET /{account_or_zone}/{account_or_zone_id}/custom_csrs| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
customHostnames_createAdd a new custom hostname and request that an SSL certificate be issued for it. One of three validation methods—http, txt, email—should be used, with 'http' recommended if the CNAME is already in place (or will be soon). Specifying 'email' will send an email to the WHOIS contacts on file for the base domain plus hostmaster, postmaster, webmaster, admin, administrator. If http is used and the domain is not already pointing to the Managed CNAME host, the PATCH method must be used once it is (to complete validation). Enable bundling of certificates using the custom_cert_bundle field. The bundling process requires the following condition One certificate in the bundle must use an RSA, and the other must use an ECDSA.
POST /zones/{zone_id}/custom_hostnames| Parameter | Type | Description |
|---|---|---|
| body * | object | |
| path * | object |
customHostnames_deletePermanently deletes a custom hostname and revokes any SSL certificates that were issued for it. This action cannot be undone.
DELETE /zones/{zone_id}/custom_hostnames/{custom_hostname_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
customHostnames_editModify SSL configuration for a custom hostname. When sent with SSL config that matches existing config, used to indicate that hostname should pass domain control validation (DCV). Can also be used to change validation type, e.g., from 'http' to 'email'. Bundle an existing certificate with another certificate by using the "custom_cert_bundle" field. The bundling process supports combining certificates as long as the following condition is met. One certificate must use the RSA algorithm, and the other must use the ECDSA algorithm.
PATCH /zones/{zone_id}/custom_hostnames/{custom_hostname_id}| Parameter | Type | Description |
|---|---|---|
| body * | object | |
| path * | object |
customHostnames_getRetrieves detailed information about a specific custom hostname, including SSL certificate status, ownership verification, and origin configuration.
GET /zones/{zone_id}/custom_hostnames/{custom_hostname_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
customHostnames_listList, search, sort, and filter all of your custom hostnames.
GET /zones/{zone_id}/custom_hostnames| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
customNameservers_createAdds a custom nameserver to the account or zone for use as a vanity nameserver on zones.
POST /{account_or_zone}/{account_or_zone_id}/custom_ns| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
customNameservers_deleteRemoves a custom nameserver from the account.
DELETE /accounts/{account_id}/custom_ns/{custom_ns_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
customNameservers_getList an account or zone's custom nameservers.
GET /{account_or_zone}/{account_or_zone_id}/custom_ns| Parameter | Type | Description |
|---|---|---|
| path * | object |
d1_createCreate a new D1 database in your account.
POST /accounts/{account_id}/d1/database| Parameter | Type | Description |
|---|---|---|
| body * | object | |
| path * | object |
d1_deleteDelete a D1 database.
Confirm with the user before calling this tool. This permanently deletes the D1 database and all of its data.
DELETE /accounts/{account_id}/d1/database/{database_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
d1_editPartially update a D1 database's configuration.
PATCH /accounts/{account_id}/d1/database/{database_id}| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
d1_getGet details for a specific D1 database.
GET /accounts/{account_id}/d1/database/{database_id}| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
d1_listList D1 databases in your account.
GET /accounts/{account_id}/d1/database| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
d1_queryExecute a SQL query against a D1 database and return results as objects.
POST /accounts/{account_id}/d1/database/{database_id}/query| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
d1_rawExecute a SQL query against a D1 database and return result rows as arrays rather than objects. This is a performance-optimized version of the /query endpoint.
POST /accounts/{account_id}/d1/database/{database_id}/raw| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
d1_undeleteRestore a deleted D1 database. The database is restored with the name it had when it was deleted,
unless `new_name` is provided. The restored database counts against the account's limits.
Undeleting a database that is not deleted succeeds without changes, unless `new_name` differs from its current name which errors.
A database can only be undeleted within 7 days (7 * 24 hours) of its deletion.
Once a database is undeleted, Time Travel (point-in-time recovery) cannot restore it to a bookmark or
timestamp at or before the undeletion. Only states after the undeletion can be restored.
Confirm with the user before calling this tool. After undeleting, Time Travel cannot restore the D1 database to a point in time at or before the undeletion.
POST /accounts/{account_id}/d1/database/{database_id}/undelete| Parameter | Type | Description |
|---|---|---|
| body | object | |
| path * | object |
dnsFirewall_createCreate a DNS Firewall cluster
POST /accounts/{account_id}/dns_firewall| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
dnsFirewall_deleteDelete a DNS Firewall cluster
DELETE /accounts/{account_id}/dns_firewall/{dns_firewall_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
dnsFirewall_editModify the configuration of a DNS Firewall cluster
PATCH /accounts/{account_id}/dns_firewall/{dns_firewall_id}| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
dnsFirewall_getShow a single DNS Firewall cluster for an account
GET /accounts/{account_id}/dns_firewall/{dns_firewall_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
dnsFirewall_listList DNS Firewall clusters for an account
GET /accounts/{account_id}/dns_firewall| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
dns_settings_account_nameserverSets_createCreates a named Custom Nameserver Set. Only the customer-defined name can be changed later. To change nameservers or addresses, create a new set, move any zone assignments, and delete the old set. For details, refer to [Nameserver sets](https://developers.cloudflare.com/dns/nameservers/custom-nameservers/nameserver-sets/).
This method is beta.
POST /accounts/{account_id}/dns_settings/nameserver_sets| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
dns_settings_account_nameserverSets_deleteDeletes an unassigned Custom Nameserver Set. For details, refer to [Nameserver sets](https://developers.cloudflare.com/dns/nameservers/custom-nameservers/nameserver-sets/).
This method is beta.
DELETE /accounts/{account_id}/dns_settings/nameserver_sets/{nameserver_set_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
dns_settings_account_nameserverSets_editRenames a Custom Nameserver Set owned by the account. Only name may be supplied; immutable and unknown fields are rejected even if unchanged. An empty object or the existing name is a successful no-op. Requires the account-scoped creation entitlements for the existing set.
This method is beta.
PATCH /accounts/{account_id}/dns_settings/nameserver_sets/{nameserver_set_id}| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
dns_settings_account_nameserverSets_getGets a Custom Nameserver Set owned by an account. For details, refer to [Nameserver sets](https://developers.cloudflare.com/dns/nameservers/custom-nameservers/nameserver-sets/).
This method is beta.
GET /accounts/{account_id}/dns_settings/nameserver_sets/{nameserver_set_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
dns_settings_account_nameserverSets_listLists an account's Custom Nameserver Sets. For details, refer to [Nameserver sets](https://developers.cloudflare.com/dns/nameservers/custom-nameservers/nameserver-sets/).
This method is beta.
GET /accounts/{account_id}/dns_settings/nameserver_sets| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
docsSearch Cloudflare developer documentationemailRouting_disableDisable your Email Routing zone. Also removes additional MX records previously required for Email Routing to work.
Confirm with the user before calling this tool. This operation disables Email Routing and removes its DNS records.
DELETE /zones/{zone_id}/email/routing/dns| Parameter | Type | Description |
|---|---|---|
| body | any | |
| path * | object |
emailRouting_enableEnable your Email Routing zone. Add and lock the necessary MX and SPF records.
POST /zones/{zone_id}/email/routing/dns| Parameter | Type | Description |
|---|---|---|
| body | any | |
| path * | object |
emailSending_getReturns the raw RFC 5322 MIME message for the given account and message id.
GET /accounts/{account_id}/email/sending/messages/{message_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
emailSending_sendSend an email for the specified account using the structured builder. Provide the sender, recipients, subject, and at least one of text or html; attachments are optional.
POST /accounts/{account_id}/email/sending/send| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
emailSending_sendRawSend a raw RFC 5322 (MIME) email for the specified account. Provide the full MIME message plus the SMTP envelope (from and recipients).
POST /accounts/{account_id}/email/sending/send_raw| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
executeWrite JavaScript to call `cloudflare.request()` with the discovered endpointsfieldExtractors_deleteDeletes all custom extraction rules for an extractor type.
This method is alpha.
DELETE /accounts/{account_id}/field_extractors/{extractor}| Parameter | Type | Description |
|---|---|---|
| path * | object |
fieldExtractors_getRetrieves the custom extraction rules configured for a given extractor type.
This method is alpha.
GET /accounts/{account_id}/field_extractors/{extractor}| Parameter | Type | Description |
|---|---|---|
| path * | object |
fieldExtractors_updateReplaces all custom extraction rules for an extractor type. Omitted rules are deleted.
This method is alpha.
PUT /accounts/{account_id}/field_extractors/{extractor}| Parameter | Type | Description |
|---|---|---|
| body | object | Desired-state replacement of all rules for this extractor type. |
| path * | object |
fraud_getRetrieve Fraud Detection settings for a zone.
GET /zones/{zone_id}/fraud_detection/settings| Parameter | Type | Description |
|---|---|---|
| path * | object |
fraud_updateUpdate Fraud Detection settings for a zone.
Notes on `username_expressions` behavior:
- If omitted or set to null, expressions are not modified.
- If provided as an empty array `[]`, all expressions will be cleared.
PUT /zones/{zone_id}/fraud_detection/settings| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
healthchecks_createCreate a new health check.
POST /zones/{zone_id}/healthchecks| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
healthchecks_deleteDelete a health check.
DELETE /zones/{zone_id}/healthchecks/{healthcheck_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
healthchecks_editPatch a configured health check.
PATCH /zones/{zone_id}/healthchecks/{healthcheck_id}| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
healthchecks_getFetch a single configured health check.
GET /zones/{zone_id}/healthchecks/{healthcheck_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
healthchecks_listList configured health checks.
GET /zones/{zone_id}/healthchecks| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
healthchecks_updateUpdate a configured health check.
PUT /zones/{zone_id}/healthchecks/{healthcheck_id}| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
hyperdrive_createCreates and returns a new Hyperdrive configuration. For a PlanetScale integration, the Cloudflare account must already be linked to PlanetScale in the Hyperdrive dashboard.
POST /accounts/{account_id}/hyperdrive/configs| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
hyperdrive_deleteDeletes the specified Hyperdrive.
Confirm with the user before calling this tool. This operation deletes an existing Hyperdrive configuration.
DELETE /accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
hyperdrive_editUpdates and returns the specified fields of the Hyperdrive configuration. Custom caching settings are not kept if caching is disabled. For an integration-backed configuration, the integration association is preserved but cannot be changed; omit the integration field.
PATCH /accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
hyperdrive_getReturns the specified Hyperdrive configuration.
GET /accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
hyperdrive_listReturns a list of Hyperdrives.
GET /accounts/{account_id}/hyperdrive/configs| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
hyperdrive_replaceReplaces and returns the specified Hyperdrive configuration. The request must include the name and complete origin connection details. Omitted caching settings are reset to their defaults, while omitted mTLS settings and origin connection limits are preserved. The integration association is set only during creation and cannot be changed; omit the integration field even when replacing an integration-backed configuration. Use the update operation to modify only selected fields.
PUT /accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
hyperdrive_restartRestarts the connection pool for the specified Hyperdrive configuration without changing its configuration. Existing connections are drained and a new pool is established at the edge.
POST /accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}/restart| Parameter | Type | Description |
|---|---|---|
| path * | object |
images_createUpload an image to CF Images. Images up to 10 Megabytes can be uploaded using a
single HTTP POST (multipart/form-data) request by sending an image file or
passing a URL accessible to the API.
POST /accounts/{account_id}/images/v1| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
images_deleteDelete an image on Cloudflare Images. On success, all copies of the image are deleted and purged from cache.
Confirm with the user before calling this tool. This operation will delete this image.
DELETE /accounts/{account_id}/images/v1/{image_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
images_directUploadDirect uploads allow users to upload images without API keys. A common use case are web apps, client-side applications, or mobile devices where users upload content directly to Cloudflare Images. This method creates a draft record for a future image. It returns an upload URL and an image identifier. To verify if the image itself has been uploaded, send an image details request (accounts/:account_identifier/images/v1/:identifier), and check that the `draft: true` property is not present.
POST /accounts/{account_id}/images/v2/direct_upload| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
images_editUpdate a CF Images image's metadata, creator, or access control. On access control change, all copies of the image are purged from cache.
PATCH /accounts/{account_id}/images/v1/{image_id}| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
images_getFetch details for a CF Images image.
GET /accounts/{account_id}/images/v1/{image_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
images_getBlobDownload an image from CF Images. For most images this will be the originally uploaded file. For larger images it can be a near-lossless version of the original.
GET /accounts/{account_id}/images/v1/{image_id}/blob| Parameter | Type | Description |
|---|---|---|
| path * | object |
images_listList up to 10000 images from CF Images, with up to 1000 results per page. Use the optional parameters below to get a specific range of images.
Pagination is supported via continuation_token.
**Metadata Filtering (Optional):**
You can optionally filter images by custom metadata fields using the `meta.<field>[<operator>]=<value>` syntax.
**Supported Operators:**
- `eq` / `eq:string` / `eq:number` / `eq:boolean` - Exact match
- `gt` / `gt:number` - Greater than (number only)
- `gte` / `gte:number` - Greater than or equal (number only)
- `lt` / `lt:number` - Less than (number only)
- `lte` / `lte:number` - Less than or equal (number only)
- `in` / `in:string` / `in:number` - Match any value in list (pipe-separated)
**Metadata Filter Constraints:**
- Maximum 5 metadata filters per request
- Maximum 5 levels of nesting (e.g., `meta.first.second.third.fourth.fifth`)
- Maximum 10 elements for list operators (`in`)
- Supports string, number, and boolean value types
- Range operators (`gt`, `gte`, `lt`, `lte`) only accept numeric values
**Filter Consistency:**
Filters are combined with AND logic. The system does not validate whether filter combinations are logically consistent. For example, `meta.priority[eq:number]=5&meta.priority[lte:number]=3` will return zero results because no value can satisfy both conditions simultaneously. It is the caller's responsibility to ensure filter combinations make sense.
**Examples:**
```
# List all images
/images/v2
# Filter by metadata [eq]
/images/v2?meta.status[eq:string]=active
# Filter by metadata [in]
/images/v2?meta.status[in]=pending|deleted|flagged
# Filter by metadata [in:number]
/images/v2?meta.ratings[in:number]=4|5
# Filter by metadata range [gte:number]
/images/v2?meta.priority[gte:number]=1
# Filter by bounded range
/images/v2?meta.priority[gte:number]=1&meta.priority[lte:number]=5
# Filter by nested metadata
/images/v2?meta.region.name[eq]=eu-west
# Combine metadata filters with creator
/images/v2?meta.status[eq]=active&creator=user123
# Multiple metadata filters (AND logic)
/images/v2?meta.status[eq]=active&meta.priority[eq:number]=5
```
GET /accounts/{account_id}/images/v2| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
images_statsFetch image statistics details for Cloudflare Images. The returned statistics detail storage usage, including the current image count vs this account's allowance.
GET /accounts/{account_id}/images/v1/stats| Parameter | Type | Description |
|---|---|---|
| path * | object |
ips_listGet IPs used on the Cloudflare/JD Cloud network, see https://www.cloudflare.com/ips for Cloudflare IPs or https://developers.cloudflare.com/china-network/reference/infrastructure/ for JD Cloud IPs.
GET /ips| Parameter | Type | Description |
|---|---|---|
| query | object |
leakedCredentialChecks_getGet the current Leaked Credential Checks status for the zone. While enabled, Cloudflare scans incoming requests for usernames and passwords that were exposed in known data breaches.
GET /zones/{zone_id}/leaked-credential-checks| Parameter | Type | Description |
|---|---|---|
| path * | object |
leakedCredentialChecks_updateUpdate the Leaked Credential Checks status for the zone, enabling or disabling the detection. While enabled, the detection populates the `cf.waf.credential_check.*` fields, which you can reference in custom rules and rate limiting rules to challenge or block requests carrying compromised credentials.
Confirm with the user before calling this tool. This operation toggles Leaked Credential Checks for a zone.
POST /zones/{zone_id}/leaked-credential-checks| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
logs_queryRun a SQL query against account or zone-level datasets.
Timestamp fields are RFC3339 strings. Filter with:
WHERE {timestamp_field} >= now() - INTERVAL '30' DAY
WHERE {timestamp_field} >= '2026-04-01T00:00:00Z'
WHERE {timestamp_field} BETWEEN '2026-04-01T00:00:00Z' AND '2026-04-30T23:59:59Z'
List configured account or zone datasets to see enabled account or zone-level datasets.
Zone-level datasets will not appear here.
List available account or zone datasets to inspect their schemas and timestamp fields.
For more information about the datasets, and the meaning of each field, check out https://developers.cloudflare.com/logs/logpush/logpush-job/datasets/
POST /{account_or_zone}/{account_or_zone_id}/logs/explorer/query/sql| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
managedTransforms_deleteDisables all Managed Transforms.
DELETE /zones/{zone_id}/managed_headers| Parameter | Type | Description |
|---|---|---|
| path * | object |
managedTransforms_listFetches a list of all Managed Transforms.
GET /zones/{zone_id}/managed_headers| Parameter | Type | Description |
|---|---|---|
| path * | object |
managedTransforms_updateUpdates the status of one or more Managed Transforms.
PATCH /zones/{zone_id}/managed_headers| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
mcp_servers_createCreates a new MCP server for connecting to an upstream MCP endpoint.
This method is beta.
POST /accounts/{account_id}/access/ai-controls/mcp/servers| Parameter | Type | Description |
|---|---|---|
| body | object | |
| path * | object |
mcp_servers_deleteDeletes an MCP server from the account.
This method is beta.
Confirm with the user before calling this tool. This operation permanently deletes the MCP server, removes it from every portal, and deletes its stored OAuth secrets.
DELETE /accounts/{account_id}/access/ai-controls/mcp/servers/{id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
mcp_servers_listLists all MCP servers configured for the account.
This method is beta.
GET /accounts/{account_id}/access/ai-controls/mcp/servers| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
mcp_servers_readRetrieves an MCP server's configuration and capability sync state.
This method is beta.
GET /accounts/{account_id}/access/ai-controls/mcp/servers/{id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
mcp_servers_syncSyncs an MCP server's capabilities and returns the updated server state, including any connection errors.
This method is beta.
POST /accounts/{account_id}/access/ai-controls/mcp/servers/{id}/sync| Parameter | Type | Description |
|---|---|---|
| path * | object |
mcp_servers_toolCallAnalyticsReturns daily or monthly tool-call counts for a server.
This method is beta.
GET /accounts/{account_id}/access/ai-controls/mcp/analytics/servers/{server_id}/tool-calls/timeseries| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
mcp_servers_updateUpdates an MCP server's configuration and credentials.
This method is beta.
PUT /accounts/{account_id}/access/ai-controls/mcp/servers/{id}| Parameter | Type | Description |
|---|---|---|
| body | object | |
| path * | object |
nelSettingsEditUpdates the Network Error Logging (NEL) setting for a zone. Requires the NEL product feature to be enabled for the zone. The setting controls whether browsers report network errors to Cloudflare's NEL endpoint.
PATCH /zones/{zone_id}/settings/nel| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
nelSettingsGetFetches the Network Error Logging (NEL) setting for a zone. NEL allows browsers to report network errors to a configured endpoint. The setting is enabled by default for free and pro zones, and disabled by default for business and enterprise zones unless the NEL product feature is enabled.
GET /zones/{zone_id}/settings/nel| Parameter | Type | Description |
|---|---|---|
| path * | object |
o11y_usageEvent counts and sizes broken down by dataset and service, bucketed by day, for up to 90 days. The top-level events field is the sum of all breakdown counts.
GET /accounts/{account_id}/workers/observability/usage| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query * | object |
organizations_createCreate a new organization for a user. Sub-organization creation availability depends on
the organization's capabilities. The optional `profile` object accepts partial profile
details; its individual fields are not required. Organization names are limited to 65
UTF-8 bytes. Each profile field is limited to 1,000 UTF-8 bytes, and a non-empty business
email must be valid. At least one of business name, address, phone, or email must be
non-empty to persist a profile.
POST /organizations| Parameter | Type | Description |
|---|---|---|
| body * | any |
organizations_deleteDelete an organization. It must not contain active sub-organizations or accounts. A root
organization must also have no active managed users. Sub-organization deletion availability
depends on the organization's capabilities.
**Access Control:** Root deletion is restricted to enterprise organizations.
Confirm with the user before calling this tool. Delete this empty organization? This action cannot be undone.
DELETE /organizations/{organization_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
organizations_getRetrieve the details of a certain organization.
GET /organizations/{organization_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
organizations_listRetrieve a list of organizations a particular user has access to. At most one of
`containing.account`, `containing.user`, or `containing.organization` may be provided.
GET /organizations| Parameter | Type | Description |
|---|---|---|
| query | object |
organizations_updateUpdate an organization's name. Supplying `parent_id` verifies the current parent; this
endpoint cannot move an organization. Organization names are limited to 65 UTF-8 bytes.
PUT /organizations/{organization_id}| Parameter | Type | Description |
|---|---|---|
| body * | any | The Organization fields to update or verify. |
| path * | object |
pageRules_createCreates a new Page Rule.
POST /zones/{zone_id}/pagerules| Parameter | Type | Description |
|---|---|---|
| body * | object | |
| path * | object |
pageRules_deleteDeletes an existing Page Rule.
DELETE /zones/{zone_id}/pagerules/{pagerule_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
pageRules_editUpdates one or more fields of an existing Page Rule.
PATCH /zones/{zone_id}/pagerules/{pagerule_id}| Parameter | Type | Description |
|---|---|---|
| body * | object | |
| path * | object |
pageRules_getFetches the details of a Page Rule.
GET /zones/{zone_id}/pagerules/{pagerule_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
pageRules_listFetches Page Rules in a zone.
GET /zones/{zone_id}/pagerules| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
pageRules_updateReplaces the configuration of an existing Page Rule. The configuration of the updated Page Rule will exactly match the data passed in the API request.
PUT /zones/{zone_id}/pagerules/{pagerule_id}| Parameter | Type | Description |
|---|---|---|
| body * | object | |
| path * | object |
pages_createCreate a Cloudflare Pages project for configuring and deploying a site or application.
POST /accounts/{account_id}/pages/projects| Parameter | Type | Description |
|---|---|---|
| body * | object | |
| path * | object |
pages_deletePermanently delete a Cloudflare Pages project and its deployments.
DELETE /accounts/{account_id}/pages/projects/{project_name}| Parameter | Type | Description |
|---|---|---|
| path * | object |
pages_editUpdate the build, deployment, source, or environment settings for a Cloudflare Pages project. To delete an environment variable, set its key to `null`.
PATCH /accounts/{account_id}/pages/projects/{project_name}| Parameter | Type | Description |
|---|---|---|
| body * | object | |
| path * | object |
pages_getRetrieve the configuration and deployment settings for a Cloudflare Pages project.
GET /accounts/{account_id}/pages/projects/{project_name}| Parameter | Type | Description |
|---|---|---|
| path * | object |
pages_listList the Cloudflare Pages projects in an account.
GET /accounts/{account_id}/pages/projects| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
pipelines_createCreate a new Pipeline.
POST /accounts/{account_id}/pipelines/v1/pipelines| Parameter | Type | Description |
|---|---|---|
| body | object | |
| path * | object |
pipelines_deleteDelete Pipeline in Account.
DELETE /accounts/{account_id}/pipelines/v1/pipelines/{pipeline_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
pipelines_getGet Pipeline details.
GET /accounts/{account_id}/pipelines/v1/pipelines/{pipeline_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
pipelines_listList/Filter Pipelines in Account.
GET /accounts/{account_id}/pipelines/v1/pipelines| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
pipelines_updateTablesMove a Pipeline to the latest version of every stream and sink it uses, such as after updating a Sink. A running Pipeline restarts on the latest versions from a final checkpoint; a paused or stopped Pipeline uses them once it starts.
POST /accounts/{account_id}/pipelines/v1/pipelines/{pipeline_id}/update_tables| Parameter | Type | Description |
|---|---|---|
| path * | object |
pipelines_validateSqlValidates that the Pipelines SQL is correct.
POST /accounts/{account_id}/pipelines/v1/validate_sql| Parameter | Type | Description |
|---|---|---|
| body | object | |
| path * | object |
precursor_getRetrieve a zone's Precursor configuration: the detection `mode`,
whether to `show_interstitial`, and the ordered list of `rules`.
This method is beta.
GET /zones/{zone_id}/precursor| Parameter | Type | Description |
|---|---|---|
| headers * | object | |
| path * | object |
precursor_updateUpdates the Precursor configuration for a zone.
`mode` controls whether Precursor detection is off, monitoring, or
armed. `show_interstitial` controls the zone-level response when armed.
`rules` is the ordered list of overrides for matching requests.
This is a partial update: only the fields present in the request body
are changed.
- Sending an empty array (`[]`) clears all rules.
- At least one of `mode`, `show_interstitial`, or `rules` must be
present; an empty body (`{}`) is rejected with `400`.
- Rule `id` is read-only (assigned by Cloudflare) and ignored on input.
- Rule `show_interstitial` is required and controls the response for
requests that match that rule.
- Rule `expression` is limited to 4000 characters. The limit applies to
each rule individually, not to the combined size of all rules.
This method is beta.
PUT /zones/{zone_id}/precursor| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| headers * | object | |
| path * | object |
previews_deleteDelete a Preview.
This method is beta.
Confirm with the user before calling this tool. This operation permanently deletes the Preview.
DELETE /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
queues_createCreates a Queue in the account.
POST /accounts/{account_id}/queues| Parameter | Type | Description |
|---|---|---|
| body | object | |
| path * | object |
queues_deleteDeletes a Queue.
DELETE /accounts/{account_id}/queues/{queue_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
queues_editUpdates part of a Queue's configuration.
PATCH /accounts/{account_id}/queues/{queue_id}| Parameter | Type | Description |
|---|---|---|
| body | any | |
| path * | object |
queues_getReturns details about a specific Queue.
GET /accounts/{account_id}/queues/{queue_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
queues_listReturns the queues owned by an account.
GET /accounts/{account_id}/queues| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
resourceSharing_createCreates a share that makes a resource available to specific accounts in the caller's organization, or to the whole organization.
POST /accounts/{account_id}/shares| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
resourceSharing_deleteDeletion is not immediate, an updated share object with a new status will be returned.
Confirm with the user before calling this tool. Are you sure? This action cannot be undone.
DELETE /accounts/{account_id}/shares/{share_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
resourceSharing_getFetches share by ID.
GET /accounts/{account_id}/shares/{share_id}| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
resourceSharing_listLists all account shares.
GET /accounts/{account_id}/shares| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
resourceSharing_updateUpdates the share's display name and tags. Omitting `tags` leaves the
existing tags unchanged. Recipients and resources are managed via their
subresource endpoints.
PUT /accounts/{account_id}/shares/{share_id}| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
rulesets_createCreates a ruleset.
POST /{account_or_zone}/{account_or_zone_id}/rulesets| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object | |
| query | object |
rulesets_deleteDeletes all versions of an existing account or zone ruleset.
DELETE /{account_or_zone}/{account_or_zone_id}/rulesets/{ruleset_id}| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
rulesets_getFetches the latest version of an account or zone ruleset.
GET /{account_or_zone}/{account_or_zone_id}/rulesets/{ruleset_id}| Parameter | Type | Description |
|---|---|---|
| path * | object |
rulesets_listFetches all rulesets.
GET /{account_or_zone}/{account_or_zone_id}/rulesets| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
rulesets_updateUpdates an account or zone ruleset, creating a new version.
PUT /{account_or_zone}/{account_or_zone_id}/rulesets/{ruleset_id}| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object | |
| query | object |
searchWrite JavaScript to query `spec.paths` and find endpointssecurityInsights_classifyUpdates the user classification for a Security Center insight. Valid values are 'false_positive' or 'accept_risk'. To reset, set classification to null. Cannot change directly between classification values - must reset to null first.
PATCH /{account_or_zone}/{account_or_zone_id}/security-center/insights/{issue_id}/classification| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
securityInsights_dismissArchives a Security Center insight for an account or zone, removing it from the active insights list while preserving historical data.
PUT /{account_or_zone}/{account_or_zone_id}/security-center/insights/{issue_id}/dismiss| Parameter | Type | Description |
|---|---|---|
| body * | object | |
| path * | object |
securityInsights_listLists all Security Center insights for the account or zone, showing security findings and recommendations.
GET /{account_or_zone}/{account_or_zone_id}/security-center/insights| Parameter | Type | Description |
|---|---|---|
| path * | object | |
| query | object |
securityTxt_deleteRemoves the security.txt file configuration for a zone. The /.well-known/security.txt endpoint will no longer be served.
DELETE /zones/{zone_id}/security-center/securitytxt| Parameter | Type | Description |
|---|---|---|
| path * | object |
securityTxt_getRetrieves the current security.txt file configuration for a zone, used for security vulnerability reporting.
GET /zones/{zone_id}/security-center/securitytxt| Parameter | Type | Description |
|---|---|---|
| path * | object |
securityTxt_updateUpdates the security.txt file configuration for a zone, which provides security researchers with vulnerability reporting information.
PUT /zones/{zone_id}/security-center/securitytxt| Parameter | Type | Description |
|---|---|---|
| body * | any | |
| path * | object |
smartShield_getRetrieve Smart Shield Settings.
GET /zones/{zone_id}/smart_shield| Parameter | Type | Description |
|---|---|---|
| path * | object |
The first 200 of 223 tools, in name order.
Security checks
Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.3K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 2.2K source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- Streamable HTTPsrc/mcp-handler.ts:69
- Starts other programs
- 1 callvitest.config.ts:9
- Outbound network calls
- 13 callssrc/auth/cloudflare-auth.ts:145, src/auth/cloudflare-auth.ts:179, src/events/service.ts:99
- Writes or deletes files
- No file writes or deletes
- Lockfile
- package-lock.json
Pattern matches on the source text of 2161 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 1.3K words, fetched 4 days ago. The original in the repository is authoritative.
Read full README