Home › Other › PubNub MCP Server

PubNub MCP Server

PubNub Model Context Protocol MCP Server for Cursor and Claude

TypeScript
★ 33 stars Last pushed 2026-09-23 License: NOASSERTION

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (npm 2.3.2)

npx -y @pubnub/mcp@2.3.2

Or add to your MCP client config:

{
  "mcpServers": {
    "pubnub-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@pubnub/mcp@2.3.2"
      ],
      "env": {
        "PUBNUB_API_KEY": "<YOUR_VALUE>",
        "PUBNUB_PUBLISH_KEY": "<YOUR_VALUE>",
        "PUBNUB_SUBSCRIBE_KEY": "<YOUR_VALUE>",
        "PUBNUB_USER_ID": "<YOUR_VALUE>",
        "PUBNUB_EMAIL": "<YOUR_VALUE>",
        "PUBNUB_PASSWORD": "<YOUR_VALUE>"
      }
    }
  }
}
  • PUBNUB_API_KEY secret — Your PubNub API Key. Required for all operations related to your account/keyset
  • PUBNUB_PUBLISH_KEY secret — Optional PubNub publish key for real-time operations
  • PUBNUB_SUBSCRIBE_KEY secret — 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_PASSWORD secret — (Deprecated - use API Key instead) Your PubNub account password. Required for all operations related to your account/keyset

Related servers

Data from the Official MCP Registry