PubNub MCP Server

io.github.pubnub/mcp-server

PubNub Model Context Protocol MCP Server for Cursor and Claude

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@pubnub/mcp@2.3.2"
      ],
      "env": {
        "PUBNUB_API_KEY": "<your PUBNUB_API_KEY>",
        "PUBNUB_PUBLISH_KEY": "<your PUBNUB_PUBLISH_KEY>",
        "PUBNUB_SUBSCRIBE_KEY": "<your PUBNUB_SUBSCRIBE_KEY>",
        "PUBNUB_PASSWORD": "<your PUBNUB_PASSWORD>"
      }
    }
  }
}
Environment variables
  • PUBNUB_API_KEYsecretYour PubNub API Key. Required for all operations related to your account/keyset
  • PUBNUB_PUBLISH_KEYsecretOptional PubNub publish key for real-time operations
  • PUBNUB_SUBSCRIBE_KEYsecretOptional PubNub subscribe key for real-time operations
  • PUBNUB_PASSWORDsecret(Deprecated - use API Key instead) Your PubNub account password. Required for all operations related to your account/keyset

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
2.3.2
Registry
active
Published
3/16/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that PubNub MCP Server is listed here — it’s also the link we check for a free listing.

PubNub MCP Server — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-pubnub-mcp-server?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="PubNub MCP Server — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![PubNub MCP Server — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-pubnub-mcp-server?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.