PubNub (Real-time Messaging) MCP Server with 31 Tools for Claude, Cursor, and AI Agents
Enable real-time messaging, presence tracking, and message history for your AI agent using PubNub's global data stream network. Vinkius routes your AI agents directly to PubNub (Real-time Messaging) through a governed connection. 31 tools ready to use with Claude, ChatGPT, Cursor, or any AI agent — no hosting, no setup, connect in 30 seconds.
Ask AI about this server
Compatible with every major AI agent and IDE

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
What is the PubNub MCP Server?
The PubNub MCP Server routes AI agents like Claude, ChatGPT, and Cursor directly to PubNub via 31 tools. Enable real-time messaging, presence tracking, and message history for your AI agent using PubNub's global data stream network. Powered by Vinkius — your credentials stay on your side of the connection, every request is auditable. Connect in under 2 minutes.
Built-in capabilities (31)
Tools for your AI Agents to operate PubNub
Ask your AI agent "Publish a message to the 'alerts' channel saying 'System update scheduled for midnight'." and get the answer without opening a single dashboard. With 31 tools connected to real PubNub data, your agents reason over live information, cross-reference it with other MCP servers, and deliver insights you would spend hours assembling manually.
Works with Claude, ChatGPT, Cursor, and any MCP-compatible client. Powered by Vinkius — your credentials never touch the AI model, every request is auditable. Connect in under two minutes.
Why teams choose Vinkius
One subscription gives you the infrastructure to connect your AI agents to thousands of MCP servers — and deploy your own to the Vinkius Edge. Your credentials stay yours. Your data flows directly between your agent and the API. DLP blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade routing and governance, zero maintenance.
Build your own MCP Server with our secure development framework →The PubNub (Real-time Messaging) App Connector works with every AI agent you already use
…and any MCP-compatible client


















Use all 31 PubNub (Real-time Messaging) tools with your AI agents right now
Vinkius routes your AI agents to PubNub (Real-time Messaging) through a governed proxy. Beyond a simple connection, you get full visibility into every action your agents perform, with enterprise-grade security and up to 60% savings on AI costs.
Admin create app on PubNub (Real-time Messaging)
Create a new PubNub app (Admin API)
Admin get metrics on PubNub (Real-time Messaging)
Get usage metrics (Admin API)
Admin list apps on PubNub (Real-time Messaging)
List all PubNub apps (Admin API)
Admin list keysets on PubNub (Real-time Messaging)
List all keysets (Admin API)
Delete file on PubNub (Real-time Messaging)
Delete a file from a channel
Delete message history on PubNub (Real-time Messaging)
Delete message history for channels
Generate file upload url on PubNub (Real-time Messaging)
Generate a file upload URL
Get all channels on PubNub (Real-time Messaging)
Get all channels (App Context)
Get all users on PubNub (Real-time Messaging)
Get all users (App Context)
Get channel on PubNub (Real-time Messaging)
Get a specific channel (App Context)
Get file url on PubNub (Real-time Messaging)
Get a file URL
Get memberships on PubNub (Real-time Messaging)
Get memberships for a user (App Context)
Get message count on PubNub (Real-time Messaging)
Get message count for channels
Get message history on PubNub (Real-time Messaging)
Get message history for channels
Get user on PubNub (Real-time Messaging)
Get a specific user (App Context)
List files on PubNub (Real-time Messaging)
List files in a channel
Pam grant token on PubNub (Real-time Messaging)
Grant a PAM v3 token
Pam revoke token on PubNub (Real-time Messaging)
Revoke a PAM v3 token
Presence get state on PubNub (Real-time Messaging)
Get presence state for a user in a channel
Presence heartbeat on PubNub (Real-time Messaging)
Send presence heartbeat
Presence here now on PubNub (Real-time Messaging)
Get current channel occupancy (Here Now)
Presence leave on PubNub (Real-time Messaging)
Leave a channel (Presence)
Presence set state on PubNub (Real-time Messaging)
Set presence state for a user in a channel
Presence where now on PubNub (Real-time Messaging)
Get channels a user is in (Where Now)
Publish message on PubNub (Real-time Messaging)
Publish a message to a channel
Push manage on PubNub (Real-time Messaging)
Manage or list push notification channels for a device (APNS v2)
Push remove all on PubNub (Real-time Messaging)
Remove all push notification channels for a device (APNS v2)
Remove user on PubNub (Real-time Messaging)
Remove a user (App Context)
Set channel on PubNub (Real-time Messaging)
Set or update a channel (App Context)
Set memberships on PubNub (Real-time Messaging)
Set or update memberships for a user (App Context)
Set user on PubNub (Real-time Messaging)
Set or update a user (App Context)
What the PubNub (Real-time Messaging) MCP Server unlocks
Connect your PubNub account to any AI agent to orchestrate real-time communication, monitor user presence, and manage data streams through natural language.
What you can do
- Real-time Messaging — Publish JSON payloads to any channel and retrieve historical message logs with precise timetokens.
- Presence Monitoring — Track who is online (
here_now), see which channels a user is in (where_now), and manage custom presence states. - User & Channel Metadata — Manage App Context by creating and retrieving user profiles, channel metadata, and memberships.
- Message Management — Count messages sent after specific timestamps or purge history for compliance and storage management.
- File Sharing — Generate upload URLs and manage files stored within the PubNub network.
- Admin & Push — Monitor keyset metrics, manage applications, and configure mobile push notifications (APNS/FCM).
How it works
1. Subscribe to this server
2. Enter your PubNub Subscribe Key, Publish Key, and UUID
3. Start streaming data and managing real-time interactions from your MCP-compatible client
Who is this for?
- IoT Developers — Monitor device heartbeats and send control commands via real-time channels.
- Support Teams — Inspect chat history and user presence to provide better live assistance.
- System Architects — Audit channel metadata and monitor keyset metrics directly from the AI interface.
Frequently asked questions about the PubNub (Real-time Messaging) MCP Server
How can I check if a specific user is currently online in a channel?
You can use the presence_here_now tool to see a list of all active UUIDs in a specific channel, or presence_where_now to find all channels a specific UUID is currently subscribed to.
Can the AI retrieve past messages from a channel?
Yes, the get_message_history tool allows the agent to fetch historical messages from one or more channels, including metadata and specific time ranges.
Is it possible to manage user profiles and metadata through this server?
Absolutely. You can use set_user to create or update profiles and get_user to retrieve them. You can also manage channel metadata using set_channel and get_channel.
More in this category

Telegram Bot Notifier
1 toolsThis MCP does exactly one thing: it sends messages to your Telegram chats. That's its only function, and nothing else. Incredible for giving your AI agents a voice on mobile.

Daily.co
50 toolsManage video calls and WebRTC infrastructure via Daily.co — create rooms, track participants, and control meeting sessions directly from your AI.

Mercado Livre Interactions
5 toolsAnswer buyer questions, check reputation, and view metrics on Mercado Livre.

Beekeeper
10 toolsEmpower your frontline workforce via Beekeeper — manage users, streams, posts, and messages directly from any AI agent.
You might also like
TrackingTime
12 toolsTrack how your team spends time across projects and clients with timesheets, reports, and budgeting tools that keep work profitable.

NinjaCat
10 toolsManage marketing reporting and advertisers via NinjaCat — track reports, data sources, and campaigns directly from your AI agent.

Box
7 toolsManage files, folders, collaborations, and metadata on Box — the enterprise cloud content management platform.

BugBug
12 toolsTest your web application automatically with no-code browser tests that catch regressions before your users do.
We built the connector to PubNub (Real-time Messaging). Now put your agents to work. Fully governed.
Vinkius is the AI Gateway with managed hosting. Stop building connectors. Every connection runs inside eight layers of security.
Hosted, sandboxed, and live on AWS. You don't provision anything. You don't maintain anything. You connect.
Every tool call, every token, every response. Logged and auditable. Data flows direct from PubNub (Real-time Messaging) to your agent. Nothing is stored on our side. Ever.
Eight governance layers on every request. Sensitive data redacted before it reaches the model. Kill switch if anything goes sideways. Always on.
