Skip to main content
Glama
PCWProps

Pressable MCP Server

by PCWProps

pressable_convert_site

Convert WordPress sites between staging and live environments or to DupliKit/Sandbox configurations using the Pressable API.

Instructions

Convert a site between staging and live, or to DupliKit/Sandbox.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
target_typeYes

Implementation Reference

  • The handler logic for 'pressable_convert_site' which sends a POST request to the conversion endpoint.
    handler: async (args) => {
        const endpoint = `/sites/${args.id}/convert-${args.target_type}`;
        return await api.post(endpoint);
    }
  • The input schema definition for 'pressable_convert_site'.
    inputSchema: {
        type: 'object',
        properties: {
            id: { type: 'string' },
            target_type: { type: 'string', enum: ['staging', 'live', 'duplikit', 'sandbox'] }
        },
        required: ['id', 'target_type']
    },
  • tools/sites.js:94-108 (registration)
    The registration block for the 'pressable_convert_site' tool.
        name: 'pressable_convert_site',
        description: 'Convert a site between staging and live, or to DupliKit/Sandbox.',
        inputSchema: {
            type: 'object',
            properties: {
                id: { type: 'string' },
                target_type: { type: 'string', enum: ['staging', 'live', 'duplikit', 'sandbox'] }
            },
            required: ['id', 'target_type']
        },
        handler: async (args) => {
            const endpoint = `/sites/${args.id}/convert-${args.target_type}`;
            return await api.post(endpoint);
        }
    },
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