
Connect Pubnub Real Time Messaging to ChatGPT and Claude
Set it up once and it works in ChatGPT, Claude, Cursor, and any other client you love. It all runs safely in the background, so you can relax and focus on what really matters. Give your AI agent direct control over live messaging and presence.
Developed, maintained, and hosted by Vinkius.
MCP VERIFIED · PRODUCTION READY · VINKIUS GUARANTEED
Waiting for input…
Works with modern AI clients that support MCP, including ChatGPT, Claude, Cursor, and more.
Your AI does the work. We keep it safe and sound.
No other AI tool gives you this. Your workflow runs in the client you already love, your account stays protected, and you decide what the agent can and cannot do. It is the whole reason to make the switch.
Each Connector lives inside our infrastructure, the same place where your workflow runs. The three things below are already part of it, working quietly in the background so you never have to think about them. Nothing to add, nothing to set up, nothing to worry about.

Each Connector runs inside its own sealed environment.
Each Connector runs inside its own sealed V8 runtime — no access to your files, your system, or other servers. A Connector never sees past its own request.
One switch stops every agent. Instantly.
One action deactivates every Connector, revokes every token, and ends every session at once. AI Governance keeps the record.
Spending limits that pause instead of surprise.
Every user keeps their own connections and credentials, isolated from everyone else. Anything that would cross your spending limit is held for your approval, not billed.
Three controls, built into the layer your AI connects through.
Curated set · 31 capabilities
We ship only the actions that matter.
01-04
4 capabilities in this set.
Part of 31 available through PubNub.
- 01
Admin list keysets
This capability lists all available keysets via the Admin API.
- 02
Delete message history
This capability clears out message history for your specified channels.
- 03
Get all channels
This capability retrieves a list of all channels in your App Context.
- 04
Get all users
This capability fetches all users within your App Context.
05-08
4 capabilities in this set.
Part of 31 available through PubNub.
- 05
Get channel
This capability pulls details for a specific channel.
- 06
Get memberships
This capability fetches the membership data for a specific user UUID.
- 07
Get message history
This capability pulls historical message logs for your channels.
- 08
Get message count
This capability returns the number of messages sent in your channels.
09-12
4 capabilities in this set.
Part of 31 available through PubNub.
- 09
Pam grant token
This capability issues a PAM v3 token.
- 10
Presence heartbeat
This capability sends a heartbeat to signal a user is still connected.
- 11
Presence leave
This capability signals that a user is leaving a channel.
- 12
Publish message
This capability sends a JSON payload to a specific channel.
13-16
4 capabilities in this set.
Part of 31 available through PubNub.
- 13
Push manage
This capability manages or lists APNS v2 push notification channels for a device.
- 14
Set memberships
This capability updates the membership data for a user.
- 15
Admin get metrics
This capability retrieves usage metrics via the Admin API.
- 16
Admin list apps
This capability lists all existing PubNub applications.
17-20
4 capabilities in this set.
Part of 31 available through PubNub.
- 17
Admin create app
This capability creates a new PubNub application through the Admin API.
- 18
Push remove all
This capability removes all push notification channels for a device.
- 19
Presence here now
This capability checks the current occupancy of a channel.
- 20
Delete file
This capability removes a specific file from a designated channel.
21-24
4 capabilities in this set.
Part of 31 available through PubNub.
- 21
Generate file upload URL
This capability creates a URL to upload files to a specific channel.
- 22
Get file URL
This capability retrieves the URL for a specific file in a channel.
- 23
Get user
This capability retrieves details for a specific user UUID.
- 24
List files
This capability shows all files currently stored in a channel.
25-28
4 capabilities in this set.
Part of 31 available through PubNub.
- 25
Pam revoke token
This capability invalidates a specific PAM v3 token.
- 26
Presence get state
This capability checks the current presence state of a user in a channel.
- 27
Presence set state
This capability updates a user's presence state in a channel.
- 28
Presence where now
This capability finds all channels a specific user is currently in.
29-31
3 capabilities in this set.
Part of 31 available through PubNub.
- 29
Remove user
This capability deletes a user from the App Context using their UUID.
- 30
Set channel
This capability creates or updates metadata for a specific channel.
- 31
Set user
This capability updates user profile information in the App Context.
Real work
What teams actually run
IoT Command and Control
An agent monitors device heartbeats and sends control commands when a device goes offline.
Live Support Automation
An agent tracks user presence and retrieves chat history to assist human agents.
Real-time System Alerts
An agent publishes critical system status updates to specific notification channels.
Data Stream Auditing
An agent checks message counts and channel metadata to ensure system health.
Automate a task
Put PubNub to work on one thing.
Step-by-step automations your AI runs through this Connector: the workflow, the prompts to start with, and the exact capabilities behind each move.
One connector, every AI
PubNub works with the most popular AI clients.
These are the most popular clients, each with a step-by-step guide: one link, set up once, with governance and visibility built in. And because everything runs on the MCP standard, the same connection also works in any other compatible client — nothing to rebuild.
Claude
ChatGPT
Gemini
Perplexity
Grok
Microsoft Copilot
Cursor
VS Code
Windsurf
JetBrains
Cline
LangChain
Vercel AI SDK
Lovable
Z.ai
Raycast
Qwen Code
Kimi Code
Le ChatBuilding your own app? The connector is yours to use.
You don't need a client to put PubNub to work: the same hosted connection plugs into your own applications and agent code, with the same governance on every request. Build with it, chat with it — one connection for both.
Observed, not estimated
1017ms average. Fast in production.
PubNub is checked daily against the live service.
- Fastest day
- 815ms
- Slowest day
- 1290ms
- 14-day trend
- Stable-3%
Connect your client
One URL. Every client.
Activate the Connector, copy your link, and paste it into the client you already use. 31 capabilities arrive ready to run.
Preview access · not provider authentication
The vk_preview_* token belongs to Vinkius preview infrastructure. It lets Claude discover and display the capabilities of PubNub, so you can see the experience inside your AI.
It does not authenticate your account with PubNub. Actions requiring credentials or live account data may not run until you activate the Connector and authorize the service.
PubNub Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_RCnBsSkUGMNTFGRb3L5phSfqwmHtbHFrYEYF7Aui/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — PubNub capabilities are ready to use.
{
"mcpServers": {
"pubnub-real-time-messaging-mcp": {
"url": "https://edge.vinkius.com/vk_preview_RCnBsSkUGMNTFGRb3L5phSfqwmHtbHFrYEYF7Aui/mcp"
}
}
}
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Step-by-step instructions for each client are in the guide. How to connect
Guided setup for Claude? Set up PubNub in Claude and other AIs
Who it's for
Built for the work PubNub owners hand off.
This MCP is built for developers and operators who need to bridge real-time data streams with intelligent agents.
- 01
IoT Developers
You can hand off device heartbeat monitoring and command execution to your agent.
- 02
Support Teams
You can use your agent to inspect chat histories and user presence during live sessions.
- 03
System Architects
You can delegate keyset metric monitoring and channel auditing to your agent.
FAQ
Questions PubNub owners ask.
- 01
What credentials do I need for this MCP?
You will need your PubNub Subscribe Key, Publish Key, and a UUID to connect.
- 02
Can my AI agent send files?
Yes, the agent can generate upload URLs and manage files within the PubNub network.
- 03
How does the agent know if a user is online?
The agent uses presence capabilities like 'here_now' and 'where_now' to track user occupancy and state.
- 04
Is this compatible with my existing AI capabilities?
Yes, this MCP works with any client that supports the Model Context Protocol, including Claude, Cursor, and Windsurf.
- 05
Can I manage my entire PubNub app through the AI?
Yes, the Admin API capabilities allow the agent to list apps, create new ones, and monitor usage metrics.
- 06
How can I check if a specific user is currently online in a channel?
You can use the presence_here_now capability 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.
- 07
Can the AI retrieve past messages from a channel?
Yes, the get_message_history capability allows the agent to fetch historical messages from one or more channels, including metadata and specific time ranges.
- 08
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.
Explore
More in Communication Messaging
ElectricSQL (Sync Engine) AI Connector
Sync Postgres data to your AI agent in real-time using ElectricSQL's HTTP Sync API — fetch shapes, stream upda
ViewGoogle Pub/Sub Subscription AI Connector
This MCP does exactly one thing: it pulls and acknowledges messages from a single Google Pub/Sub Subscription.
ViewGoldsky (Web3 Data Indexing & Subgraphs) AI Connector
Manage Web3 data pipelines and subgraphs. List, create, and monitor real-time indexing pipelines directly from
ViewMaterialize (Streaming SQL DB) AI Connector
Execute streaming SQL, manage compute clusters, and monitor real-time data pipelines directly from your AI age
View
Suggestions
Sablier (Token Streaming & Real-time Payroll) AI Connector
Manage real-time token streams and airdrop campaigns. Query Sablier indexers, create Merkle trees for distribu
ViewQuestDB (Time-Series) AI Connector
High-performance time-series database for fast SQL queries, data ingestion, and real-time analytics directly f
ViewReal-Time Currency Exchange AI Connector
Give your AI access to the global forex market. Convert real-time and historical currencies instantly using of
ViewData Pipeline Prover AI Connector
A data team asked an AI to build an ETL pipeline. No schema contract. No idempotency. No freshness SLA. The pi
View
Connect PubNub to Claude, Cursor, ChatGPT & more
