pubnub-mcp-server

pubnub-mcp-server

MCP.Pizza Chef: pubnub

This PubNub MCP server connects your AI assistant to PubNub’s platform, letting you manage apps, send messages, track user presence, and access SDK docs directly from tools like Claude Desktop, Cursor, and VS Code. It requires a PubNub account with OAuth authentication and supports easy setup via copy-paste config or one-click installs. Use it to handle real-time communication and app management without leaving your AI environment.

Other

Use This MCP server To

Manage PubNub apps and keysets from my AI assistant Send and receive real-time messages and notifications Track user presence and activity in my applications Access PubNub SDK documentation and code examples Monitor usage and billing reports for my PubNub apps Manage user profiles and channel memberships Trigger real-time actions based on analytics

README

PubNub MCP Server

A hosted Model Context Protocol (MCP) server that exposes PubNub SDK documentation and PubNub API resources to LLM-powered tools. This improves the LLM AI Agent's ability to understand and interact with PubNub's SDKs and APIs. Uses HTTP transport with OAuth authentication.

PubNub MCP Server

Features

  • 📚 Comprehensive SDK Documentation - Access detailed documentation, code examples, and implementation guides for 20+ programming languages including JavaScript, Python, Java, Swift, Kotlin, C#, Ruby, Go, and more
  • 🏗️ Application & Keyset Management - Create, configure, and manage PubNub applications and keysets with features like message persistence, file sharing, presence tracking, and app context
  • 💬 Real-time Communication - Send and receive messages across channels, implement live chat, notifications, and real-time updates with support for both messages and lightweight signals
  • 👥 User & Channel Management - Manage user profiles, channel metadata, and membership relationships with full CRUD operations for building community and social features. In addition, there is an option to view & manage user profiles, channels and memberships in PubNub Admin Portal (this requires Manage Premium).
  • 📍 Presence & Activity Tracking - Monitor real-time user presence, see who's online in channels, and track user activity across your application
  • 📊 Real-time Decisioning & Analytics - Trigger the right action when it matters, measure its impact, and adjust as conditions change -- all in real-time. Requires Illuminate.
  • 📈 Channel, User & Message Analytics - Spot patterns in aggregated app activity, from top channels and country breakdowns to new vs. recurring users and device distribution, to understand engagement, usage, and performance. In addition, limited metrics are available for viewing in PubNub Admin Portal without Manage Premium; full analytics require Manage Premium.
  • 🔍 Usage & Monitoring — Track billable usage across apps and keysets, review current and historical consumption, and export reports to understand cost drivers.
  • 🔧 Multi-Platform Integration - Works with Cursor, Visual Studio Code, Claude Code, and other MCP-compatible AI assistants
  • ⚡ Developer Experience - Built with TypeScript for type safety, includes testing infrastructure

Quick Start

The hosted server is managed by PubNub and provides the easiest way to get started — no installation required, and authentication is handled automatically via OAuth. If your AI tool doesn't support remote MCP servers, use the locally installed version (npx @pubnub/mcp@latest) instead.

Note: To switch to the hosted server (https://mcp.pubnub.com), remove the old local configuration from your AI client first, then follow the setup steps below.

Hosted PubNub MCP Server

Connect your AI assistant to https://mcp.pubnub.com — no installation required. Authentication is handled automatically via OAuth.

pubnub-mcp-server FAQ

Can I use this to manage PubNub applications and keysets?
Yes — you can create, configure, and manage PubNub apps and keysets directly through your AI assistant using this server.
Can I send and receive real-time messages with this?
Yes — it supports real-time messaging, live chat, notifications, and updates via your AI assistant.
Which AI apps support this PubNub MCP server?
It works with Claude Desktop, Cursor, Visual Studio Code, Claude Code, OpenAI Codex, Gemini CLI, and others that support MCP.
Do I need an API key or account to use this?
Yes — you need a PubNub account and OAuth authentication to connect securely.
How hard is it to set up?
Setup is easy with copy-paste config snippets or one-click installs in supported apps.
Can I use this to view user presence and activity?
Yes — it lets your AI track who’s online and monitor user activity in real time.
Is installation required to use the hosted server?
No — the hosted server at https://mcp.pubnub.com requires no installation and handles authentication automatically.
Can I use this with multiple programming languages?
Yes — it provides SDK documentation and examples for 20+ languages including JavaScript, Python, Java, and more.