PubNub MCP Model Context Protocol Server for use in Cursor, Windsurf, Claude Desktop, Claude Code and OpenAI Codex and more!
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
process.env. You'll be asked to provide them before it can run.ADMIN_API_V1_URLADMIN_API_V2_URLMCP_MODEMCP_SUBSCRIBE_ANALYTICS_DISABLEDOPENAI_API_KEYOPENAI_MODELPORTPUBNUB_API_KEY— claude mcp add PubNub --env =<your-api-key> --scope user --transport stdio -- npx -y @pubnub/mcp@latestPUBNUB_EMAIL— (Deprecated - use API Key instead) Your PubNub account email. Required for all operations related to your account/keysetPUBNUB_ORIGINPUBNUB_PASSWORD— (Deprecated - use API Key instead) Your PubNub account password. Required for all operations related to your account/keysetPUBNUB_PUBLISH_KEY— Optional PubNub publish key for real-time operationsPUBNUB_SUBSCRIBE_KEY— Optional PubNub subscribe key for real-time operationsPUBNUB_USER_ID— Optional variable that can be provided to change the User ID for the SDK (real-time) operations (default: pubnub-mcp)ROLLUP_WATCHSDK_DOCS_API_URL[](https://m8ven.ai/mcp/pubnub-pubnub-mcp-server-km0v7q)