Skip to main content
Glama
PCWProps

Pressable MCP Server

by PCWProps

pressable_disable_site

Disable a specific WordPress site by ID or name to temporarily take it offline or prepare for maintenance using the Pressable API.

Instructions

Disable a specific site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe site ID or name

Implementation Reference

  • The 'pressable_disable_site' tool is defined as an object within the 'siteTools' array in 'tools/sites.js'. The 'handler' property contains the asynchronous function that sends a POST request to the '/sites/${args.id}/disable' endpoint using the 'api' helper.
        name: 'pressable_disable_site',
        description: 'Disable a specific site.',
        inputSchema: {
            type: 'object',
            properties: {
                id: { type: 'string', description: 'The site ID or name' }
            },
            required: ['id']
        },
        handler: async (args) => {
            return await api.post(`/sites/${args.id}/disable`);
        }
    },
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