
Push events into a running session with channels - Claude Code Docs
Use channels to push messages, alerts, and webhooks into your Claude Code session from an MCP server. Forward CI results, chat messages, and monitorin...
Frontend developers and architects building real-time chat interfaces or streaming UIs
Page refresh disrupts chatbot UIs like Claude's, which use stateless SSE for token streaming, causing lost responses until generation completes and history loads from a database.
A minimal UI demo using WebSockets and Ably's Pub/Sub resumes streams seamlessly on refresh without persistent storage. Pub/Sub platforms enable reconnection, multi-device support, presence awareness, and efficient token appending, surpassing SSE limitations.