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 Cursor?
Cursor's Agent mode turns PubNub (Real-time Messaging) into an in-editor superpower. Ask Cursor to generate code using live data from PubNub (Real-time Messaging) and it fetches, processes, and writes. all in a single agentic loop. 31 tools appear alongside file editing and terminal access, creating a unified development environment grounded in real-time information.
- —
Agent mode turns Cursor into an autonomous coding assistant that can read files, run commands, and call MCP tools without switching context
- —
Cursor's Composer feature can generate entire files using real-time data fetched through MCP. no copy-pasting from external dashboards
- —
MCP tools appear alongside built-in tools like file reading and terminal access, creating a unified agentic environment
- —
VS Code extension compatibility means your existing workflow, keybindings, and extensions all work alongside MCP tools
PubNub (Real-time Messaging) in Cursor
PubNub (Real-time Messaging) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect PubNub (Real-time Messaging) to Cursor 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 Cursor
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 Cursor 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 Cursor
Every tool call from Cursor 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.
What is Agent mode and why does it matter for MCP?
Agent mode is Cursor's autonomous execution mode where the AI can perform multi-step tasks: reading files, editing code, running terminal commands, and calling MCP tools. Without Agent mode, Cursor operates in a simpler ask-and-answer mode that doesn't support tool calling. Always ensure you're in Agent mode when working with MCP servers.
Where does Cursor store MCP configuration?
Cursor looks for MCP server configurations in a mcp.json file. You can configure servers at the project level (.cursor/mcp.json in your project root) or globally (~/.cursor/mcp.json). Project-level configs take precedence.
Can Cursor use MCP tools in inline edits?
No. MCP tools are only available in Agent mode through the chat panel. Inline completions and Tab suggestions do not trigger MCP tool calls. This is by design. tool calls require user visibility and approval.
How do I verify MCP tools are loaded?
Open Settings → Features → MCP and look for your server name. A green indicator means the server is connected. You can also check Agent mode's available tools by clicking the tools dropdown in the chat panel.
Tools not appearing in Cursor
Ensure you are in Agent mode (not Ask mode). MCP tools only work in Agent mode.
Server shows as disconnected
Check Settings → Features → MCP and verify the server status. Try clicking the refresh button.
Explore More MCP Servers
View all →
Mirakl (Enterprise Marketplace Platform)
10 toolsManage your enterprise marketplace via Mirakl — list global offers, track multi-vendor orders, and audit seller shops.

Eventbrite Alternative
8 toolsManage your Eventbrite events — audit organizations, attendees, and orders via AI.

Smartsheet
6 toolsEmpower your AI to read Smartsheet rows, list workspaces, and manage your spreadsheets effortlessly from your code editor.

HyperTrack
10 toolsManage location tracking, trips, and geofences via HyperTrack API.
