PubNub Model Context Protocol (MCP) Server for Cursor IDE
@stephenlb
About PubNub Model Context Protocol (MCP) Server for Cursor IDE
PubNub MCP Model Context Protocol Server for use in Cursor, Claude Desktop, Claude Code and OpenAI Codex and more!
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"pubnub-mcp-server-stephenlb": {
"command": "npx",
"args": [
"-y",
"@pubnub/mcp"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is PubNub Model Context Protocol (MCP) Server for Cursor IDE?
The PubNub Model Context Protocol (MCP) Server for Cursor IDE is a CLI-based MCP server that exposes PubNub SDK documentation and PubNub Functions resources to LLM-powered tools, enabling prompt-driven access to PubNub capabilities.
How to use PubNub Model Context Protocol (MCP) Server for Cursor IDE?
Install via npx -y @pubnub/mcp (requires Node.js >= 18). Configure in Cursor IDE by adding a mcp.json entry with command: "npx", args: ["-y", "@pubnub/mcp"], and optional PubNub keys as environment variables. Invoke resources like pubnub://docs/javascript or tools like publish_pubnub_message from the chat interface.
Key features of PubNub Model Context Protocol (MCP) Server for Cursor IDE
- Fetches formatted PubNub JavaScript, Python, and Java SDK documentation
- Accesses PubNub Functions documentation from a static Markdown file
- Publishes messages to PubNub channels
- Lists available PubNub Functions
- Retrieves message history and presence information
- Works with Cursor IDE, Claude Code, and Claude Desktop
Use cases of PubNub Model Context Protocol (MCP) Server for Cursor IDE
- Query PubNub SDK docs directly from an LLM chat (e.g., "Show me JavaScript SDK docs for subscribe()")
- Publish messages to PubNub channels using natural language prompts
- List available PubNub Functions resources
- Fetch Python or Java SDK documentation for specific methods
FAQ from PubNub Model Context Protocol (MCP) Server for Cursor IDE
What are the runtime requirements?
Node.js >= 18 and npm are required.
Do I need a PubNub account and API keys?
A PubNub account and API keys are optional for live actions like publishing messages; the server can still serve static documentation without them.
How do I configure the server in Cursor IDE?
Add a mcp.json entry (global at ~/.cursor/mcp.json or project-level .cursor/mcp.json) with the command npx, args ["-y", "@pubnub/mcp"], and optionally set environment variables for PUBNUB_SUBSCRIBE_KEY and PUBNUB_PUBLISH_KEY.
What transport protocol does the server use?
The server communicates over STDIN/STDOUT using JSON-RPC v2.0.
What documentation resources are available?
Resources include PubNub JavaScript, Python, and Java SDK docs, plus a static Markdown file for PubNub Functions.
Frequently asked questions
What are the runtime requirements?
Node.js >= 18 and npm are required.
Do I need a PubNub account and API keys?
A PubNub account and API keys are optional for live actions like publishing messages; the server can still serve static documentation without them.
How do I configure the server in Cursor IDE?
Add a `mcp.json` entry (global at `~/.cursor/mcp.json` or project-level `.cursor/mcp.json`) with the command `npx`, args `["-y", "@pubnub/mcp"]`, and optionally set environment variables for `PUBNUB_SUBSCRIBE_KEY` and `PUBNUB_PUBLISH_KEY`.
What transport protocol does the server use?
The server communicates over STDIN/STDOUT using JSON-RPC v2.0.
What documentation resources are available?
Resources include PubNub JavaScript, Python, and Java SDK docs, plus a static Markdown file for PubNub Functions.
Basic information
More Developer Tools MCP servers

Codex Pets
astandrikPublic read-only MCP server for discovering, inspecting, installing, and sharing approved Codex-compatible animated pet packs.

PuzzleTide Puzzle Generator
Caravaca-LabsWord search generator, crossword generator, and sudoku generator + solver as a local-first MCP server. 15 deterministic tools: printable PDF puzzle worksheets, themed word banks, and verifiable LLM evals. From the makers
Agent Conductor
icohangar-opsAgent conductor — AGENTS.md contract parser, SKILL.md registry, CHP decision engine over MCP
CodeSentinel
icohangar-opsCodebase health as MCP tools: dead code, circular dependencies, coupling, architectural drift.
MCP Server By TestMu AI
TestMu AITestMu AI MCP Server lets developers run, debug, and triage tests through natural language directly from their IDE (Cursor, Claude, GitHub Copilot, and other MCP clients). It exposes five tools — HyperExecute (test orche
Comments