Guide to Setting Up Claude Code Channels for Telegram and Discord

This article provides a step-by-step guide on how to set up Claude Code Channels, a feature that allows external messaging platforms to push events directly into a running Claude Code session.

đź’ˇ

Why it matters

Claude Code Channels enable seamless integration between external messaging platforms and the Claude Code AI assistant, allowing for real-time event handling and two-way communication.

Key Points

  • 1Claude Code Channels is different from other Claude Code integrations as it allows external events to be pushed into the session, rather than waiting to be called
  • 2The setup requires Claude Code v2.1.80 or higher, a claude.ai login, and the Bun JavaScript runtime
  • 3The article covers the 3-command setup process for Telegram and notes that message history is not available if the session was offline

Details

Claude Code Channels is an MCP (Multi-Channel Platform) server that allows external messaging platforms to push events directly into a running Claude Code session. Unlike traditional MCP tools that wait to be called, Channels deliver messages the moment they arrive. This two-way communication model is a key differentiator from other Claude Code integrations. The setup process requires several prerequisites, including a recent version of Claude Code, a claude.ai login, and the Bun JavaScript runtime. The article provides a detailed 3-command setup guide for Telegram, which involves installing the official plugin, configuring the bot token, and starting the Claude Code session with the Telegram channel active. It also notes that the Telegram Bot API does not expose any message history, so messages sent while the session is offline will be permanently lost.

Like
Save
Read original
Cached
Comments
?

No comments yet

Be the first to comment

AI Curator - Daily AI News Curation

AI Curator

Your AI news assistant

Ask me anything about AI

I can help you understand AI news, trends, and technologies