Skip to main content
Glama
PCWProps

Pressable MCP Server

by PCWProps

pressable_list_security_alerts

Retrieve security alerts for plugins and themes across WordPress sites to monitor vulnerabilities and maintain site protection.

Instructions

Get security alerts for plugins and themes across all sites.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoType of alerts to retrieve

Implementation Reference

  • The handler function for 'pressable_list_security_alerts' which fetches security alerts from the API.
    handler: async (args) => {
        const type = args.type || 'plugin';
        return await api.get(`/security-alerts/${type}s`);
    }
  • Input schema validation for 'pressable_list_security_alerts'.
    inputSchema: {
        type: 'object',
        properties: {
            type: { type: 'string', enum: ['plugin', 'theme'], description: 'Type of alerts to retrieve' }
        }
    },
  • tools/security.js:4-17 (registration)
    Registration of the 'pressable_list_security_alerts' tool.
    {
        name: 'pressable_list_security_alerts',
        description: 'Get security alerts for plugins and themes across all sites.',
        inputSchema: {
            type: 'object',
            properties: {
                type: { type: 'string', enum: ['plugin', 'theme'], description: 'Type of alerts to retrieve' }
            }
        },
        handler: async (args) => {
            const type = args.type || 'plugin';
            return await api.get(`/security-alerts/${type}s`);
        }
    }
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