# Cloudflare MCP

> Connects to Cloudflare via Scalekit MCP to execute commands and search resources.

**URL:** https://caywork.com/learn/docs/node/cloudfaremcp-node

## Content

The **Cloudflare MCP Node** integrates securely with Cloudflare through the Scalekit MCP gateway. It enables your AI agent to execute commands and search across Cloudflare resources.

## Parameters

### Required Parameters
* **action** (string): The target Cloudflare MCP tool action to run. Must be one of the enabled actions:
  * `cloudfaremcp_execute`: Execute a Cloudflare command or operation.
  * `cloudfaremcp_search`: Search Cloudflare resources.

### Optional Parameters
* **params** (object): A key-value dictionary containing action-specific inputs (e.g., `{'zone_id': '...', 'command': '...'}`).

## Practical Use Cases
1. **Infrastructure automation**: Execute Cloudflare API commands to manage zones, DNS records, firewall rules, and workers directly from an agent workflow.
2. **Resource discovery**: Search Cloudflare accounts and zones to find configuration details and surface them during triage or reporting.