Back to directory
@pubnub/mcp

@pubnub/mcp

@pubnub30

The PubNub Model Context Protocol (MCP) Server exposes PubNub SDK documentation and API resources to LLM-powered tools, enhancing AI agents' ability to understand and interact with PubNub's real-time communication platform.

PubNubreal-timemessagingchatSDKAPIcloud

Installation & Configuration

{
  "pubnub": {
    "command": "npx",
    "args": [
      "-y",
      "@pubnub/mcp"
    ],
    "env": {
      "PUBNUB_PUBLISH_KEY": "YOUR_PUBLISH_KEY",
      "PUBNUB_SUBSCRIBE_KEY": "YOUR_SUBSCRIBE_KEY"
    }
  },
  "pubnub-chat": {
    "command": "npx",
    "args": [
      "-y",
      "@pubnub/mcp",
      "--chat-sdk"
    ],
    "env": {
      "PUBNUB_PUBLISH_KEY": "YOUR_PUBLISH_KEY",
      "PUBNUB_SUBSCRIBE_KEY": "YOUR_SUBSCRIBE_KEY"
    }
  }
}

Information

Transport
stdiosse
Language
TypeScript
Created
2025/4/28
Updated
2026/6/7