Koskamo

PubNub MCP Server

The PubNub MCP Server enables AI agents to interact with PubNub's real-time infrastructure. It allows agents to fetch documentation, execute live API calls like publish and fetchHistory, and manage presence data. Designed for IDEs like Cursor and Claude, it streamlines the integration of real-time features such as chat, dashboards, and IoT alerts by providing direct access to SDKs and APIs.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

PubNub MCP Server logo, by PubNubCommunity listingLocal stdioSource reviewed; not executedPublished by PubNub
You need:Create an account and get the publish and subscribe keys every SDK needs
Vendor documentation

Checks and signals

Each line is separate evidence, not a trust score.

  • Popularity 33 GitHub stars

What you can do with it

  • Fetch SDK documentation and code snippets directly into the IDE
  • Execute live API calls like publish and fetchHistory for testing
  • Add presence and occupancy features to real-time applications
  • Stream verified docs and APIs to AI agents for accurate coding

Source and maintenance

Community listingRegistry 2.3.2
Last repository push
Latest release
v2.3.4
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@pubnub/mcp 2.3.2

npmnpx
@pubnub/mcp package definition
{
  "version": "2.3.2",
  "transport": "stdio",
  "identifier": "@pubnub/mcp",
  "runtimeHint": "npx",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "PUBNUB_API_KEY",
      "description": "Your PubNub API Key. Required for all operations related to your account/keyset"
    },
    {
      "name": "PUBNUB_PUBLISH_KEY",
      "description": "Optional PubNub publish key for real-time operations"
    },
    {
      "name": "PUBNUB_SUBSCRIBE_KEY",
      "description": "Optional PubNub subscribe key for real-time operations"
    },
    {
      "name": "PUBNUB_USER_ID",
      "description": "Optional variable that can be provided to change the User ID for the SDK (real-time) operations (default: pubnub-mcp)"
    },
    {
      "name": "PUBNUB_EMAIL",
      "description": "(Deprecated - use API Key instead) Your PubNub account email. Required for all operations related to your account/keyset"
    },
    {
      "name": "PUBNUB_PASSWORD",
      "description": "(Deprecated - use API Key instead) Your PubNub account password. Required for all operations related to your account/keyset"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "pubnub-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_USER_ID": "<YOUR_PUBNUB_USER_ID>",
        "PUBNUB_EMAIL": "<YOUR_PUBNUB_EMAIL>",
        "PUBNUB_PASSWORD": "<YOUR_PUBNUB_PASSWORD>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "pubnub-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_USER_ID": "<YOUR_PUBNUB_USER_ID>",
        "PUBNUB_EMAIL": "<YOUR_PUBNUB_EMAIL>",
        "PUBNUB_PASSWORD": "<YOUR_PUBNUB_PASSWORD>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "pubnub-mcp-server": {
      "type": "stdio",
      "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_USER_ID": "<YOUR_PUBNUB_USER_ID>",
        "PUBNUB_EMAIL": "<YOUR_PUBNUB_EMAIL>",
        "PUBNUB_PASSWORD": "<YOUR_PUBNUB_PASSWORD>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "pubnub-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_USER_ID": "<YOUR_PUBNUB_USER_ID>",
        "PUBNUB_EMAIL": "<YOUR_PUBNUB_EMAIL>",
        "PUBNUB_PASSWORD": "<YOUR_PUBNUB_PASSWORD>"
      }
    }
  }
}

Let your agent find its tools

Find servers like PubNub MCP Server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.