webrix full-logo black
Cloudflare

Cloudflare

Local MCP
Official Cloudflare MCP server for managing your Cloudflare account via natural language.
🛠Tools2
Last Updated12 Hours ago
Categoryall
Webrix
Install with Webrix
Claude
Enterprise-grade security
SSO & authentication ready
Full governance & audit logs
OR
Tools

Tools

(2)
search

search

execute

execute

Execute JavaScript code against the Cloudflare API. First use the 'search' tool to find the right endpoints, then write code using the cloudflare.request() function. Available in your code: interface CloudflareRequestOptions { method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE"; path: string; query?: Record<string, string | number | boolean | undefined>; body?: unknown; contentType?: string; // Custom Content-Type header (defaults to application/json if body is present) rawBody?: boolean; // If true, sends body as-is without JSON.stringify } interface CloudflareResponse<T = unknown> { success: boolean; status: number; result: T; errors: Array<{ code: number; message: string }>; messages: Array<{ code: number; message: string }>; result_info?: { page: number; per_page: number; total_pages: number; count: number; total_count: number; }; } declare const cloudflare: { request<T = unknown>(options: CloudflareRequestOptions): Promise<CloudflareResponse<T>>; }; declare const accountId: string; // accountId is pre-set to "5b3ee81d1cf50af4305b32ae08461275" ([email protected]'s Account) — use it directly in API paths. Your code must be an async arrow function that returns the result. Example: Worker with bindings (requires multipart/form-data): async () => { const code = `addEventListener('fetch', e => e.respondWith(MY_KV.get('key').then(v => new Response(v || 'none'))));`; const metadata = { body_part: "script", bindings: [{ type: "kv_namespace", name: "MY_KV", namespace_id: "your-kv-id" }] }; const b = `--F${Date.now()}`; const body = [`--${b}`, 'Content-Disposition: form-data; name="metadata"', 'Content-Type: application/json', '', JSON.stringify(metadata), `--${b}`, 'Content-Disposition: form-data; name="script"', 'Content-Type: application/javascript', '', code, `--${b}--`].join("\r\n"); return cloudflare.request({ method: "PUT", path: `/accounts/${accountId}/workers/scripts/my-worker`, body, contentType: `multipart/form-data; boundary=${b}`, rawBody: true }); }

Customize Tools

Edit descriptions, modify arguments, select tools, or add new ones

Supercharge This MCP with Webrix

Customize tools to fit your workflows, apply guardrails for governance, reduce token consumption with smart routing, and get complete audit visibility—all through a secure, enterprise-ready gateway.

webrix full-logo black

Join IT leaders deploying AI at enterprise scale with security, compliance, and governance built in.

Get a Demo