home / mcp / pusher channels mcp server
Provides real-time messaging, channel querying, and user management APIs for Pusher Channels via MCP.
Configuration
View docs{
"mcpServers": {
"crashbytes-pusher-mcp-server": {
"command": "node",
"args": [
"/path/to/pusher-mcp-server/build/index.js"
],
"env": {
"PUSHER_KEY": "YOUR_KEY",
"PUSHER_APP_ID": "YOUR_APP_ID",
"PUSHER_SECRET": "YOUR_SECRET",
"PUSHER_CLUSTER": "YOUR_CLUSTER"
}
}
}
}You can use the Pusher Channels MCP Server to enable AI agents to send real-time messages, query channels, and manage users through Pusher Channels. This server provides practical MCP endpoints to drive live communications, presence information, and channel access control for your applications.
You will run the MCP server locally or remotely and connect your MCP client to it. The server exposes a set of endpoints that let you trigger events on channels, query channel details, manage presence information, authorize private/presence channels, and disconnect users as needed. Use these capabilities to build responsive AI-assisted workflows that rely on real-time messaging.
Prerequisites: Ensure you have Node.js 18 or later and a Pusher Channels account (free tier is available). Install the MCP server globally or run it from source.
npm install -g @crashbytes/pusher-mcp-server
```
```
# Or clone and build from source
git clone https://github.com/CrashBytes/pusher-mcp-server.git
cd pusher-mcp-server
npm install
npm run buildConfiguration and usage details are provided in the environment setup and runtime examples that follow. You will supply four environment variables from your Pusher dashboard to authenticate and route requests.
If you install the server locally, you can run it with Node.js by pointing to the built entry point and passing your Pusher credentials as environment variables.
If you install the server globally via npm, you can start it directly using the global binary and the same environment variables.
Send an event to one or more channels
Send up to 10 events in a single API call
List active channels with optional prefix filter
Get subscription/user count for a channel
List users connected to a presence channel
Generate auth tokens for private/presence channels
Disconnect all connections for a user