MCP directory

PubNub MCP Server

by github.com/pubnub · v2.3.2 · updated Mar 16, 2026

PubNub Model Context Protocol MCP Server for Cursor and Claude

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @pubnub/[email protected]

Environment variables

  • PUBNUB_API_KEYsecret

    Your PubNub API Key. Required for all operations related to your account/keyset

  • PUBNUB_PUBLISH_KEYsecret

    Optional PubNub publish key for real-time operations

  • PUBNUB_SUBSCRIBE_KEYsecret

    Optional PubNub subscribe key for real-time operations

  • PUBNUB_USER_ID

    Optional variable that can be provided to change the User ID for the SDK (real-time) operations (default: pubnub-mcp)

  • PUBNUB_EMAIL

    (Deprecated - use API Key instead) Your PubNub account email. Required for all operations related to your account/keyset

  • PUBNUB_PASSWORDsecret

    (Deprecated - use API Key instead) Your PubNub account password. Required for all operations related to your account/keyset

More MCP servers