Pubnub MCP Server

PubNub Model Context Protocol MCP Server for Cursor and Claude

Remote serverstreamable-httpPython

What is the Pubnub MCP Server?

PubNub Model Context Protocol MCP Server for Cursor and Claude

The short version

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.

  • 📚 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
  • 📍 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
  • 🔍 Usage & Monitoring — — Track billable usage across apps and keysets, review current and historical consumption, and export reports to understand cost drivers

What it needs from you

  • Node.js >= 20.0.0

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Pubnub MCP Server

{
  "mcpServers": {
    "pubnub": {
      "url": "https://mcp.pubnub.com"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Node.js >= 20.0.0
VariableDescriptionRequired
PUBNUB_API_KEYCredential the server authenticates with.Yes
OAUTH_CLIENT_IDConfiguration value read at startup.Optional
OAUTH_CLIENT_SECRETCredential the server authenticates with.Yes
ADMIN_API_RESOURCE_URLEndpoint or connection string the server talks to.Yes
MCP_RESOURCE_URLEndpoint or connection string the server talks to.Yes
ADMIN_API_V2_URLEndpoint or connection string the server talks to.Yes
SDK_DOCS_API_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use Pubnub to Cursor.”
  • “Use Pubnub to Codex.”
  • “Use Pubnub to OpenCode.”

Frequently asked questions

PubNub Model Context Protocol MCP Server for Cursor and Claude Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.