PubNub MCP Server for Grok
io.github.pubnub/mcp-server
PubNub Model Context Protocol MCP Server for Cursor and Claude
client:Grok
transport:stdio
runtime:npm
Install PubNub MCP Server in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pubnub/mcp"
],
"env": {
"PUBNUB_API_KEY": "<PUBNUB_API_KEY>",
"PUBNUB_PUBLISH_KEY": "<PUBNUB_PUBLISH_KEY>",
"PUBNUB_SUBSCRIBE_KEY": "<PUBNUB_SUBSCRIBE_KEY>",
"PUBNUB_USER_ID": "<PUBNUB_USER_ID>",
"PUBNUB_EMAIL": "<PUBNUB_EMAIL>",
"PUBNUB_PASSWORD": "<PUBNUB_PASSWORD>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs