Skip to main content
Glama

PubNub MCP Server

by pubnub

get_pubnub_presence

Retrieve real-time presence data for PubNub channels or groups to monitor active users, occupancy counts, and subscriber UUIDs. Input channel or group names to receive JSON-formatted presence information.

Instructions

Retrieves real-time presence information for specified PubNub channels and channel groups. Call this tool when you need to monitor active users, occupancy counts, and subscriber UUIDs. Provide channel names and/or channel group names. Returns presence data in JSON format.

Input Schema

NameRequiredDescriptionDefault
channelGroupsNoList of channel group names (strings) to query presence data for
channelsNoList of channel names (strings) to query presence data for

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "channelGroups": { "default": [], "description": "List of channel group names (strings) to query presence data for", "items": { "type": "string" }, "type": "array" }, "channels": { "default": [], "description": "List of channel names (strings) to query presence data for", "items": { "type": "string" }, "type": "array" } }, "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