Skip to main content
Glama
PCWProps

Pressable MCP Server

by PCWProps

pressable_add_collaborator

Add a collaborator to a WordPress site by specifying the site ID and collaborator email address.

Instructions

Add a collaborator to a site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_idYes
emailYes

Implementation Reference

  • The handler function for 'pressable_add_collaborator' which calls the API to add a collaborator to a site.
    handler: async (args) => {
        return await api.post(`/sites/${args.site_id}/collaborators`, { email: args.email });
    }
  • The input schema for 'pressable_add_collaborator' defining site_id and email as required arguments.
    inputSchema: {
        type: 'object',
        properties: {
            site_id: { type: 'string' },
            email: { type: 'string' }
        },
        required: ['site_id', 'email']
    },
  • The registration block for the 'pressable_add_collaborator' tool.
        {
            name: 'pressable_add_collaborator',
            description: 'Add a collaborator to a site.',
            inputSchema: {
                type: 'object',
                properties: {
                    site_id: { type: 'string' },
                    email: { type: 'string' }
                },
                required: ['site_id', 'email']
            },
            handler: async (args) => {
                return await api.post(`/sites/${args.site_id}/collaborators`, { email: args.email });
            }
        }
    ];
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