Skip to main content
Glama
CrashBytes

Pusher Channels MCP Server

by CrashBytes

Pusher Channels MCP Server

An MCP (Model Context Protocol) server that gives AI agents the ability to send realtime messages, query channels, and manage users through Pusher Channels.

Tools

Tool

Description

trigger_event

Send an event to one or more channels

trigger_batch_events

Send up to 10 events in a single API call

list_channels

List active channels with optional prefix filter

get_channel_info

Get subscription/user count for a channel

get_presence_users

List users connected to a presence channel

authorize_channel

Generate auth tokens for private/presence channels

terminate_user_connections

Disconnect all connections for a user

Related MCP server: agent-comm

Prerequisites

Installation

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 build

Configuration

You need four environment variables from your Pusher dashboard:

Variable

Description

PUSHER_APP_ID

Your Pusher app ID

PUSHER_KEY

Your Pusher app key

PUSHER_SECRET

Your Pusher app secret

PUSHER_CLUSTER

Your Pusher cluster (e.g. us2, eu, ap1)

Usage with Claude Desktop

Add the following to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "pusher": {
      "command": "node",
      "args": ["/path/to/pusher-mcp-server/build/index.js"],
      "env": {
        "PUSHER_APP_ID": "your_app_id",
        "PUSHER_KEY": "your_app_key",
        "PUSHER_SECRET": "your_app_secret",
        "PUSHER_CLUSTER": "us2"
      }
    }
  }
}

If installed globally via npm:

{
  "mcpServers": {
    "pusher": {
      "command": "pusher-mcp-server",
      "env": {
        "PUSHER_APP_ID": "your_app_id",
        "PUSHER_KEY": "your_app_key",
        "PUSHER_SECRET": "your_app_secret",
        "PUSHER_CLUSTER": "us2"
      }
    }
  }
}

Usage with Claude Code

claude mcp add pusher -- node /path/to/pusher-mcp-server/build/index.js

Set the environment variables in your shell before running, or configure them in your Claude Code MCP settings.

Example Prompts

Once configured, you can ask Claude things like:

  • "Send a 'deploy-complete' event to the notifications channel with the message 'v2.1.0 deployed'"

  • "Show me all active presence channels"

  • "How many users are on the presence-lobby channel?"

  • "Disconnect user abc123 from all channels"

Development

npm install
npm run dev          # Run with tsx (hot reload)
npm run build        # Compile TypeScript
npm run type-check   # Check types without emitting

Tutorial

For a step-by-step guide on building this server from scratch, see the full tutorial on CrashBytes.

License

MIT

Available Tools

7 tools
authorize_channelA

Generate an authorization token for a private or presence channel. Useful when building auth endpoints for Pusher client connections.

ParametersJSON Schema
NameRequiredDescriptionDefault
channelYesPrivate or presence channel name (must start with 'private-' or 'presence-')
socketIdYesThe socket ID from the client connection
presenceDataNoRequired for presence channels — identifies the connecting user

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are present, so the description carries the burden. It states that the tool generates a token, implying a read-only operation, but it does not explicitly disclose side effects, authentication requirements, or error behavior. It adds some context about Pusher but lacks explicit transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence that efficiently communicates the core purpose and use case. No wasted words or redundant detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has a simple scope, complete schema coverage, and no output schema. The description provides the key use-case context. It could mention that presenceData is required for presence channels, but the schema already does, so the description is adequately complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all parameters in detail. The description adds general context about building auth endpoints but no parameter-specific semantics beyond what the schema provides. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific verb and resource: 'Generate an authorization token for a private or presence channel.' It also distinguishes itself from sibling tools by focusing on auth tokens rather than events, channel info, or user connections.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description says 'Useful when building auth endpoints for Pusher client connections,' which clearly indicates the intended use case. It doesn't explicitly mention alternatives, but sibling tools serve different purposes, so the guidance is sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_channel_infoA

Get detailed information about a specific Pusher channel, including whether it is occupied and optional subscription/user counts.

ParametersJSON Schema
NameRequiredDescriptionDefault
infoNoAdditional attributes to request
channelYesThe channel name to query

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Without annotations, the description carries the burden of behavioral disclosure. It explains the returned data (occupancy and optional counts) but does not explicitly note that the operation is read-only, any authentication requirements, or error behavior. The verb 'Get' implies safety, but more detail would improve transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence that efficiently conveys the tool's purpose and key optional behavior without any redundant or extraneous content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given its simplicity (2 parameters, no output schema), the description adequately covers the main functionality and return expectations. It could be more complete by mentioning error handling or a sample output, but the current level is sufficient for an agent to decide when to use it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for both parameters. The description adds minimal semantic value by mentioning 'optional subscription/user counts,' which aligns with the 'info' parameter, but does not clarify the enum values or provide additional context beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function with a specific verb ('Get') and resource ('detailed information about a specific Pusher channel'). It distinguishes itself from sibling tools like list_channels by focusing on a single named channel, and mentions unique aspects like occupancy and optional counts.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not provide any explicit guidance on when to use this tool versus alternatives such as list_channels or get_presence_users. It implies usage when you have a specific channel, but lacks direct comparisons or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_presence_usersA

List all users currently connected to a presence channel. Only works with channels that start with 'presence-'.

ParametersJSON Schema
NameRequiredDescriptionDefault
channelYesPresence channel name (must start with 'presence-')

TDQS

A3.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the burden of disclosing behavior. It states the read-only nature ('List') and the real-time aspect ('currently connected'), but it does not disclose what happens for invalid channels, whether pagination exists, or what the response structure is. This is minimal transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence that states the action and the key constraint. It contains no filler and earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the absence of an output schema and annotations, the description does not specify return format or error conditions. It provides enough to understand the core function but lacks details needed for robust invocation, such as response shape or edge-case behavior. For a simple single-parameter tool, this is adequate but not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema documentation for the single 'channel' parameter includes a description, pattern, and length constraints, achieving 100% coverage. The tool description only repeats the prefix requirement without adding further parameter semantics, so it stays at the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb 'List' and the resource 'users currently connected to a presence channel', clearly differentiating from sibling tools like list_channels and get_channel_info. The constraint 'Only works with channels that start with "presence-"' further sharpens the scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides a clear precondition (presence- prefix) and implies the use case of retrieving current users of a presence channel. However, it does not explicitly mention alternatives or when not to use this tool beyond the prefix constraint, resulting in a clear but not fully explicit guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_channelsA

List all active channels in your Pusher app. Optionally filter by prefix (e.g. 'presence-' or 'private-') and request subscription or user counts.

ParametersJSON Schema
NameRequiredDescriptionDefault
infoNoAdditional attributes to include for each channel
prefixNoFilter channels by prefix (e.g. 'presence-', 'private-chat-')

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses that only 'active' channels are listed and that counts may be included, but it does not mention pagination, rate limits, authentication requirements, or response structure. For a read-only listing tool, this is adequate but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the main action ('List all active channels') and compactly describes the optional parameters. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description confirms a list of channels but does not detail the return format (e.g., channel names, attributes) or mention pagination/limits. Given the tool's simplicity and optional parameters, the description is mostly complete but could benefit from one clarifying phrase about response shape.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% — both parameters (info, prefix) have descriptions, including examples. The description rephrases these options but adds little beyond the schema's own text. Baseline is 3 since the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'List all active channels in your Pusher app', which is a specific verb+resource. It distinguishes itself from siblings like get_channel_info (which targets a single channel) by emphasizing the listing of all channels. The mention of optional filters and counts adds scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains the tool's context ('List all active channels') and options ('filter by prefix', 'request subscription or user counts'), but does not explicitly state when to avoid it or name alternatives. It implies use for broad listing but lacks explicit 'when not to use' guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

terminate_user_connectionsA

Disconnect all connections for a specific user. Useful for moderation or security — forces a user offline across all channels.

ParametersJSON Schema
NameRequiredDescriptionDefault
userIdYesThe user ID to disconnect from all channels

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses the core behavior (disconnects all connections, forces offline) but omits details like irreversibility, required permissions, or side effects (e.g., the user can reconnect). This is acceptable for a simple action but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the action, and every word adds value. It avoids fluff and is immediately scannable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has a single simple parameter, no output schema, and no annotations. The description effectively covers what it does and why someone would use it, which is complete enough for an agent to invoke correctly in context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already describes 'userId' as 'The user ID to disconnect from all channels' with 100% coverage. The tool description adds no new parameter semantics beyond restating it. Baseline 3 applies because the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Disconnect') and resource ('all connections for a specific user'), clearly distinguishing it from sibling tools that handle events, channels, presence, and authorization. It also states the expected outcome: forces the user offline across all channels.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides a clear use case ('useful for moderation or security') and implies when to use it. It does not explicitly mention when not to use it or name alternative tools, but none of the siblings handle disconnecting user connections, so the guidance is adequate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

trigger_batch_eventsA

Send up to 10 events in a single API call. More efficient than triggering events individually when you need to notify multiple channels.

ParametersJSON Schema
NameRequiredDescriptionDefault
eventsYesArray of events to send (max 10)

TDQS

A3.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of disclosure. It mentions the batch limit but fails to explain authentication requirements, partial failure behavior, response format, or side effects. For a mutating operation, this lack of behavioral detail is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two short sentences. The first states the core action and limit, the second provides usage context and efficiency reasoning. Every word earns its place, with no redundancy or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

While the schema covers parameters, the absence of an output schema and any description of return values or error handling leaves the context incomplete. The tool has batch semantics and nested objects, so some guidance on expected results or failure modes would improve completeness. The description is adequate but not comprehensive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already describes the 'events' array and all nested properties (channel, name, data, socketId) with descriptions, so the baseline is 3. The tool description adds minimal semantic value beyond noting multi-channel notification, which is already implicit in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool sends up to 10 events in one API call, using a specific verb ('Send') and resource ('events'). It distinguishes from the sibling tool 'trigger_event' by explicitly mentioning the batch capability, making the purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly contrasts with individual event triggering ('More efficient than triggering events individually') and identifies the use case ('when you need to notify multiple channels'), giving clear context for when to choose this tool over the alternative. It stops short of describing when not to use it, but the guidance is strong.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

trigger_eventA

Send an event to one or more Pusher channels. Use this to push realtime messages to connected clients.

ParametersJSON Schema
NameRequiredDescriptionDefault
dataYesEvent payload — string or JSON object (max 10KB)
eventYesEvent name to trigger (e.g. 'new-message', 'update')
channelYesChannel name or array of channel names (max 100)
socketIdNoOptional socket ID to exclude from receiving the event (prevents echo)

TDQS

A3.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It states the action and effect (push realtime messages) but does not disclose potential side effects, rate limits, authorization requirements, or failure behavior. The socketId exclusion is only in the schema, not the description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the action, and every word earns its place. It is appropriately sized with no fluff or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is relatively simple with a well-covered schema, but there is no annotation and no output schema. The description covers basic purpose and use but lacks details about success/failure responses, rate limits, or relationship to sibling batch tool, making it minimally complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%: every parameter (data, event, channel, socketId) has a description in the schema. The tool description adds no additional parameter semantics beyond what the schema already provides, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Send an event to one or more Pusher channels' with a specific verb and resource. It distinguishes from siblings like trigger_batch_events (which handles multiple events) and list_channels by focusing on sending a single event to channels.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description says 'Use this to push realtime messages to connected clients,' providing clear usage context. It does not explicitly mention when not to use it or mention alternatives like trigger_batch_events, so it lacks exclusions but gives a definite scenario.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 7 tool updatesv1.0.13
    • First observedauthorize_channel
    • First observedget_channel_info
    • First observedget_presence_users
    • First observedlist_channels
    • First observedterminate_user_connections
    • First observedtrigger_batch_events
    • First observedtrigger_event

TDQS

A4/5.0
Disambiguation4/5

Most tools target distinct actions (trigger, list, get, authorize, terminate). The only overlap is between trigger_event and trigger_batch_events, but descriptions clearly differentiate single vs. batch. Slight confusion possible between list_channels and get_channel_info, though one lists while the other fetches a single channel.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case (e.g., trigger_event, list_channels, get_channel_info). Verbs are clear and consistent, and compound names like trigger_batch_events and terminate_user_connections align with the same convention.

Tool Count5/5

Seven tools is well within the ideal 3-15 range. Each tool covers a necessary operation for a Pusher Channels server without redundancy, making the set appropriately scoped.

Completeness5/5

The tool set covers the core lifecycle: triggering events (single/batch), inspecting channels, retrieving presence users, authorizing private/presence access, and terminating users. No major gaps are apparent for the domain; all common Pusher Channels operations are represented.

Maintenance

ActivityActive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    MCP server that integrates the LINE Messaging API to enable AI agents to send messages and manage LINE Official Accounts.
    12
    767
    773
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server that enables AI coding agents to communicate, share state, and coordinate work in real time via MCP tools or REST API.
    159
    5
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    A standalone MCP server providing AI agents with full access to the Pumble messaging platform via OAuth2 and the Pumble SDK, including messaging, files, channels, search, scheduling, and real-time events.
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CrashBytes/pusher-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server