Skip to main content
Glama
PCWProps

Pressable MCP Server

by PCWProps

pressable_purge_edge_cache

Clear cached content from edge servers for a WordPress site to ensure visitors see the most recent version of your pages.

Instructions

Purge the edge cache for a specific site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesSite ID or name

Implementation Reference

  • The handler function that executes the purge edge cache operation by calling the API.
    handler: async (args) => {
        return await api.post(`/sites/${args.id}/edge-cache/purge`);
    }
  • Input schema definition for the pressable_purge_edge_cache tool.
    inputSchema: {
        type: 'object',
        properties: { id: { type: 'string', description: 'Site ID or name' } },
        required: ['id']
    },
  • tools/cache.js:16-27 (registration)
    The registration object for the pressable_purge_edge_cache tool.
    {
        name: 'pressable_purge_edge_cache',
        description: 'Purge the edge cache for a specific site.',
        inputSchema: {
            type: 'object',
            properties: { id: { type: 'string', description: 'Site ID or name' } },
            required: ['id']
        },
        handler: async (args) => {
            return await api.post(`/sites/${args.id}/edge-cache/purge`);
        }
    },
Install Server

Other Tools

Latest Blog Posts

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/PCWProps/pressable-mcp-server'

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