
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 分