Skip to main content

PubNub MCP Server

io.github.pubnub/mcp-server

v2.3.2Updated Mar 16, 2026stdio · npm

PubNub Model Context Protocol MCP Server for Cursor and Claude

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add mcp-server -- npx -y @pubnub/[email protected]

Configuration

6 settings.

  • PUBNUB_API_KEY
    Env var· optional· secret
    Your PubNub API Key. Required for all operations related to your account/keyset
  • PUBNUB_PUBLISH_KEY
    Env var· optional· secret
    Optional PubNub publish key for real-time operations
  • PUBNUB_SUBSCRIBE_KEY
    Env var· optional· secret
    Optional PubNub subscribe key for real-time operations
  • PUBNUB_PASSWORD
    Env var· optional· secret
    (Deprecated - use API Key instead) Your PubNub account password. Required for all operations related to your account/keyset
  • PUBNUB_USER_ID
    Env var· optional
    Optional variable that can be provided to change the User ID for the SDK (real-time) operations (default: pubnub-mcp)
  • PUBNUB_EMAIL
    Env var· optional
    (Deprecated - use API Key instead) Your PubNub account email. Required for all operations related to your account/keyset

Listed in the official MCP Registry since Mar 16, 2026. Mirrored daily; last checked Nov 26, 2026.