Skip to main content
Glama
PCWProps

Pressable MCP Server

by PCWProps

pressable_install_plugin

Install and activate WordPress plugins on Pressable sites using the plugin slug from WordPress.org to extend site functionality.

Instructions

Install and activate a plugin on a site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
plugin_slugYesSlug of the plugin from WP.org

Implementation Reference

  • Handler for pressable_install_plugin, which performs a POST request to install a plugin.
    handler: async (args) => {
        return await api.post(`/sites/${args.id}/plugins`, { plugins: [args.plugin_slug] });
    }
  • Input schema for pressable_install_plugin tool.
    inputSchema: {
        type: 'object',
        properties: {
            id: { type: 'string' },
            plugin_slug: { type: 'string', description: 'Slug of the plugin from WP.org' }
        },
        required: ['id', 'plugin_slug']
    },
  • tools/content.js:16-30 (registration)
    Registration of pressable_install_plugin within the tools array.
    {
        name: 'pressable_install_plugin',
        description: 'Install and activate a plugin on a site.',
        inputSchema: {
            type: 'object',
            properties: {
                id: { type: 'string' },
                plugin_slug: { type: 'string', description: 'Slug of the plugin from WP.org' }
            },
            required: ['id', 'plugin_slug']
        },
        handler: async (args) => {
            return await api.post(`/sites/${args.id}/plugins`, { plugins: [args.plugin_slug] });
        }
    },
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