
PubNub MCP Server
MCP server that lets AI coding assistants access PubNub docs and manage apps/keysets, plus messaging, presence, and channel/user objects.
🛡️ AgentReady threat assessment
MAESTRO 7-layer threat model + OWASP AIVSS risk score for PubNub MCP Server, derived from its capabilities.
These scores are auto-generated from public information (the agent's own listing, docs, and repository) using the canonical OWASP AIVSS formula and the MAESTRO framework — an estimate for guidance, not a penetration test, audit, or certification. See the scoring methodology. Are you the vendor? Factual corrections are free.
Overview
PubNub MCP Server is a CLI-based Model Context Protocol (MCP) server that connects MCP-compatible AI assistants (like Cursor, VS Code, Claude Code, Codex, and others) to PubNub’s SDK documentation and PubNub account/API resources. It helps agents retrieve SDK and Chat SDK documentation across many languages, manage PubNub apps and keysets (including enabling features like persistence, files, presence, and app context), and perform real-time operations such as publish/subscribe, signals, presence, and user/channel objects. The server supports dynamic mode (keys provided per tool call) and fixed mode (publish/subscribe keys set via environment variables) and can be installed via npm or run via Docker, with authentication typically provided using a PubNub API key.
Key features
- model context protocol
- pubnub
- real-time messaging
- publish subscribe
- presence
- app keysets
- sdk documentation
- developer tooling
- docker
- npm cli
Use cases
- Building PubNub-powered real-time features (chat, notifications, live updates) using natural-language requests in an AI coding assistant.
- Looking up PubNub SDK and Chat SDK documentation and examples for many programming languages directly inside agent workflows.
- Managing PubNub apps and keysets (create, list, update) and configuring keyset capabilities from an MCP client.
- Troubleshooting PubNub integrations by having an agent inspect docs and apply the correct SDK/API usage.