This MCP server provides a CLI-based Model Context Protocol server that exposes PubNub SDK documentation and API resources to LLM-powered tools, enhancing their ability to interact with PubNub's services.
From the registry: PubNub Model Context Protocol MCP Server for Cursor and Claude

Please install the `mcp-server-pubnub` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Node.js 20+** — Node.js version 20 or newer. (https://nodejs.org)
Optional prerequisites:
- PubNub API Key — Create a Service Integration in the PubNub Admin Portal. (https://www.pubnub.com/docs/general/portal/service-integrations)
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","@pubnub/mcp@latest"]
- optional environment variables:
- `PUBNUB_API_KEY`: PubNub API key; unlocks account/keyset operations (basic SDK docs work without it). (example: `<your-api-key>`)
- `PUBNUB_PUBLISH_KEY`: Optional publish key for fixed-mode real-time ops. (example: `<your-publish-key>`)
- `PUBNUB_SUBSCRIBE_KEY`: Optional subscribe key for fixed-mode real-time ops. (example: `<your-subscribe-key>`)
- `PUBNUB_USER_ID`: Override SDK User ID (default: pubnub-mcp). (example: `pubnub-mcp`)
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.PUBNUB_API_KEYrequiredYour PubNub API Key. Required for all operations related to your account/keysetLightweight DMARC parser: auto-fetch email reports, visualize compliance in a single all-in-one app