Compatible with every major AI agent and IDE
What is the PubNub (Real-time Messaging) MCP Server?
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
- Subscribe to this server
- Enter your PubNub Subscribe Key, Publish Key, and UUID
- 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.
Built-in capabilities (31)
Create a new PubNub app (Admin API)
Get usage metrics (Admin API)
List all PubNub apps (Admin API)
List all keysets (Admin API)
Delete a file from a channel
Delete message history for channels
Generate a file upload URL
Get all channels (App Context)
Get all users (App Context)
Get a specific channel (App Context)
Get a file URL
Get memberships for a user (App Context)
Get message count for channels
Get message history for channels
Get a specific user (App Context)
List files in a channel
Grant a PAM v3 token
Revoke a PAM v3 token
Get presence state for a user in a channel
Send presence heartbeat
Get current channel occupancy (Here Now)
Leave a channel (Presence)
Set presence state for a user in a channel
Get channels a user is in (Where Now)
Publish a message to a channel
Manage or list push notification channels for a device (APNS v2)
Remove all push notification channels for a device (APNS v2)
Remove a user (App Context)
Set or update a channel (App Context)
Set or update memberships for a user (App Context)
Set or update a user (App Context)
Why AutoGen?
AutoGen enables multi-agent conversations where agents negotiate, delegate, and collaboratively use PubNub (Real-time Messaging) tools. Connect 31 tools through Vinkius and assign role-based access. a data analyst queries while a reviewer validates, with optional human-in-the-loop approval for sensitive operations.
- —
Multi-agent conversations: multiple AutoGen agents discuss, delegate, and collaboratively use PubNub (Real-time Messaging) tools to solve complex tasks
- —
Role-based architecture lets you assign PubNub (Real-time Messaging) tool access to specific agents. a data analyst queries while a reviewer validates
- —
Human-in-the-loop support: agents can pause for human approval before executing sensitive PubNub (Real-time Messaging) tool calls
- —
Code execution sandbox: AutoGen agents can write and run code that processes PubNub (Real-time Messaging) tool responses in an isolated environment
PubNub (Real-time Messaging) in AutoGen
PubNub (Real-time Messaging) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect PubNub (Real-time Messaging) to AutoGen through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for PubNub (Real-time Messaging) in AutoGen
The PubNub (Real-time Messaging) 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. All 31 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in AutoGen only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* 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
How Vinkius secures
PubNub (Real-time Messaging) for AutoGen
Every tool call from AutoGen to the PubNub (Real-time Messaging) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
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.
How does AutoGen connect to MCP servers?
Create an MCP tool adapter and assign it to one or more agents in the group chat. AutoGen agents can then call PubNub (Real-time Messaging) tools during their conversation turns.
Can different agents have different MCP tool access?
Yes. AutoGen's role-based architecture lets you assign specific MCP tools to specific agents, so a querying agent has different capabilities than a reviewing agent.
Does AutoGen support human approval for tool calls?
Yes. Configure human-in-the-loop mode so agents pause and request approval before executing sensitive MCP tool calls.
McpWorkbench not found
Install: pip install "autogen-ext[mcp]"
Explore More MCP Servers
View all →
COR
13 toolsOptimize creative agency profitability with project tracking, resource allocation, and real-time margin analysis for every job.

MailerSend
10 toolsSend transactional emails and manage domains via the MailerSend REST API.

Avalara AvaTax
4 toolsManage sales tax — audit transactions, addresses, and codes via AI.

Handlebars Template Compiler
1 toolsStop LLM string replacement hallucinations. Compile dynamic Handlebars templates perfectly for Martech emails and payloads.
