Skip to content

bjornfix/mcp-abilities-cloudflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

MCP Abilities - Cloudflare

Cloudflare cache management for WordPress via MCP.

GitHub release License: GPL v2

Tested up to: 6.9 Stable tag: 1.0.3 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html

What It Does

This add-on plugin exposes Cloudflare cache management through MCP (Model Context Protocol). Tell your AI assistant "clear the Cloudflare cache" and it happens instantly.

Part of the MCP Expose Abilities ecosystem.

This is one piece of a bigger open WordPress automation stack that lets AI agents handle real site operations instead of stopping at advice.

Why This Is Cool

Cloudflare cache work is small, important, and annoyingly repetitive. That makes it a perfect example of what this ecosystem is good at.

Instead of logging into multiple dashboards and doing the same purge or debug routine by hand, you can tell the agent what changed and let it take care of the cache step too.

Documentation

Requirements

Installation

  1. Install the required plugins (Abilities API, MCP Adapter, Cloudflare)
  2. Download the latest release from Releases
  3. Upload via WordPress Admin > Plugins > Add New > Upload Plugin
  4. Activate the plugin

Abilities (4)

Ability Description
cloudflare/clear-cache Purge entire Cloudflare cache or specific URLs
cloudflare/get-zone Get active Cloudflare zone details
cloudflare/get-development-mode Read current Cloudflare Development Mode status
cloudflare/set-development-mode Enable or disable Cloudflare Development Mode

Usage Examples

Clear entire cache

{
  "ability_name": "cloudflare/clear-cache",
  "parameters": {
    "purge_everything": true
  }
}

Clear specific URLs

{
  "ability_name": "cloudflare/clear-cache",
  "parameters": {
    "purge_everything": false,
    "files": [
      "https://example.com/page-1/",
      "https://example.com/page-2/"
    ]
  }
}

Changelog

1.0.3

  • Fixed: Removed hard plugin header dependency on abilities-api to avoid slug-mismatch activation blocking

1.0.2

  • Improve zone ID lookup caching and API header reuse

1.0.1

  • Added: Stored zone_id optimization

1.0.0

  • Initial release

License

GPL-2.0+

Author

Devenia - We've been doing SEO and web development since 1993.

Free and Open

Like the rest of the ecosystem, this add-on is free to use, completely open, and built to be reused.

Star and Share

If this add-on helps, please star the repo, share the ecosystem, and point people to the main wiki:

Links

About

MCP Abilities Cloudflare - Add-on for mcp-expose-abilities WordPress plugin

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages