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

Claude Code Channels

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.

  1. In Telegram, open BotFather and send /newbot. Give the bot a display name and a unique username ending in bot. Copy the token it returns. That token connects the plugin to this particular bot.
  2. At your desk, run claude in 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.
  3. 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 supply TELEGRAM_BOT_TOKEN in the shell environment before launch.
  4. Exit Claude Code. Back in the shell, start the listening session with the command below. The Telegram plugin now polls your bot for messages.
Shell
claude --channels plugin:telegram@claude-plugins-official
  1. 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.
  2. At the same prompt, run /telegram:access policy allowlist to 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.
Telegram pairing sequence showing where to message the bot, approve its code, and set the allowlist policy.
The code travels to your phone. The decision to admit that sender happens at the Claude prompt on your desk.

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

Who benefitsWhat to sendWhy use the open session?
Developer stepping away mid-debugDM “Which assertion failed in the test we just ran? Quote the expected and actual values.”The answer can draw on the test and change you were discussing before you left.
Release engineer waiting on a buildHave a webhook receiver pass the failed check’s name and run link into the session working on that branch. Ask Claude to identify the relevant test file.The failure arrives where someone can inspect the code, without a teammate watching a dashboard and copying the alert.
Reviewer in a private Discord roomMention the bot and ask which configuration change the open patch introduces.The author and reviewer can discuss the same answer in the release thread.
Tester reproducing a mobile bugFrom a paired phone, send the screen name, the action you took, and the result while the developer’s session is investigating that flow.The detail reaches the investigation while the tester can still reproduce it.
Mac developer preparing a handoffText yourself a request for a short account of the files touched and the checks still outstanding.You can read the handoff in Messages before briefing the next developer.

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

A build failure arrives at an open session through a tube, with a separate switch for tool approval.
An alert can reach the developer’s session immediately. A subsequent tool call may still need a person’s approval.

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

SymptomWhat to check
Telegram or Discord never gives you a pairing codeLeave Claude running with the exact channel launch command. Check the startup notice for a plugin or organization restriction.
The official marketplace is missingAt the Claude prompt, run /plugin marketplace add anthropics/claude-plugins-official, then retry installation.
The marketplace exists but cannot find the pluginRun /plugin marketplace update claude-plugins-official, then retry. If installation succeeds but configure is missing, follow the reload instruction in the install summary.
The channel flag is missing from helpAnthropic omits it from claude --help during the preview. Check the release and try the documented launch command.
iMessage exits with authorization deniedUnder System Settings > Privacy & Security > Full Disk Access, add the app that launched Bun. Automation permission handles the separate reply step.
The chat received the request, then work stoppedLook for a pending tool approval. A channel without permission relay needs someone at the terminal to answer.

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
Related Articles
Claude Worktree

Claude Worktree

Run Claude Code sessions in separate Git worktrees. Start two features, test a pull request, isolate a subagent and decide which files survive cleanup.Dec 2, 2026Build
AgentMail: What It Is, What It Costs, and How to Start

AgentMail: What It Is, What It Costs, and How to Start

Give an AI agent its own email address. See the first inbox call in Python, the free plan’s limits, and when Gmail or SMTP fits better.Dec 2, 2026Build
Antigravity CLI in Claude Code and Codex: The Setup Google Allows

Antigravity CLI in Claude Code and Codex: The Setup Google Allows

Google's terms now let Claude Code or Codex call the Antigravity CLI as a subagent. The exact rule, what stays forbidden, and a setup built from the docs.Dec 2, 2026Build
LM Studio: What It Is and How to Run Your First Local Model

LM Studio: What It Is and How to Run Your First Local Model

Find the LM Studio desktop installer, choose a model that fits your memory, chat offline, and send your first request to its local server.Dec 2, 2026Build
Kiro Crew: What Teams Share and How to Get Started

Kiro Crew: What Teams Share and How to Get Started

How a shared Kiro Crew turns review feedback into team skills, who can join, what the crew seat costs and how to connect your first host.Dec 2, 2026Build
How to Install Claude Code on macOS, Linux and Windows

How to Install Claude Code on macOS, Linux and Windows

Install Claude Code on macOS, Linux or Windows. Choose your terminal, verify the install, sign in, fix common errors and update or uninstall it.Dec 2, 2026Build
Claude Managed Agents on Amazon Bedrock and the Claude API

Claude Managed Agents on Amazon Bedrock and the Claude API

Choose between the Claude API and Amazon Bedrock, see who runs the tools and bills usage, and create an agent with Anthropic’s documented request.Dec 1, 2026Build
Harness Tuned for One Model, Run on Another: What Google's Papers Measured

Harness Tuned for One Model, Run on Another: What Google's Papers Measured

Google's Harness² papers, read closely: what happened when a harness met a new model, what carries over, and a first-week checklist for switching models.Dec 1, 2026Build
Newsletter

One letter, every Sunday.Working systems, not hot takes.

Weekly. No spam. Unsubscribe anytime.