Skip to main content
Glama
PCWProps

Pressable MCP Server

by PCWProps

pressable_create_on_demand_backup

Create on-demand backups for WordPress sites to protect filesystem or database data from loss or corruption.

Instructions

Create an on-demand backup of a site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
typeYes

Implementation Reference

  • The handler function that executes the POST request to create an on-demand backup.
    handler: async (args) => {
        return await api.post(`/sites/${args.id}/on-demand-backups`, { type: args.type });
    }
  • The input schema defining the required 'id' and 'type' arguments for the tool.
    inputSchema: {
        type: 'object',
        properties: {
            id: { type: 'string' },
            type: { type: 'string', enum: ['filesystem', 'database'] }
        },
        required: ['id', 'type']
    },
  • tools/backups.js:16-30 (registration)
    The tool registration block for 'pressable_create_on_demand_backup'.
    {
        name: 'pressable_create_on_demand_backup',
        description: 'Create an on-demand backup of a site.',
        inputSchema: {
            type: 'object',
            properties: {
                id: { type: 'string' },
                type: { type: 'string', enum: ['filesystem', 'database'] }
            },
            required: ['id', 'type']
        },
        handler: async (args) => {
            return await api.post(`/sites/${args.id}/on-demand-backups`, { type: args.type });
        }
    },
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