Skip to main content
Glama

pubnub_app_context

Manage user profiles, channel metadata, and membership relationships in PubNub applications. Perform CRUD operations like get, set, remove, and getAll to handle App Context objects efficiently.

Instructions

Manages PubNub App Context (Objects API) for users, channels, and memberships. Supports CRUD operations including get, set, remove, and getAll. Use this tool to manage user profiles, channel metadata, and membership relationships in your PubNub application.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoData object for set/remove operations. For users: {name, externalId, profileUrl, email, custom}. For channels: {name, description, custom}. For memberships: {channels: [...]}
idYesIdentifier: UUID for users, channel name for channels, UUID for memberships (for membership getAll, use channel name to get channel members)
operationYesOperation to perform: "get" to retrieve, "set" to create/update, "remove" to delete, "getAll" to list all
optionsNoOptional parameters for the operation
typeYesType of App Context object: "user" for user metadata, "channel" for channel metadata, "membership" for user-channel relationships

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

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