An astronaut overseeing a futuristic data hub

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.

Ask AI about this Connector

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.

ChatGPTClaudeCursorPerplexityGeminiMicrosoft CopilotRaycastMeta AI

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.

A futuristic MCP client docking bay
V8 Isolate01

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.

Kill Switch02

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.

FinOps per User03

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.

Capability set01 / 08

01-04

4 capabilities in this set.

Part of 31 available through PubNub.

  1. 01

    Admin list keysets

    This capability lists all available keysets via the Admin API.

  2. 02

    Delete message history

    This capability clears out message history for your specified channels.

  3. 03

    Get all channels

    This capability retrieves a list of all channels in your App Context.

  4. 04

    Get all users

    This capability fetches all users within your App Context.

Capability set02 / 08

05-08

4 capabilities in this set.

Part of 31 available through PubNub.

  1. 05

    Get channel

    This capability pulls details for a specific channel.

  2. 06

    Get memberships

    This capability fetches the membership data for a specific user UUID.

  3. 07

    Get message history

    This capability pulls historical message logs for your channels.

  4. 08

    Get message count

    This capability returns the number of messages sent in your channels.

Capability set03 / 08

09-12

4 capabilities in this set.

Part of 31 available through PubNub.

  1. 09

    Pam grant token

    This capability issues a PAM v3 token.

  2. 10

    Presence heartbeat

    This capability sends a heartbeat to signal a user is still connected.

  3. 11

    Presence leave

    This capability signals that a user is leaving a channel.

  4. 12

    Publish message

    This capability sends a JSON payload to a specific channel.

Capability set04 / 08

13-16

4 capabilities in this set.

Part of 31 available through PubNub.

  1. 13

    Push manage

    This capability manages or lists APNS v2 push notification channels for a device.

  2. 14

    Set memberships

    This capability updates the membership data for a user.

  3. 15

    Admin get metrics

    This capability retrieves usage metrics via the Admin API.

  4. 16

    Admin list apps

    This capability lists all existing PubNub applications.

Capability set05 / 08

17-20

4 capabilities in this set.

Part of 31 available through PubNub.

  1. 17

    Admin create app

    This capability creates a new PubNub application through the Admin API.

  2. 18

    Push remove all

    This capability removes all push notification channels for a device.

  3. 19

    Presence here now

    This capability checks the current occupancy of a channel.

  4. 20

    Delete file

    This capability removes a specific file from a designated channel.

Capability set06 / 08

21-24

4 capabilities in this set.

Part of 31 available through PubNub.

  1. 21

    Generate file upload URL

    This capability creates a URL to upload files to a specific channel.

  2. 22

    Get file URL

    This capability retrieves the URL for a specific file in a channel.

  3. 23

    Get user

    This capability retrieves details for a specific user UUID.

  4. 24

    List files

    This capability shows all files currently stored in a channel.

Capability set07 / 08

25-28

4 capabilities in this set.

Part of 31 available through PubNub.

  1. 25

    Pam revoke token

    This capability invalidates a specific PAM v3 token.

  2. 26

    Presence get state

    This capability checks the current presence state of a user in a channel.

  3. 27

    Presence set state

    This capability updates a user's presence state in a channel.

  4. 28

    Presence where now

    This capability finds all channels a specific user is currently in.

Capability set08 / 08

29-31

3 capabilities in this set.

Part of 31 available through PubNub.

  1. 29

    Remove user

    This capability deletes a user from the App Context using their UUID.

  2. 30

    Set channel

    This capability creates or updates metadata for a specific channel.

  3. 31

    Set user

    This capability updates user profile information in the App Context.

Real work

What teams actually run

01

IoT Command and Control

An agent monitors device heartbeats and sends control commands when a device goes offline.

02

Live Support Automation

An agent tracks user presence and retrieves chat history to assist human agents.

03

Real-time System Alerts

An agent publishes critical system status updates to specific notification channels.

04

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.

Building 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.

Daily averagePeak 1290ms
Oct 3Today
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.

Connector linkhttps://edge.vinkius.com/vk_preview_RCnBsSkUGMNTFGRb3L5phSfqwmHtbHFrYEYF7Aui/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — PubNub capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "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

See all the AI clients this connector works with ↑

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.

Connect PubNub to Claude, Cursor, ChatGPT & more