4,000+ servers built on vurb.ts
Vinkius
PubNub (Real-time Messaging)

PubNub (Real-time Messaging) MCP Server with 31 Tools for Claude, Cursor, and AI Agents

MCP Inspector GDPR Free for Subscribers

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.

Built for AI Agents by Vinkius

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
AI AgentVinkius
High Security·Kill Switch·Plug and Play
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

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)

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

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

CursorClaudeOpenAIVS CodeCopilotGoogleLovableMistralAWSCursorClaudeOpenAIVS CodeCopilotGoogleLovableMistralAWS

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.

Explore Tools Hub
admin

Admin create app on PubNub (Real-time Messaging)

Create a new PubNub app (Admin API)

admin

Admin get metrics on PubNub (Real-time Messaging)

Get usage metrics (Admin API)

admin

Admin list apps on PubNub (Real-time Messaging)

List all PubNub apps (Admin API)

admin

Admin list keysets on PubNub (Real-time Messaging)

List all keysets (Admin API)

delete

Delete file on PubNub (Real-time Messaging)

Delete a file from a channel

delete

Delete message history on PubNub (Real-time Messaging)

Delete message history for channels

generate

Generate file upload url on PubNub (Real-time Messaging)

Generate a file upload URL

get

Get all channels on PubNub (Real-time Messaging)

Get all channels (App Context)

get

Get all users on PubNub (Real-time Messaging)

Get all users (App Context)

get

Get channel on PubNub (Real-time Messaging)

Get a specific channel (App Context)

get

Get file url on PubNub (Real-time Messaging)

Get a file URL

get

Get memberships on PubNub (Real-time Messaging)

Get memberships for a user (App Context)

get

Get message count on PubNub (Real-time Messaging)

Get message count for channels

get

Get message history on PubNub (Real-time Messaging)

Get message history for channels

get

Get user on PubNub (Real-time Messaging)

Get a specific user (App Context)

list

List files on PubNub (Real-time Messaging)

List files in a channel

pam

Pam grant token on PubNub (Real-time Messaging)

Grant a PAM v3 token

pam

Pam revoke token on PubNub (Real-time Messaging)

Revoke a PAM v3 token

presence

Presence get state on PubNub (Real-time Messaging)

Get presence state for a user in a channel

presence

Presence heartbeat on PubNub (Real-time Messaging)

Send presence heartbeat

presence

Presence here now on PubNub (Real-time Messaging)

Get current channel occupancy (Here Now)

presence

Presence leave on PubNub (Real-time Messaging)

Leave a channel (Presence)

presence

Presence set state on PubNub (Real-time Messaging)

Set presence state for a user in a channel

presence

Presence where now on PubNub (Real-time Messaging)

Get channels a user is in (Where Now)

publish

Publish message on PubNub (Real-time Messaging)

Publish a message to a channel

push

Push manage on PubNub (Real-time Messaging)

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

push

Push remove all on PubNub (Real-time Messaging)

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

remove

Remove user on PubNub (Real-time Messaging)

Remove a user (App Context)

set

Set channel on PubNub (Real-time Messaging)

Set or update a channel (App Context)

set

Set memberships on PubNub (Real-time Messaging)

Set or update memberships for a user (App Context)

set

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.

Vinkius AI Gateway

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.

How it works
Infrastructure

Hosted, sandboxed, and live on AWS. You don't provision anything. You don't maintain anything. You connect.

Visibility

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.

Control

Eight governance layers on every request. Sensitive data redacted before it reaches the model. Kill switch if anything goes sideways. Always on.