What is the PubNub MCP Server MCP server?
PubNub Model Context Protocol MCP Server for Cursor and Claude
How to install PubNub MCP Server
Copy-paste configuration for popular MCP clients.
PUBNUB_API_KEYsecretYour PubNub API Key. Required for all operations related to your account/keyset
PUBNUB_PUBLISH_KEYsecretOptional PubNub publish key for real-time operations
PUBNUB_SUBSCRIBE_KEYsecretOptional PubNub subscribe key for real-time operations
PUBNUB_USER_IDOptional variable that can be provided to change the User ID for the SDK (real-time) operations (default: pubnub-mcp)
PUBNUB_EMAIL(Deprecated - use API Key instead) Your PubNub account email. Required for all operations related to your account/keyset
PUBNUB_PASSWORDsecret(Deprecated - use API Key instead) Your PubNub account password. Required for all operations related to your account/keyset
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@pubnub/mcp"
],
"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>"
}
}
}
}{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@pubnub/mcp"
],
"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>"
}
}
}
}{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@pubnub/mcp"
],
"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>"
}
}
}
}{
"servers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pubnub/mcp"
],
"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 mcp add mcp-server --env PUBNUB_API_KEY=<YOUR_PUBNUB_API_KEY> --env PUBNUB_PUBLISH_KEY=<YOUR_PUBNUB_PUBLISH_KEY> --env PUBNUB_SUBSCRIBE_KEY=<YOUR_PUBNUB_SUBSCRIBE_KEY> --env PUBNUB_USER_ID=<YOUR_PUBNUB_USER_ID> --env PUBNUB_EMAIL=<YOUR_PUBNUB_EMAIL> --env PUBNUB_PASSWORD=<YOUR_PUBNUB_PASSWORD> -- npx -y @pubnub/mcpRelated MCP servers
Scrapling MCP Server
Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.
Chrome DevTools MCP
Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.
com.puter/mcp-server
Let AI agents manage your Puter files, websites, and serverless workers over MCP.
Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.
Run arbitrary shell commands from an MCP-connected AI agent.
Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.