PubNub MCP Server

A hosted Model Context Protocol (MCP) server that exposes PubNub SDK documentation and PubNub API resources to LLM-powered tools. This improves the LLM AI Agent's ability to understand and interact with PubNub's SDKs and APIs. Uses HTTP transport with OAuth authentication. Its 15 documented tools cover pubnub, manage, sdk, documentation. It runs locally over stdio via the published package.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-07-22 · ★ 32 · #117 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

NOASSERTION · TypeScript servers · how we verify → /methodology

01 · Install PubNub MCP Server

before you install - you'll need

PUBNUB_API_KEY

Environment variables documented in the project's README - it lists which are required and which have defaults.

Claude Code

claude mcp add pubnub-pubnub-mcp-server -- npx -y @pubnub/mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "pubnub-pubnub-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@pubnub/mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license no standard license detected - usage rights unclear; check the repo before commercial use

npm package @pubnub/mcp - published under the repo owner's npm scope (@pubnub)

registry namespace io.github.pubnub is GitHub-verified and matches the repo owner

03 · What PubNub MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can get general platform migration guides, fetch usage metrics for an account, app, or keyset, send messages or lightweight signals to PubNub channels in real-time, and fetch historical messages from one or more PubNub channels.

Capability map

Tools grouped from the project's README - what PubNub MCP Server lets an agent do.

Pubnub

5 tools - e.g. Get PubNub best practices guide covering architecture, security, channel modeling, and optimization; Send messages or lightweight signals to PubNub channels in real-time; Subscribe to channels and receive…

write_pubnub_app · send_pubnub_message · subscribe_and_receive_pubnub_messages · get_pubnub_messages · get_pubnub_presence

Manage

4 tools - e.g. Manage PubNub apps (list, create, update); Manage PubNub keysets (get, list, create, update); Manage PubNub App Context (Objects API) for users, channels, and memberships with full CRUD operations

manage_apps · manage_keysets · manage_app_context · manage_illuminate

Sdk

3 tools - e.g. Get PubNub Core SDK documentation for specific programming languages and features; Get PubNub Chat SDK documentation for specific programming languages and features; Get SDK version migration guides

get_sdk_documentation · get_chat_sdk_documentation · get_sdk_migration_guide

read & search

2 tools - e.g. Get general platform migration guides; Fetch usage metrics for an account, app, or keyset

get_general_migration_guide · get_usage_metrics

How

1 tool - e.g. Get PubNub conceptual guides for specific use cases and integrations

how_to

Latest releases

v2.3.4 · 2026-05-20

Insights with api key

v2.3.3 · 2026-05-20

Migrate to hosted MCP · readme image · Add Illuminate information · Revert "Migrate to hosted MCP (#29)" · Tools for Insights and Illuminate · Update publish workflow

v2.3.2 · 2026-03-16

Remove outdated _memberships, _spaces, _users docs from SDK schema · Fix/removed obsolete documents · release/v2.3.2

04 · Who maintains PubNub MCP Server

PubNub MCP Server is maintained by pubnub. It's the only MCP server we track from this author; the repo dates to Apr 2025.

05 · Facts

category
other - ranked #117 of 848 actively-maintained other servers as of 2026-08-25.
registry
io.github.pubnub/mcp-server (active, first published 2025-09-19 · 13 versions)
packages
npm:@pubnub/mcp

06 · PubNub MCP Server FAQ

Is PubNub MCP Server still maintained?

Yes - as of 2026-08-25, its last commit was 2026-07-22. We re-verify nightly.

What can PubNub MCP Server do?

With this server connected, an agent can get general platform migration guides, fetch usage metrics for an account, app, or keyset, send messages or lightweight signals to PubNub channels in real-time, and fetch historical messages from one or more PubNub channels.

How do I install PubNub MCP Server?

Run `npx -y @pubnub/mcp`. The README documents one environment variable (PUBNUB_API_KEY) to set first. You can also paste the ready-made client config above.

Does PubNub MCP Server run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to PubNub MCP Server

More MCP servers to compare · Appsignal · Google Flights (pulsemcp) · Monarch Money · Onepassword · Pointsyeah

More TypeScript MCP servers · Crawlgraph MCP · Pudge UI · DynamoDB · Fetchpet · see all