PU

PubNub

Created 6 months ago

CLI-based Model Context Protocol (MCP) server for PubNub SDK documentation and API resources.

development documentation public MCP PubNub

What is PubNub?

Retrieves context for developing with PubNub SDKs and calling APIs.

Documentation

Features

  • MCP server exposing tools for interacting with PubNub via JSON-RPC over STDIN/STDOUT.
  • MCP server supports SSE Mode by supplying HTTP_PORT environment variable.
  • Retrieve official PubNub SDK documentation (HTML → Markdown) for various languages.
  • Publish messages to PubNub channels and subscribe to receive real-time messages.
  • Fetch historical messages and presence information.
  • Manage PubNub account apps and API keys.
  • Environment variable configuration for authentication.
  • Converts remote HTML articles to Markdown for consistent documentation formatting.

Installation

The preferred way to run the PubNub MCP server locally or add it to Cursor IDE via npx:

npx -y @pubnub/mcp

Configuration

Edit or create ~/.cursor/mcp.json for global configuration.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Server Config

{
  "mcpServers": {
    "pubnub-server": {
      "command": "npx",
      "args": [
        "pubnub"
      ]
    }
  }
}

Links & Status

Repository: github.com
Hosted: No
Global: Yes
Official: Yes

Project Info

Hosted Featured
Created At: Jul 02, 2025
Updated At: Aug 07, 2025
Author: PubNub
Category: official
License: MIT License
Tags:
development documentation public