4,000+ servers built on vurb.ts
Vinkius
OpenAI Agents SDKSDK
OpenAI Agents SDK
PubNub (Real-time Messaging) MCP Server

Bring Real Time Sync
to OpenAI Agents SDK

Learn how to connect PubNub (Real-time Messaging) to OpenAI Agents SDK and start using 31 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.

MCP Inspector GDPR Free for Subscribers
Admin Create AppAdmin Get MetricsAdmin List AppsAdmin List KeysetsDelete FileDelete Message HistoryGenerate File Upload UrlGet All ChannelsGet All UsersGet ChannelGet File UrlGet MembershipsGet Message CountGet Message HistoryGet UserList FilesPam Grant TokenPam Revoke TokenPresence Get StatePresence HeartbeatPresence Here NowPresence LeavePresence Set StatePresence Where NowPublish MessagePush ManagePush Remove AllRemove UserSet ChannelSet MembershipsSet User

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
PubNub (Real-time Messaging)

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

  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.

Built-in capabilities (31)

admin_create_app

Create a new PubNub app (Admin API)

admin_get_metrics

Get usage metrics (Admin API)

admin_list_apps

List all PubNub apps (Admin API)

admin_list_keysets

List all keysets (Admin API)

delete_file

Delete a file from a channel

delete_message_history

Delete message history for channels

generate_file_upload_url

Generate a file upload URL

get_all_channels

Get all channels (App Context)

get_all_users

Get all users (App Context)

get_channel

Get a specific channel (App Context)

get_file_url

Get a file URL

get_memberships

Get memberships for a user (App Context)

get_message_count

Get message count for channels

get_message_history

Get message history for channels

get_user

Get a specific user (App Context)

list_files

List files in a channel

pam_grant_token

Grant a PAM v3 token

pam_revoke_token

Revoke a PAM v3 token

presence_get_state

Get presence state for a user in a channel

presence_heartbeat

Send presence heartbeat

presence_here_now

Get current channel occupancy (Here Now)

presence_leave

Leave a channel (Presence)

presence_set_state

Set presence state for a user in a channel

presence_where_now

Get channels a user is in (Where Now)

publish_message

Publish a message to a channel

push_manage

Manage or list push notification channels for a device (APNS v2)

push_remove_all

Remove all push notification channels for a device (APNS v2)

remove_user

Remove a user (App Context)

set_channel

Set or update a channel (App Context)

set_memberships

Set or update memberships for a user (App Context)

set_user

Set or update a user (App Context)

Why OpenAI Agents SDK?

The OpenAI Agents SDK auto-discovers all 31 tools from PubNub (Real-time Messaging) through native MCP integration. Build agents with built-in guardrails, tracing, and handoff patterns. chain multiple agents where one queries PubNub (Real-time Messaging), another analyzes results, and a third generates reports, all orchestrated through Vinkius.

  • Native MCP integration via MCPServerSse, pass the URL and the SDK auto-discovers all tools with full type safety

  • Built-in guardrails, tracing, and handoff patterns let you build production-grade agents without reinventing safety infrastructure

  • Lightweight and composable: chain multiple agents and MCP servers in a single pipeline with minimal boilerplate

  • First-party OpenAI support ensures optimal compatibility with GPT models for tool calling and structured output

O
See it in action

PubNub (Real-time Messaging) in OpenAI Agents SDK

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Why Vinkius

PubNub (Real-time Messaging) and 4,000+ other MCP servers. One platform. One governance layer.

Teams that connect PubNub (Real-time Messaging) to OpenAI Agents SDK 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.

4,000+MCP Servers ready
<40msCold start
60%Token savings
Raw MCP
Vinkius
Server catalogFind and host yourself4,000+ managed
InfrastructureSelf-hostedSandboxed V8 isolates
Credential handlingPlaintext in configVault + runtime injection
Data loss preventionNoneConfigurable DLP policies
Kill switchNoneGlobal instant shutdown
Financial circuit breakersNonePer-server limits + alerts
Audit trailNoneEd25519 signed logs
SIEM log streamingNoneSplunk, Datadog, Webhook
HoneytokensNoneCanary alerts on leak
Custom domainsNot applicableDNS challenge verified
GDPR complianceManual effortAutomated purge + export
Enterprise Security

Why teams choose Vinkius for PubNub (Real-time Messaging) in OpenAI Agents SDK

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 OpenAI Agents SDK 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.

PubNub (Real-time Messaging)
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* 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

The Vinkius Advantage

How Vinkius secures PubNub (Real-time Messaging) for OpenAI Agents SDK

Every tool call from OpenAI Agents SDK 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.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

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.

02

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.

03

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.

04

How does the OpenAI Agents SDK connect to MCP?

Use MCPServerSse(url=...) to create a server connection. The SDK auto-discovers all tools and makes them available to your agent with full type information.

05

Can I use multiple MCP servers in one agent?

Yes. Pass a list of MCPServerSse instances to the agent constructor. The agent can use tools from all connected servers within a single run.

06

Does the SDK support streaming responses?

Yes. The SDK supports SSE and Streamable HTTP transports, both of which work natively with Vinkius.

07

MCPServerStreamableHttp not found

Ensure you have the latest version: pip install --upgrade openai-agents

08

Agent not calling tools

Make sure your prompt explicitly references the task the tools can help with.

Explore More MCP Servers

View all →