Claude Code Channels
Message a running Claude Code session from your phone. Set up Telegram, connect a Discord team room, and choose who can send requests or approve tools.
Published

You can leave a test failure open at your desk, message Claude Code from Telegram, and ask which assertion failed. The answer comes back to your phone from the session that already has the repository and the debugging conversation. That saves you from opening another chat, finding the right log, and explaining the change again.
What reaches your desk
A channel is a small program that delivers an outside event to a running Claude Code session. It uses MCP, the protocol that connects Claude to tools. Think of a service bell at a counter. Your session can hear the bell while you are away. A two-way channel such as Telegram also gives Claude a way to answer you. A build alert can just ring the bell.
The work happens on the machine running Claude. At the terminal you see the incoming message and, when Claude replies, a tool call with a send confirmation. Read the actual reply in the chat. Close the session and event delivery stops. If you need it through the afternoon, leave Claude running in a persistent terminal or background process.
What you need
Anthropic still calls channels a research preview. The command syntax and the protocol may change. The current guide gives no numeric minimum for Claude Code. The launch flag first appeared in version 2.1.80. Use a current installation for today's plugins. All the official channel plugins need Bun, the program that runs them. Check for it in your shell with bun --version. Claude Code release history
Sign in through claude.ai or use an Anthropic Console API key. Individual Pro, Max, and Ultra users outside an organization can enable a channel themselves. Team and Enterprise organizations must explicitly enable channels, either through an Owner in Organization settings or by setting channelsEnabled to true in managed settings. Console accounts allow them by default unless the organization deploys managed settings, in which case the admin must enable them. Amazon Bedrock, Google Cloud’s Agent Platform, and Microsoft Foundry are outside the preview. If this is your first terminal session, start with the Claude Code CLI guide.
Connect Telegram, from BotFather to the first reply
Keep your phone and terminal together until pairing is complete. There are three places to type during setup. BotFather creates the bot, the Claude prompt configures it, and your ordinary shell starts the session that listens.
- In Telegram, open BotFather and send
/newbot. Give the bot a display name and a unique username ending inbot. Copy the token it returns. That token connects the plugin to this particular bot. - At your desk, run
claudein your shell. At Claude’s prompt enter/plugin install telegram@claude-plugins-official. Choose user scope so the plugin is available across projects. If the install summary asks you to, run/reload-plugins. - At the Claude prompt, enter
/telegram:configure <token>, replacing the placeholder with BotFather’s token. The plugin saves it in~/.claude/channels/telegram/.env. You can also supplyTELEGRAM_BOT_TOKENin the shell environment before launch. - Exit Claude Code. Back in the shell, start the listening session with the command below. The Telegram plugin now polls your bot for messages.
claude --channels plugin:telegram@claude-plugins-official- On your phone, send your new bot a direct message. It replies with a pairing code. At the Claude prompt, enter
/telegram:access pair <code>with that code. Pairing adds your Telegram sender ID to the list of people who may send messages into the session. - At the same prompt, run
/telegram:access policy allowlistto admit only approved senders. Back on the phone, ask “What’s in my working directory?” and look for the reply in Telegram. Stay at the desk for this first exchange in case Claude asks for tool permission.

Connect Discord for a team
Start with a bot DM so you can verify the route before opening a team room. In the Discord Developer Portal, choose New Application, name it, then create a username under Bot. Choose Reset Token and copy the token. Under Privileged Gateway Intents, enable Message Content Intent so the bot can read the message text.
Under OAuth2 > URL Generator, select the bot scope. Select View Channels, Send Messages, Send Messages in Threads, Create Public Threads, Read Message History, Attach Files, and Add Reactions. Open the generated URL and invite the bot to your server.
At the Claude prompt, enter /plugin install discord@claude-plugins-official, choose user scope, and reload plugins if prompted. Enter /discord:configure <token>. Exit Claude and start it from the shell with claude --channels plugin:discord@claude-plugins-official. DM the bot, take the code back to the Claude prompt, and enter /discord:access pair <code>. Once you have paired the intended DM senders, enter /discord:access policy allowlist.
A paired DM and a shared Discord room have different access rules. Server channels start disabled. To use one for a release team, enable Discord’s Developer Mode, copy the channel ID, and opt that room in using the plugin’s group access settings. Limit the members who can trigger the bot by their user IDs. By default, someone must mention the bot or reply to it. Threads inherit their parent room’s setting, so check who has access before using it for release notes. The official Discord plugin access guide gives the room settings.
Use iMessage or try the local demo
iMessage works without a bot token on a Mac. It reads the local Messages database and sends replies through AppleScript. Grant Full Disk Access to the app that launches Bun, such as Terminal. Install /plugin install imessage@claude-plugins-official at the Claude prompt, then restart from the shell with claude --channels plugin:imessage@claude-plugins-official. Text yourself from a device on the same Apple ID. Self-chat works immediately. Approve the Mac’s Automation prompt on the first reply. Other people need explicit access by phone number or Apple ID email.
Fakechat is the official local demo. Install /plugin install fakechat@claude-plugins-official, restart with claude --channels plugin:fakechat@claude-plugins-official, and type a message at http://localhost:8787 on that machine. If you're deciding whether to grant access to your Messages database, this is a way to see the round trip first.
Five jobs worth sending into a session
A webhook is a message one system sends when something happens. For the release engineer, the receiver is something to build. Anthropic’s example passes a build failure into Claude, which can inspect files or run permitted commands. The example is one-way, so the build system gets no chat reply. A hook is useful for the opposite starting point, when something inside Claude Code should trigger your own action. Webhook receiver example · Claude Code hooks and events

Who gets to send instructions or approve work?
A message can ask Claude to read a file, investigate an error, or use an available tool. The session’s permissions still govern the tool call. If it needs approval while you are away, work pauses. A channel that implements permission relay can forward the prompt so an admitted sender can approve or deny the action remotely. Give reply access on that channel only to people you would trust to make that decision at your keyboard.
Organizations have a separate decision to make. An Owner can enable channels under Organization settings > Claude Code > Channels. In managed settings, channelsEnabled is the master switch. Turning it off blocks channel delivery, including development channels. A server may still connect and expose ordinary tools, so a connected status alone proves little. Team and Enterprise admins can set allowedChannelPlugins to replace Anthropic’s approved list. An empty plugin list alone leaves a local development exception. Use the master switch to shut delivery off entirely. Users cannot override managed settings.
Finally, each session must opt in with --channels. Listing a server in .mcp.json, the project’s MCP configuration file, is insufficient. The organization admits a plugin. The developer starts it for a particular session. The plugin decides which senders can reach it.
Fix a silent bot
What a team could build
The strongest opportunity is a Telegram setup and acceptance test for developer teams. People already look specifically for a “Claude Code Telegram bot.” A developer-tools lead could buy help getting the existing plugin working across a small team. The first deliverable could be a short acceptance record for each developer. Can their paired account receive a directory summary? Does the plugin drop a message from an unapproved sender? Can the developer tell when the listening session has closed? The official instructions already cover installation. The paid job would be verifying each handoff on the team’s machines.
A Discord release-room setup could serve teams that review changes in chat. Searches for a “Claude Code Discord bot” suggest setup interest here too. A release lead could commission one restricted room, a read-only patch-summary exercise, and a check of who can trigger the bot in an inherited thread. The hard part is agreeing whose local session owns the conversation and when that person is available. Pilot it during a staffed release window before promising coverage.
How can I monitor Claude Code from my phone?
Message the paired bot with a specific question, such as “Which checks are still failing?” The bot can return Claude’s answer. For a view that lets you steer the session from claude.ai or the Claude mobile app, use Remote Control.
Does Claude Code run locally or remotely when I use a channel?
It runs in the session you started on your machine. The chat app carries your request and the reply. Keep the machine awake and the session open for messages to reach it.
How do I access Claude Code from my iPhone?
With the Telegram channel active at your desk, DM the bot from the Telegram account you paired. If your session runs on a Mac with the iMessage plugin enabled, you can also text yourself from an iPhone signed into the same Apple ID.
Once that round trip works, use the guide to the best Claude Code plugins to choose what else belongs in the session.
- Published
- Category
- Build







