Basic information
About PubNub MCP Server
Integrate PubNub's realtime messaging APIs and SDK info into AI assistants for seamless communication and instant documentation access.
PubNub is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by pubnub. Supported transport: stdio. Runtime: TypeScript. The repository has 32 GitHub stars. Source code is hosted on github.com. Related topics: api, claude-code, curosr, developer-tools, docs.
Setup
{
"mcpServers": {
"pubnub": {
"command": "npx",
"args": [
"-y",
"@pubnub/mcp"
],
"env": {
"PUBNUB_PUBLISH_KEY": "YOUR_PUBLISH_KEY",
"PUBNUB_SUBSCRIBE_KEY": "YOUR_SUBSCRIBE_KEY"
}
}
}
}
{
"mcpServers": {
"pubnub": {
"command": "npx",
"args": [
"-y",
"@pubnub/mcp"
],
"env": {
"PUBNUB_PUBLISH_KEY": "YOUR_PUBLISH_KEY",
"PUBNUB_SUBSCRIBE_KEY": "YOUR_SUBSCRIBE_KEY"
}
}
}
}
{
"servers": {
"pubnub": {
"command": "npx",
"args": [
"-y",
"@pubnub/mcp"
],
"env": {
"PUBNUB_PUBLISH_KEY": "YOUR_PUBLISH_KEY",
"PUBNUB_SUBSCRIBE_KEY": "YOUR_SUBSCRIBE_KEY"
}
}
}
}
PubNub MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"pubnub": {
"command": "npx",
"args": [
"-y",
"@pubnub/mcp"
],
"env": {
"PUBNUB_PUBLISH_KEY": "YOUR_PUBLISH_KEY",
"PUBNUB_SUBSCRIBE_KEY": "YOUR_SUBSCRIBE_KEY"
}
}
}
}
PubNub MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is PubNub?
A hosted Model Context Protocol (MCP) server that exposes PubNub SDK documentation and PubNub API resources to LLM‑powered tools. It improves LLM AI agents’ understanding of PubNub’s SDKs and APIs. Uses HTTP transport with OAuth authentication.
How to use PubNub?
Connect your AI assistant to https://mcp.pubnub.com — no installation required, authentication is automatic via OAuth. For AI tools that do not support remote MCP servers, run the server locally with npx @pubnub/mcp@latest. Before using the local server, create a PubNub Service Integration and provide the API key.
Key features of PubNub
- Exposes SDK documentation for 20+ programming languages
- Create, configure, and manage PubNub applications and keysets
- Send and receive real‑time messages and signals across channels
- Full CRUD for user profiles, channels, and membership relationships
- Track real‑time user presence and activity across channels
- View aggregated analytics and billable usage metrics
Use cases of PubNub
- Building live chat, notifications, or real‑time updates with PubNub
- Managing PubNub application keysets and feature configuration via AI assistant
- Monitoring user presence and activity in chat or community apps
- Exploring SDK code examples and implementation guides for multiple languages
- Analyzing billable usage and performance patterns across apps and keysets
Frequently asked questions
1 What is the hosted server?
It is a managed MCP server at https://mcp.pubnub.com that requires no installation and handles authentication automatically via OAuth.
2 Do I need to install anything to use it?
No, if your AI tool supports remote MCP servers (e.g., Cursor, VS Code, Claude Desktop), you only provide the URL. Otherwise, install Node.js v20+ and run npx @pubnub/mcp@latest locally.
3 Which AI tools are supported?
The server works with Cursor, Visual Studio Code, Claude Code, Claude Desktop, Codex, Codex Desktop, Gemini CLI, and OpenCode. Specific setup instructions are provided for each.
4 What programming languages does the SDK documentation cover?
JavaScript, Python, Java, Swift, Kotlin, C#, Ruby, Go, and many more — 20+ languages in total.
5 Do I need a PubNub API key?
Yes, for the local server an API key is highly recommended to unlock full functionality. For the hosted server, OAuth handles authentication automatically.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In