PubNub (Real-time Messaging) MCP Server for Claude CodeGive Claude Code instant access to 31 tools to Admin Create App, Admin Get Metrics, Admin List Apps, and more
Claude Code is Anthropic's agentic CLI for terminal-first development. Add PubNub (Real-time Messaging) as an MCP server in one command and Claude Code will discover every tool at runtime. ideal for automation pipelines, CI/CD integration, and headless workflows via Vinkius.
Ask AI about this MCP Server for Claude Code
The PubNub (Real-time Messaging) MCP Server for Claude Code is a standout in the Communication Messaging category — giving your AI agent 31 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
# Your Vinkius token. get it at cloud.vinkius.com
claude mcp add pubnub-real-time-messaging --transport http "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"Vinkius Desktop App
The modern way to manage MCP Servers — no config files, no terminal commands. Install PubNub (Real-time Messaging) and 4,000+ MCP Servers from a single visual interface.





* 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
About 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.
Claude Code registers PubNub (Real-time Messaging) as an MCP server in a single terminal command. Once connected, Claude Code discovers all 31 tools at runtime and can call them headlessly. ideal for CI/CD pipelines, cron jobs, and automated workflows where PubNub (Real-time Messaging) data drives decisions without human intervention.
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).
The PubNub (Real-time Messaging) MCP Server exposes 31 tools through the Vinkius. Connect it to Claude Code in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 31 PubNub (Real-time Messaging) tools available for Claude Code
When Claude Code connects to PubNub (Real-time Messaging) through Vinkius, your AI agent gets direct access to every tool listed below — spanning real-time-sync, pub-sub, data-streams, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Admin create app on PubNub (Real-time Messaging)
Create a new PubNub app (Admin API)
Admin get metrics on PubNub (Real-time Messaging)
Get usage metrics (Admin API)
Admin list apps on PubNub (Real-time Messaging)
List all PubNub apps (Admin API)
Admin list keysets on PubNub (Real-time Messaging)
List all keysets (Admin API)
Delete file on PubNub (Real-time Messaging)
Delete a file from a channel
Delete message history on PubNub (Real-time Messaging)
Delete message history for channels
Generate file upload url on PubNub (Real-time Messaging)
Generate a file upload URL
Get all channels on PubNub (Real-time Messaging)
Get all channels (App Context)
Get all users on PubNub (Real-time Messaging)
Get all users (App Context)
Get channel on PubNub (Real-time Messaging)
Get a specific channel (App Context)
Get file url on PubNub (Real-time Messaging)
Get a file URL
Get memberships on PubNub (Real-time Messaging)
Get memberships for a user (App Context)
Get message count on PubNub (Real-time Messaging)
Get message count for channels
Get message history on PubNub (Real-time Messaging)
Get message history for channels
Get user on PubNub (Real-time Messaging)
Get a specific user (App Context)
List files on PubNub (Real-time Messaging)
List files in a channel
Pam grant token on PubNub (Real-time Messaging)
Grant a PAM v3 token
Pam revoke token on PubNub (Real-time Messaging)
Revoke a PAM v3 token
Presence get state on PubNub (Real-time Messaging)
Get presence state for a user in a channel
Presence heartbeat on PubNub (Real-time Messaging)
Send presence heartbeat
Presence here now on PubNub (Real-time Messaging)
Get current channel occupancy (Here Now)
Presence leave on PubNub (Real-time Messaging)
Leave a channel (Presence)
Presence set state on PubNub (Real-time Messaging)
Set presence state for a user in a channel
Presence where now on PubNub (Real-time Messaging)
Get channels a user is in (Where Now)
Publish message on PubNub (Real-time Messaging)
Publish a message to a channel
Push manage on PubNub (Real-time Messaging)
Manage or list push notification channels for a device (APNS v2)
Push remove all on PubNub (Real-time Messaging)
Remove all push notification channels for a device (APNS v2)
Remove user on PubNub (Real-time Messaging)
Remove a user (App Context)
Set channel on PubNub (Real-time Messaging)
Set or update a channel (App Context)
Set memberships on PubNub (Real-time Messaging)
Set or update memberships for a user (App Context)
Set user on PubNub (Real-time Messaging)
Set or update a user (App Context)
Connect PubNub (Real-time Messaging) to Claude Code via MCP
Follow these steps to wire PubNub (Real-time Messaging) into Claude Code. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install Claude Code
npm install -g @anthropic-ai/claude-code if not already installedAdd the MCP Server
Verify the connection
claude mcp to list connected servers, or type /mcp inside a sessionStart using PubNub (Real-time Messaging)
Why Use Claude Code with the PubNub (Real-time Messaging) MCP Server
Claude Code provides unique advantages when paired with PubNub (Real-time Messaging) through the Model Context Protocol.
Single-command setup: `claude mcp add` registers the server instantly. no config files to edit or applications to restart
Terminal-native workflow means MCP tools integrate seamlessly into shell scripts, CI/CD pipelines, and automated DevOps tasks
Claude Code runs headlessly, enabling unattended batch processing using PubNub (Real-time Messaging) tools in cron jobs or deployment scripts
Built by the same team that created the MCP protocol, ensuring first-class compatibility and the fastest adoption of new protocol features
PubNub (Real-time Messaging) + Claude Code Use Cases
Practical scenarios where Claude Code combined with the PubNub (Real-time Messaging) MCP Server delivers measurable value.
CI/CD integration: embed PubNub (Real-time Messaging) tool calls in your deployment pipeline to validate configurations or fetch secrets before shipping
Headless batch processing: schedule Claude Code to query PubNub (Real-time Messaging) nightly and generate reports without human intervention
Shell scripting: pipe PubNub (Real-time Messaging) outputs into other CLI tools for data transformation, filtering, and aggregation
Infrastructure monitoring: run Claude Code in a cron job to query PubNub (Real-time Messaging) status endpoints and alert on anomalies
Example Prompts for PubNub (Real-time Messaging) in Claude Code
Ready-to-use prompts you can give your Claude Code agent to start working with PubNub (Real-time Messaging) immediately.
"Publish a message to the 'alerts' channel saying 'System update scheduled for midnight'."
"Get the last 5 messages from the 'support-chat' channel."
"Who is currently active in the 'lobby' channel?"
Troubleshooting PubNub (Real-time Messaging) MCP Server with Claude Code
Common issues when connecting PubNub (Real-time Messaging) to Claude Code through Vinkius, and how to resolve them.
Command not found: claude
npm install -g @anthropic-ai/claude-codeConnection timeout
PubNub (Real-time Messaging) + Claude Code FAQ
Common questions about integrating PubNub (Real-time Messaging) MCP Server with Claude Code.
How do I add an MCP server to Claude Code?
claude mcp add --transport http "" in your terminal. Claude Code registers the server and discovers all tools immediately.Can Claude Code run MCP tools in headless mode?
How do I list all connected MCP servers?
claude mcp in your terminal to see all registered servers and their status, or type /mcp inside an active Claude Code session.Explore More MCP Servers
View all →
Steam Platform & Hype Intelligence
11 toolsThe definitive server for Steam platform insights — track trending games, player counts, and social connections via AI.

Front
12 toolsManage shared inboxes across email, SMS, and social with team collaboration tools that keep customer conversations organized.

Figma Alternative
16 toolsAccess Figma design files, comments, components and images via API — inspect nodes, render exports and track version history from any AI agent.

Web Scraper
5 toolsEquip your AI agent with the ability to read web pages, extract metadata, and crawl documentation sites as clean Markdown.
