Skip to main content
Glama

Cloudflare MCP Server

by ry-ops

purge_cache

Clear Cloudflare's cache for a zone to remove outdated content. Purge all cached files or target specific URLs, tags, and hosts to ensure visitors see updated website content.

Instructions

Purge Cloudflare's cache for a zone. Can purge everything or specific files/tags/hosts.

Input Schema

NameRequiredDescriptionDefault
zone_idYesThe zone ID
purge_everythingNoPurge all cached content (use cautiously!)
filesNoArray of URLs to purge
tagsNoArray of cache tags to purge
hostsNoArray of hosts to purge

Input Schema (JSON Schema)

{ "properties": { "files": { "description": "Array of URLs to purge", "items": { "type": "string" }, "type": "array" }, "hosts": { "description": "Array of hosts to purge", "items": { "type": "string" }, "type": "array" }, "purge_everything": { "description": "Purge all cached content (use cautiously!)", "type": "boolean" }, "tags": { "description": "Array of cache tags to purge", "items": { "type": "string" }, "type": "array" }, "zone_id": { "description": "The zone ID", "type": "string" } }, "required": [ "zone_id" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ry-ops/cloudflare-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server