Rank
83
A Model Context Protocol (MCP) server for GitLab
Traction
No public download signal
Freshness
Updated 2d ago
Crawler Summary
PubNub Model Context Protocol MCP Server for Cursor and Claude PubNub MCP Server v2 This repository provides a CLI-based Model Context Protocol (MCP) server that exposes $1 and PubNub API resources to LLM-powered tools. This improves the LLM AI Agent's ability to understand and interact with PubNub's SDKs and APIs. Features - **📚 Comprehensive SDK Documentation** - Access detailed documentation, code examples, and implementation guides for 20+ programming languages including Ja Published capability contract available. No trust telemetry is available yet. 30 GitHub stars reported by the source. Last updated 2/25/2026.
Freshness
Last checked 2/25/2026
Best For
Contract is available with explicit auth and schema references.
Not Ideal For
@pubnub/mcp is not ideal for teams that need stronger public trust telemetry, lower setup complexity, or more explicit contract coverage before production rollout.
Evidence Sources Checked
editorial-content, capability-contract, runtime-metrics, public facts pack
PubNub Model Context Protocol MCP Server for Cursor and Claude PubNub MCP Server v2 This repository provides a CLI-based Model Context Protocol (MCP) server that exposes $1 and PubNub API resources to LLM-powered tools. This improves the LLM AI Agent's ability to understand and interact with PubNub's SDKs and APIs. Features - **📚 Comprehensive SDK Documentation** - Access detailed documentation, code examples, and implementation guides for 20+ programming languages including Ja
Public facts
6
Change events
0
Artifacts
0
Freshness
Feb 25, 2026
Published capability contract available. No trust telemetry is available yet. 30 GitHub stars reported by the source. Last updated 2/25/2026.
Trust score
Unknown
Compatibility
MCP
Freshness
Feb 25, 2026
Vendor
Pubnub
Artifacts
0
Benchmarks
0
Last release
2.3.1
Key links, install path, and a quick operational read before the deeper crawl record.
Summary
Published capability contract available. No trust telemetry is available yet. 30 GitHub stars reported by the source. Last updated 2/25/2026.
Setup snapshot
git clone https://github.com/pubnub/pubnub-mcp-server.gitSetup complexity is MEDIUM. Standard integration tests and API key provisioning are required before connecting this to production workloads.
Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.
Vendor
Pubnub
Protocol compatibility
MCP
Auth modes
mcp, api_key
Machine-readable schemas
OpenAPI or schema references published
Adoption signal
30 GitHub stars
Handshake status
UNKNOWN
Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.
Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.
Extracted files
0
Examples
5
Snippets
0
Languages
typescript
bash
claude mcp add PubNub --env PUBNUB_API_KEY=<your-api-key> --scope user --transport stdio -- npx -y @pubnub/mcp@latest
bash
codex mcp add PubNub --env PUBNUB_API_KEY=<your-api-key> -- npx -y @pubnub/mcp@latest
json
"mcpServers": {
"pubnub": {
"command": "npx",
"args": [
"-y",
"@pubnub/mcp@latest"
],
"env": {
"PUBNUB_API_KEY": "<your-api-key>"
}
}
}json
{
"env": {
"PUBNUB_API_KEY": "<your-api-key>",
"PUBNUB_PUBLISH_KEY": "pub-c-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"PUBNUB_SUBSCRIBE_KEY": "sub-c-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
}json
{
"mcpServers": {
"PubNub": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PUBNUB_API_KEY",
"pubnub/pubnub-mcp-server"
],
"env": {
"PUBNUB_API_KEY": "<your-api-key>",
}
}
}
}Full documentation captured from public sources, including the complete README when available.
Docs source
GITHUB MCP
Editorial quality
ready
PubNub Model Context Protocol MCP Server for Cursor and Claude PubNub MCP Server v2 This repository provides a CLI-based Model Context Protocol (MCP) server that exposes $1 and PubNub API resources to LLM-powered tools. This improves the LLM AI Agent's ability to understand and interact with PubNub's SDKs and APIs. Features - **📚 Comprehensive SDK Documentation** - Access detailed documentation, code examples, and implementation guides for 20+ programming languages including Ja
This repository provides a CLI-based Model Context Protocol (MCP) server that exposes PubNub SDK documentation and PubNub API resources to LLM-powered tools. This improves the LLM AI Agent's ability to understand and interact with PubNub's SDKs and APIs.

Before you begin, we highly recommend creating a Service Integration in the PubNub Admin Portal and providing your API key to the MCP server. While some basic features will work without it, adding an API key unlocks much more functionality. Alternatively, refer to Advanced Usage for instructions on configuring the server to work with a single PubNub keyset.
The installation process for an MCP server depends on the AI assistant you’re using. For the standard setup, you’ll need Node.js (v20.0.0 or higher).
Just click the link above, then select “Open in Visual Studio Code” on the page that appears. Back in VS Code, click “Install”. You’ll be prompted to enter your PubNub API Key. Once provided, your MCP server is ready to use. For additional configuration options, refer to Advanced usage.
Click the link above, then select "Open Cursor" on the page that appears. Back in Cursor, there's a "Install MCP Server?" prompt. Make sure to provide the value for variable holding your PubNub API Key. Once you do, click "Install". Your MCP server is now ready to use. For additional configuration options, refer to Advanced usage.
With Claude Code installed run this command to have the MCP added to your configuration. Make sure to replace the value of <your-api-key>:
claude mcp add PubNub --env PUBNUB_API_KEY=<your-api-key> --scope user --transport stdio -- npx -y @pubnub/mcp@latest
Server is added in the "User" scope which means it will be available accross all projects. For additional configuration options, refer to Advanced usage.
With Codex installed run this command to have the MCP added to your configuration. Make sure to replace the value of <your-api-key>:
codex mcp add PubNub --env PUBNUB_API_KEY=<your-api-key> -- npx -y @pubnub/mcp@latest
For additional configuration options, refer to Advanced usage.
Gemini CLI does not support automatic MCP installations. You'll have manually edit your settings.json file and add the section below. Make sure to replace the value of <your-api-key>:
"mcpServers": {
"pubnub": {
"command": "npx",
"args": [
"-y",
"@pubnub/mcp@latest"
],
"env": {
"PUBNUB_API_KEY": "<your-api-key>"
}
}
}
For additional configuration options, refer to Advanced usage.
PUBNUB_API_KEY - Your PubNub API Key. Required for all operations related to your account/keysetPUBNUB_PUBLISH_KEY - Optional PubNub publish key for real-time operationsPUBNUB_SUBSCRIBE_KEY - Optional PubNub subscribe key for real-time operationsPUBNUB_USER_ID - Optional 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/keysetPUBNUB_PASSWORD - (Deprecated - use API Key instead) Your PubNub account password. Required for all operations related to your account/keysetThe MCP server supports two modes for handling PubNub publish/subscribe keys:
When PUBNUB_PUBLISH_KEY and PUBNUB_SUBSCRIBE_KEY are not provided, the server operates in dynamic mode:
manage_keysets toolThis mode is ideal when you want the AI to help manage multiple applications or when the keyset should be determined at runtime.
When both PUBNUB_PUBLISH_KEY and PUBNUB_SUBSCRIBE_KEY are provided, the server operates in fixed mode:
This mode is ideal for focused workflows where you're working with a specific application and want streamlined interactions.
Example configuration with fixed keys:
{
"env": {
"PUBNUB_API_KEY": "<your-api-key>",
"PUBNUB_PUBLISH_KEY": "pub-c-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"PUBNUB_SUBSCRIBE_KEY": "sub-c-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
}
If you prefer to run the MCP server via Docker, use the snippet below in your editor's config file mcpServers or servers section of the mcp.json:
{
"mcpServers": {
"PubNub": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PUBNUB_API_KEY",
"pubnub/pubnub-mcp-server"
],
"env": {
"PUBNUB_API_KEY": "<your-api-key>",
}
}
}
}
This PubNub MCP server provides a comprehensive set of tools, resources, and prompts to help you build real-time applications. Below is a complete reference of all available functionality:
get_sdk_documentation - Get PubNub Core SDK documentation for specific programming languages and featuresget_chat_sdk_documentation - Get PubNub Chat SDK documentation for specific programming languages and featureshow_to - Get PubNub conceptual guides for specific use cases and integrationswrite_pubnub_app - Get PubNub best practices guide covering architecture, security, channel modeling, and optimizationmanage_apps - Manage PubNub apps with operations: list, create, and update (requires API key authentication)manage_keysets - Manage PubNub keysets with operations: get, list, create, and update (requires API key authentication)get_usage_metrics - Fetch usage metrics for an account, app, or keyset (requires API key authentication)send_pubnub_message - Send messages or lightweight signals to PubNub channels in real-timesubscribe_and_receive_pubnub_messages - Subscribe to channels and receive real-time messages with configurable timeout and message limitsget_pubnub_messages - Fetch historical messages from one or more PubNub channelsget_pubnub_presence - Get presence data using HereNow (channel occupancy) or WhereNow (user's channels)manage_app_context - Manage PubNub App Context (Objects API) for users, channels, and memberships with full CRUD operationshipaa-chat-short - Quick prompt to create HIPAA compliant chat applicationshipaa-chat-long - Detailed prompt for HIPAA compliant chat with Pub/Sub, Presence, and App Contextreact-app-short - Scaffold a React app with PubNub Pub/Sub and Presencereact-app-long - Comprehensive React app with real-time messaging, presence indicators, and user metadatagamelobby-short - Build multiplayer game lobby with chat and presencegamelobby-long - Advanced multiplayer lobby with team assignments and real-time featuresoem-client-management - Create apps and configure keysets for OEM client deploymentsmulti-tenant-onboarding-short - Implement automated tenant onboarding for SaaS applicationsmulti-tenant-onboarding-long - Enterprise-grade multi-tenant onboarding with data isolation and error handlingpubnub_sdk_docs - Access PubNub SDK documentation via URI scheme: pubnub-docs://sdk/{language}/{feature}Supported languages: asyncio, c-core, c-sharp, dart, freertos, go, java, javascript, kotlin, mbed, objective-c, php, posix-c, posix-cpp, python, ruby, rust, swift, unity, unreal, windows-c, windows-cpp
Supported features: access-manager, access-manager-v2, channel-groups, configuration, encryption, files, message-actions, misc, mobile-push, objects, presence, publish-and-subscribe, storage-and-playback
pubnub_chat_sdk_docs - Access PubNub Chat SDK documentation via URI scheme: pubnub-docs://chat-sdk/{language}/{feature}Supported Languages: javascript, kotlin, swift, unity, unreal
Supported Features: channels-create, channels-delete, channels-details, channels-invite, channels-join, channels-leave, channels-list, channels-membership, channels-references, channels-typing-indicator, channels-updates, channels-watch, connection-management, custom-events, error-logging, messages-delete, messages-details, messages-drafts, messages-files, messages-forward, messages-history, messages-links, messages-moderation, messages-pinned, messages-quotes, messages-reactions, messages-read-receipts, messages-restore, messages-send-receive, messages-threads, messages-unread, messages-updates, moderation, push-notifications, users-create, users-delete, users-details, users-list, users-mentions, users-moderation, users-moderation-user, users-permissions, users-presence, users-updates, utility-methods
Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.
Contract coverage
Status
ready
Auth
mcp, api_key
Streaming
Yes
Data region
global
Protocol support
Requires: mcp, lang:typescript, streaming
Forbidden: none
Guardrails
Operational confidence: medium
curl -s "https://xpersona.co/api/v1/agents/mcp-pubnub-pubnub-mcp-server/snapshot"
curl -s "https://xpersona.co/api/v1/agents/mcp-pubnub-pubnub-mcp-server/contract"
curl -s "https://xpersona.co/api/v1/agents/mcp-pubnub-pubnub-mcp-server/trust"
Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.
Trust signals
Handshake
UNKNOWN
Confidence
unknown
Attempts 30d
unknown
Fallback rate
unknown
Runtime metrics
Observed P50
unknown
Observed P95
unknown
Rate limit
unknown
Estimated cost
unknown
Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.
Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.
Rank
83
A Model Context Protocol (MCP) server for GitLab
Traction
No public download signal
Freshness
Updated 2d ago
Rank
80
A Model Context Protocol (MCP) server for GitLab
Traction
No public download signal
Freshness
Updated 2d ago
Rank
74
Expose OpenAPI definition endpoints as MCP tools using the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)
Traction
No public download signal
Freshness
Updated 2d ago
Rank
72
An actix_web backend for the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)
Traction
No public download signal
Freshness
Updated 2d ago
Contract JSON
{
"contractStatus": "ready",
"authModes": [
"mcp",
"api_key"
],
"requires": [
"mcp",
"lang:typescript",
"streaming"
],
"forbidden": [],
"supportsMcp": true,
"supportsA2a": false,
"supportsStreaming": true,
"inputSchemaRef": "https://github.com/pubnub/pubnub-mcp-server#input",
"outputSchemaRef": "https://github.com/pubnub/pubnub-mcp-server#output",
"dataRegion": "global",
"contractUpdatedAt": "2026-02-24T19:46:46.477Z",
"sourceUpdatedAt": "2026-02-24T19:46:46.477Z",
"freshnessSeconds": 4435480
}Invocation Guide
{
"preferredApi": {
"snapshotUrl": "https://xpersona.co/api/v1/agents/mcp-pubnub-pubnub-mcp-server/snapshot",
"contractUrl": "https://xpersona.co/api/v1/agents/mcp-pubnub-pubnub-mcp-server/contract",
"trustUrl": "https://xpersona.co/api/v1/agents/mcp-pubnub-pubnub-mcp-server/trust"
},
"curlExamples": [
"curl -s \"https://xpersona.co/api/v1/agents/mcp-pubnub-pubnub-mcp-server/snapshot\"",
"curl -s \"https://xpersona.co/api/v1/agents/mcp-pubnub-pubnub-mcp-server/contract\"",
"curl -s \"https://xpersona.co/api/v1/agents/mcp-pubnub-pubnub-mcp-server/trust\""
],
"jsonRequestTemplate": {
"query": "summarize this repo",
"constraints": {
"maxLatencyMs": 2000,
"protocolPreference": [
"MCP"
]
}
},
"jsonResponseTemplate": {
"ok": true,
"result": {
"summary": "...",
"confidence": 0.9
},
"meta": {
"source": "GITHUB_MCP",
"generatedAt": "2026-04-17T03:51:27.360Z"
}
},
"retryPolicy": {
"maxAttempts": 3,
"backoffMs": [
500,
1500,
3500
],
"retryableConditions": [
"HTTP_429",
"HTTP_503",
"NETWORK_TIMEOUT"
]
}
}Trust JSON
{
"status": "unavailable",
"handshakeStatus": "UNKNOWN",
"verificationFreshnessHours": null,
"reputationScore": null,
"p95LatencyMs": null,
"successRate30d": null,
"fallbackRate": null,
"attempts30d": null,
"trustUpdatedAt": null,
"trustConfidence": "unknown",
"sourceUpdatedAt": null,
"freshnessSeconds": null
}Capability Matrix
{
"rows": [
{
"key": "MCP",
"type": "protocol",
"support": "supported",
"confidenceSource": "contract",
"notes": "Confirmed by capability contract"
},
{
"key": "PubNub",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "LLM",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "MCP",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "Model Context Protocol",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
}
],
"flattenedTokens": "protocol:MCP|supported|contract capability:PubNub|supported|profile capability:LLM|supported|profile capability:MCP|supported|profile capability:Model Context Protocol|supported|profile"
}Facts JSON
[
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Pubnub",
"href": "https://www.pubnub.com/networking-mcp-server",
"sourceUrl": "https://www.pubnub.com/networking-mcp-server",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-02-25T03:23:05.986Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "30 GitHub stars",
"href": "https://github.com/pubnub/pubnub-mcp-server",
"sourceUrl": "https://github.com/pubnub/pubnub-mcp-server",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-02-25T03:23:05.986Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "MCP",
"href": "https://xpersona.co/api/v1/agents/mcp-pubnub-pubnub-mcp-server/contract",
"sourceUrl": "https://xpersona.co/api/v1/agents/mcp-pubnub-pubnub-mcp-server/contract",
"sourceType": "contract",
"confidence": "high",
"observedAt": "2026-02-24T19:46:46.477Z",
"isPublic": true
},
{
"factKey": "auth_modes",
"category": "compatibility",
"label": "Auth modes",
"value": "mcp, api_key",
"href": "https://xpersona.co/api/v1/agents/mcp-pubnub-pubnub-mcp-server/contract",
"sourceUrl": "https://xpersona.co/api/v1/agents/mcp-pubnub-pubnub-mcp-server/contract",
"sourceType": "contract",
"confidence": "high",
"observedAt": "2026-02-24T19:46:46.477Z",
"isPublic": true
},
{
"factKey": "schema_refs",
"category": "artifact",
"label": "Machine-readable schemas",
"value": "OpenAPI or schema references published",
"href": "https://github.com/pubnub/pubnub-mcp-server#input",
"sourceUrl": "https://xpersona.co/api/v1/agents/mcp-pubnub-pubnub-mcp-server/contract",
"sourceType": "contract",
"confidence": "high",
"observedAt": "2026-02-24T19:46:46.477Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://xpersona.co/api/v1/agents/mcp-pubnub-pubnub-mcp-server/trust",
"sourceUrl": "https://xpersona.co/api/v1/agents/mcp-pubnub-pubnub-mcp-server/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
]Change Events JSON
[]
Sponsored
Ads related to @pubnub/mcp and adjacent AI workflows.