Skip to main content
Glama
PCWProps

Pressable MCP Server

by PCWProps

pressable_list_themes

Retrieve available WordPress themes for a specific Pressable site to manage site appearance and functionality.

Instructions

Get a list of themes for a specific site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Implementation Reference

  • The handler for pressable_list_themes that calls the API to get themes for a site.
    handler: async (args) => {
        return await api.get(`/sites/${args.id}/themes`);
    }
  • Input schema for pressable_list_themes tool.
    inputSchema: {
        type: 'object',
        properties: { id: { type: 'string' } },
        required: ['id']
    },
  • tools/content.js:31-42 (registration)
    Registration of the pressable_list_themes tool within the contentTools array.
    {
        name: 'pressable_list_themes',
        description: 'Get a list of themes for a specific site.',
        inputSchema: {
            type: 'object',
            properties: { id: { type: 'string' } },
            required: ['id']
        },
        handler: async (args) => {
            return await api.get(`/sites/${args.id}/themes`);
        }
    },
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