
Pusher Channels
io.github.CrashBytes由 GitHub 账号 CrashBytes 发布v1.0.3更新于 Oct 24, 2026
Trigger events, query channels, and manage realtime messaging on Pusher Channels.
概览
让助手发送 Pusher Channels 实时事件、查看频道与在线用户,并断开用户连接。
- 可以做什么
- 把 Pusher Channels 的 HTTP API 封装为 MCP 工具。它可以向一个或多个频道触发单个事件,在一次调用中批量发送最多十个事件,按前缀筛选列出活跃频道,并查询某个频道的订阅数或用户数。它还能列出 presence 频道上的用户、为私有或 presence 频道生成认证令牌,以及断开指定用户的所有连接。
- 适用场景
- 当助手需要向已使用 Pusher Channels 的应用推送实时通知或消息,或希望通过对话查看频道活动和 presence 成员时适用。它适合围绕 Pusher 应用的开发与运维场景,而非通用消息收发。
- 运行要求
- 以 npm 包形式通过 stdio 在本地运行,需要 Node.js 18 或更高版本。需要 Pusher Channels 账号,以及来自 Pusher 控制台的四个环境变量:PUSHER_APP_ID、PUSHER_KEY、PUSHER_SECRET 和 PUSHER_CLUSTER。需要访问 Pusher 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Pusher Channels,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
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
Prerequisites
- Node.js 18 or later
- A Pusher Channels account (free tier available)
Installation
Or clone and build from source:
Configuration
You need four environment variables from your Pusher dashboard:
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
If installed globally via npm:
Usage with Claude Code
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
Tutorial
For a step-by-step guide on building this server from scratch, see the full tutorial on CrashBytes.
License
MIT
来源:README.md,提交 711cdc2
工具
0版本历史
1- v1.0.3最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分