US public-records intelligence for AI agents — companies, SEC, courts, spending, licenses.
PubNub MCP Server
Published by pubnubPubNub Model Context Protocol MCP Server for Cursor and Claude
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 2.3.2
- SOURCE CHECKED
- Dec 3, 2026
Quick answers
How do I add PubNub MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --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_PASSWORD=<your-pubnub-password>' --transport stdio pubnub -- npx -y @pubnub/mcpReplace the <your-…> placeholder with your own PUBNUB_API_KEY and PUBNUB_PUBLISH_KEY and PUBNUB_SUBSCRIBE_KEY and PUBNUB_PASSWORD.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"pubnub": {
"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_PASSWORD": "<your-pubnub-password>"
}
}
}
}Replace the <your-…> placeholder with your own PUBNUB_API_KEY and PUBNUB_PUBLISH_KEY and PUBNUB_SUBSCRIBE_KEY and PUBNUB_PASSWORD.
CodexCommand
Run this in your terminal:
codex mcp add pubnub --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_PASSWORD=<your-pubnub-password>' -- npx -y @pubnub/mcpReplace the <your-…> placeholder with your own PUBNUB_API_KEY and PUBNUB_PUBLISH_KEY and PUBNUB_SUBSCRIBE_KEY and PUBNUB_PASSWORD.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"pubnub": {
"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_PASSWORD": "<your-pubnub-password>"
}
}
}
}Replace the <your-…> placeholder with your own PUBNUB_API_KEY and PUBNUB_PUBLISH_KEY and PUBNUB_SUBSCRIBE_KEY and PUBNUB_PASSWORD.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"pubnub": {
"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_PASSWORD": "<your-pubnub-password>"
}
}
}
}Replace the <your-…> placeholder with your own PUBNUB_API_KEY and PUBNUB_PUBLISH_KEY and PUBNUB_SUBSCRIBE_KEY and PUBNUB_PASSWORD.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use PubNub MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does PubNub MCP Server need an API key?
To run it on your computer, set PUBNUB_API_KEY, PUBNUB_PUBLISH_KEY, PUBNUB_SUBSCRIBE_KEY and PUBNUB_PASSWORD first, with values from the publisher.
Is PubNub MCP Server official?
It's published by pubnub. The Official MCP Registry accepts names under io.github.pubnub only from the GitHub account or organisation pubnub. We last checked its listing on Dec 3, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
npm · @pubnub/mcp@2.3.2