PubNub MCP Server
PubNub Model Context Protocol MCP Server for Cursor and Claude
stdio v2.3.1
Connection Configuration
Add this to your AI agent's MCP config file to connect.
Run in your terminal:
claude mcp add io.github.pubnub--mcp-server -- npx
Server Details
Transport
stdio
Authentication
NoneVersion
v2.3.1
Server Name
io.github.pubnub/mcp-server
Last Updated
Feb 17, 2026
Get Started
How to install and connect this MCP server.
Required Configuration
Environment variables you must provide when running this server.
| Variable | Required |
|---|---|
PUBNUB_API_KEY secret | Optional |
PUBNUB_PUBLISH_KEY secret | Optional |
PUBNUB_SUBSCRIBE_KEY secret | Optional |
PUBNUB_USER_ID | Optional |
PUBNUB_EMAIL | Optional |
PUBNUB_PASSWORD secret | Optional |