PubNub MCP Server
io.github.pubnub/mcp-server
PubNub Model Context Protocol MCP Server for Cursor and Claude
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/pubnub/pubnub-mcp-server
- Website
- www.pubnub.com/networking-mcp-server
- Version
- 2.3.2
- Author
- pubnub (namespace verified by the registry)
- Source
- Official MCP registry (updated Mar 16, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Variables to fill in: PUBNUB_API_KEY, PUBNUB_PUBLISH_KEY, PUBNUB_SUBSCRIBE_KEY, PUBNUB_USER_ID, PUBNUB_EMAIL, PUBNUB_PASSWORD.
On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add mcp-server -e PUBNUB_API_KEY=YOUR_PUBNUB_API_KEY -e PUBNUB_PUBLISH_KEY=YOUR_PUBNUB_PUBLISH_KEY -e PUBNUB_SUBSCRIBE_KEY=YOUR_PUBNUB_SUBSCRIBE_KEY -e PUBNUB_USER_ID=YOUR_PUBNUB_USER_ID -e PUBNUB_EMAIL=YOUR_PUBNUB_EMAIL -e PUBNUB_PASSWORD=YOUR_PUBNUB_PASSWORD -- npx -y @pubnub/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@pubnub/[email protected]"
],
"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"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@pubnub/[email protected]"
],
"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"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pubnub/[email protected]"
],
"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"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
[PubNub MCP Server — L’Agora](https://lagora.dev/en/entry/io.github.pubnub/mcp-server)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.pubnub/mcp-server)HTML
<a href="https://lagora.dev/en/entry/io.github.pubnub/mcp-server"><img src="https://lagora.dev/badge/io.github.pubnub/mcp-server.svg?lang=en" alt="io.github.pubnub/mcp-server on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.