Skip to main content
Glama
PCWProps

Pressable MCP Server

by PCWProps

pressable_get_php_error_logs

Retrieve PHP error logs for WordPress sites to identify and resolve issues affecting site functionality.

Instructions

Get PHP error logs for a site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Implementation Reference

  • Handler function for the 'pressable_get_php_error_logs' tool which makes an API call to fetch PHP error logs.
    handler: async (args) => {
        return await api.get(`/sites/${args.id}/php-error-logs`);
    }
  • tools/server.js:16-27 (registration)
    Tool registration and definition for 'pressable_get_php_error_logs'.
    {
        name: 'pressable_get_php_error_logs',
        description: 'Get PHP error logs for a site.',
        inputSchema: {
            type: 'object',
            properties: { id: { type: 'string' } },
            required: ['id']
        },
        handler: async (args) => {
            return await api.get(`/sites/${args.id}/php-error-logs`);
        }
    },
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