channels
2 questions
- AI
How do I make Claude Code react to a webhook without losing events?
Channels deliver events only while a session is open: at-most-once, no retry. Run Claude in a persistent terminal or background process, design idempotent handlers, and surface failures via a sender that does its own retry, because the channel layer will not.
- AI
How do I get Claude to react to a Sentry alert while I sleep?
Channels are MCP servers that push events into your already-running Claude Code session — webhooks from CI or Sentry, DMs from your phone, anything that can speak HTTP. Here's the webhook-receiver pattern end to end, plus the sender-gating footgun that bites people.