Skip to main content
Glama

PubNub MCP Server

by pubnub

publish_pubnub_message

Send data to a specified PubNub channel by providing the channel name and message payload. Returns a timetoken confirming successful message publication.

Instructions

Publishes a message to a specified PubNub channel. Call this tool whenever you need to send data through PubNub. Provide the channel name and message payload. Returns a timetoken confirming successful publication.

Input Schema

NameRequiredDescriptionDefault
channelYesName of the PubNub channel (string) to publish the message to
messageYesMessage payload as a string

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "channel": { "description": "Name of the PubNub channel (string) to publish the message to", "type": "string" }, "message": { "description": "Message payload as a string", "type": "string" } }, "required": [ "channel", "message" ], "type": "object" }

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/pubnub/pubnub-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server