modified
--- a/channels.md +++ b/channels.md @@ -242,7 +242,7 @@ The message arrives in your Claude Code session. The terminal shows it as an inbound channel line like `← fakechat · web: what's in my working directory?`, while the model receives it as a `<channel source="plugin:fakechat:fakechat">` event, using the plugin’s scoped server name. Claude reads it, does the work, and calls fakechat’s `reply` tool. If Claude Code asks for permission for the first reply, approve it. The answer shows up in the chat UI. -If Claude hits a permission prompt while you’re away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) bypasses most prompts, but only use it in environments you trust. Even then, the [actions no mode auto-approves](</docs/en/permission-modes#actions-no-mode-auto-approves>) still apply. When you run channels in non-interactive mode with `-p`, tools that need terminal input, such as multiple-choice questions and plan mode approval, are disabled so the session never stalls waiting for input. +If Claude hits a permission prompt while you’re away from the terminal, the session pauses for your answer. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) bypasses most prompts, but only use it in environments you trust. The [actions no mode auto-approves](</docs/en/permission-modes#actions-no-mode-auto-approves>) still apply. When you run channels in non-interactive mode with `-p`, tools that need terminal input, such as multiple-choice questions and plan mode approval, are disabled so the session never stalls waiting for input. ## Security @@ -292,7 +292,7 @@ ## Research preview -Channels are a research preview feature. Availability is rolling out gradually, and the `--channels` flag syntax and protocol contract may change based on feedback. Neither `--channels` nor `--dangerously-load-development-channels` appears in `claude --help` while the feature is in preview. The flags work even though they aren’t listed. During the preview, `--channels` only accepts plugins from an Anthropic-maintained allowlist, or from your organization’s allowlist if an admin has set `allowedChannelPlugins`. The channel plugins in [claude-plugins-official](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins>) are the default approved set. If you pass something that isn’t on the effective allowlist, Claude Code starts normally but the channel doesn’t register, and the startup notice tells you why. To test a channel you’re building, pass it to `--dangerously-load-development-channels` in the `plugin:<name>@<marketplace>` or `server:<name>` form. See [Test during the research preview](</docs/en/channels-reference#test-during-the-research-preview>) for information about testing custom channels that you build. Report issues or feedback on the [Claude Code GitHub repository](<https://github.com/anthropics/claude-code/issues>). +Channels are a research preview feature. The `--channels` flag syntax and protocol contract may change based on feedback. Neither `--channels` nor `--dangerously-load-development-channels` appears in `claude --help` while the feature is in preview. The flags work even though they aren’t listed. During the preview, `--channels` only accepts plugins from an Anthropic-maintained allowlist, or from your organization’s allowlist if an admin has set `allowedChannelPlugins`. The channel plugins in [claude-plugins-official](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins>) are the default approved set. If you pass something that isn’t on the effective allowlist, Claude Code starts normally but the channel doesn’t register, and the startup notice tells you why. To test a channel you’re building, pass it to `--dangerously-load-development-channels` in the `plugin:<name>@<marketplace>` or `server:<name>` form. See [Test during the research preview](</docs/en/channels-reference#test-during-the-research-preview>) for information about testing custom channels that you build. Report issues or feedback on the [Claude Code GitHub repository](<https://github.com/anthropics/claude-code/issues>). ## How channels compare
modified
--- a/channels.md +++ b/channels.md @@ -301,7 +301,7 @@ Feature| What it does| Good for ---|---|--- [Cloud sessions](</docs/en/claude-code-on-the-web>)| Run tasks in a fresh cloud sandbox, cloned from GitHub| Delegating self-contained async work you check on later -[Claude in Slack](</docs/en/slack>)| Spawns a cloud session from an `@Claude` mention in a channel or thread| Starting tasks directly from a team conversation +[Claude Tag](<https://claude.com/docs/claude-tag/overview>)| Spawns a cloud session from an `@Claude` mention in a channel or thread| Starting tasks directly from a team conversation Standard [MCP server](</docs/en/mcp>)| Claude queries it during a task; nothing is pushed to the session| Giving Claude on-demand access to read or query a system [Remote Control](</docs/en/remote-control>)| You drive your local session from claude.ai or the Claude mobile app| Steering an in-progress session while away from your desk
modified
--- a/channels.md +++ b/channels.md @@ -246,7 +246,7 @@ ## Security -Every approved channel plugin maintains a sender allowlist: only IDs you’ve added can push messages, and everyone else is silently dropped. Telegram and Discord bootstrap the list by pairing: +The Telegram, Discord, and iMessage channel plugins check direct messages against a sender allowlist. Other people’s direct messages reach your session only after you add those people to the list. Telegram and Discord bootstrap the list by pairing: 1. Find your bot in Telegram or Discord and send it any message 2. The bot replies with a pairing code
modified
--- a/channels.md +++ b/channels.md @@ -92,6 +92,7 @@ * View Channels * Send Messages * Send Messages in Threads + * Create Public Threads * Read Message History * Attach Files * Add Reactions
modified
Show diff (111 lines)
--- a/channels.md +++ b/channels.md @@ -2,11 +2,7 @@ A channel is an MCP server that pushes events into your running Claude Code session, so Claude can react to things that happen while you’re not at the terminal. Channels can be two-way: Claude reads the event and replies back through the same channel, like a chat bridge. Events only arrive while the session is open, so for an always-on setup you run Claude in a background process or persistent terminal. Unlike integrations that spawn a fresh cloud session or wait to be polled, the event arrives in the session you already have open: see how channels compare. You install a channel as a plugin and configure it with your own credentials. Telegram, Discord, and iMessage are included in the research preview. When Claude replies through a channel, you see the inbound message in your terminal but not the reply text. The terminal shows the tool call and a confirmation (like “sent”), and the actual reply appears on the other platform. If you manage a Team, Enterprise, or Console organization, see Enable channels for your organization. To build your own channel, see the [Channels reference](</docs/en/channels-reference>). -## - -​ - -Supported channels +## Supported channels Each supported channel is a plugin that requires [Bun](<https://bun.sh>). For a hands-on demo of the plugin flow before connecting a real platform, try the fakechat quickstart. @@ -200,11 +196,7 @@ Handles are phone numbers in `+country` format or Apple ID emails like `user@example.com`. -## - -​ - -Quickstart +## Quickstart Fakechat is an officially supported demo channel that runs a chat UI on localhost, with nothing to authenticate and no external service to configure. Once you install and enable fakechat, you can type in the browser and the message arrives in your Claude Code session. Claude replies, and the reply shows up back in the browser. After you’ve tested the fakechat interface, try out [Telegram](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/telegram>), [Discord](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/discord>), or [iMessage](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/imessage>). To try the fakechat demo, you’ll need: @@ -251,11 +243,7 @@ If Claude hits a permission prompt while you’re away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) bypasses most prompts, but only use it in environments you trust. Even then, the [actions no mode auto-approves](</docs/en/permission-modes#actions-no-mode-auto-approves>) still apply. When you run channels in non-interactive mode with `-p`, tools that need terminal input, such as multiple-choice questions and plan mode approval, are disabled so the session never stalls waiting for input. -## - -​ - -Security +## Security Every approved channel plugin maintains a sender allowlist: only IDs you’ve added can push messages, and everyone else is silently dropped. Telegram and Discord bootstrap the list by pairing: @@ -266,11 +254,7 @@ iMessage works differently: texting yourself bypasses the gate automatically, and you add other contacts by handle with `/imessage:access allow`. On top of that, you control which servers are enabled each session with `--channels`, and your organization controls availability with `channelsEnabled` on claude.ai Team and Enterprise plans and on Console organizations that deploy managed settings. Being in `.mcp.json` isn’t enough to push messages: a server also has to be named in `--channels`. The allowlist also gates [permission relay](</docs/en/channels-reference#relay-permission-prompts>) if the channel declares it. Anyone who can reply through the channel can approve or deny tool use in your session, so only allowlist senders you trust with that authority. -## - -​ - -Enterprise controls +## Enterprise controls Admins control availability through two [managed settings](</docs/en/settings>) that users cannot override. The default depends on how you authenticate: @@ -286,19 +270,11 @@ Pro, Max, and Ultra users without an organization skip these checks entirely: channels are available and users opt in per session with `--channels`. -### - -​ - -Enable channels for your organization +### Enable channels for your organization Enable channels for your organization from [**Organization settings > Claude Code > Channels**](<https://claude.ai/admin-settings/claude-code>), which requires the Owner role, or by setting `channelsEnabled` to `true` in managed settings. Once enabled, users in your organization can use `--channels` to opt channel servers into individual sessions. If the setting is disabled or unset, the MCP server still connects and its tools work, but channel messages won’t arrive. A startup warning tells the user to have an admin enable the setting. -### - -​ - -Restrict which channel plugins can run +### Restrict which channel plugins can run By default, any plugin on the Anthropic-maintained allowlist can register as a channel. Admins on Team and Enterprise plans can replace that allowlist with their own by setting `allowedChannelPlugins` in managed settings. Use this to restrict which official plugins are allowed, approve channels from your own internal marketplace, or both. Each entry names a plugin and the marketplace it comes from: @@ -313,19 +289,11 @@ If you set an empty array, you block all channel plugins from the allowlist, but `--dangerously-load-development-channels` can still bypass that block for local testing. To block channels entirely including the development flag, leave `channelsEnabled` unset instead. This setting requires `channelsEnabled: true`. If a user passes a plugin to `--channels` that isn’t on your list, Claude Code starts normally but the channel doesn’t register, and the startup notice explains that the plugin isn’t on the organization’s approved list. On the v2 MCP client runtime, a channel can also fail to register because Claude Code [doesn’t register a channel server that negotiates protocol revision 2026-07-28](</docs/en/mcp#push-messages-with-channels>). -## - -​ - -Research preview +## Research preview Channels are a research preview feature. Availability is rolling out gradually, and the `--channels` flag syntax and protocol contract may change based on feedback. Neither `--channels` nor `--dangerously-load-development-channels` appears in `claude --help` while the feature is in preview. The flags work even though they aren’t listed. During the preview, `--channels` only accepts plugins from an Anthropic-maintained allowlist, or from your organization’s allowlist if an admin has set `allowedChannelPlugins`. The channel plugins in [claude-plugins-official](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins>) are the default approved set. If you pass something that isn’t on the effective allowlist, Claude Code starts normally but the channel doesn’t register, and the startup notice tells you why. To test a channel you’re building, pass it to `--dangerously-load-development-channels` in the `plugin:<name>@<marketplace>` or `server:<name>` form. See [Test during the research preview](</docs/en/channels-reference#test-during-the-research-preview>) for information about testing custom channels that you build. Report issues or feedback on the [Claude Code GitHub repository](<https://github.com/anthropics/claude-code/issues>). -## - -​ - -How channels compare +## How channels compare Several Claude Code features connect to systems outside the terminal, each suited to a different kind of work: @@ -341,11 +309,7 @@ * **Chat bridge** : ask Claude something from your phone via Telegram, Discord, or iMessage, and the answer comes back in the same chat while the work runs on your machine against your real files. * **[Webhook receiver](</docs/en/channels-reference#example-build-a-webhook-receiver>)** : a webhook from CI, your error tracker, a deploy pipeline, or other external service arrives where Claude already has your files open and remembers what you were debugging. -## - -​ - -Next steps +## Next steps Once you have a channel running, explore these related features:
modified
--- a/channels.md +++ b/channels.md @@ -332,7 +332,7 @@ Feature| What it does| Good for ---|---|--- [Cloud sessions](</docs/en/claude-code-on-the-web>)| Run tasks in a fresh cloud sandbox, cloned from GitHub| Delegating self-contained async work you check on later -[Claude in Slack](</docs/en/slack>)| Spawns a cloud session from an `@Claude` mention in a channel or thread| Starting tasks directly from team conversation context +[Claude in Slack](</docs/en/slack>)| Spawns a cloud session from an `@Claude` mention in a channel or thread| Starting tasks directly from a team conversation Standard [MCP server](</docs/en/mcp>)| Claude queries it during a task; nothing is pushed to the session| Giving Claude on-demand access to read or query a system [Remote Control](</docs/en/remote-control>)| You drive your local session from claude.ai or the Claude mobile app| Steering an in-progress session while away from your desk
modified
--- a/channels.md +++ b/channels.md @@ -284,7 +284,7 @@ `channelsEnabled`| Master switch. Must be `true` for any channel to deliver messages. Blocks all channels including the development flag when off. See Enable channels for your organization.| claude.ai Team and Enterprise: channels blocked. Console: channels allowed unless your organization deploys managed settings, in which case channels are blocked until this key is set `allowedChannelPlugins`| Which plugins can register once channels are enabled. Replaces the Anthropic-maintained list when set.| Anthropic default list applies -Pro and Max users without an organization skip these checks entirely: channels are available and users opt in per session with `--channels`. +Pro, Max, and Ultra users without an organization skip these checks entirely: channels are available and users opt in per session with `--channels`. ###
modified
--- a/channels.md +++ b/channels.md @@ -351,4 +351,4 @@ * [Build your own channel](</docs/en/channels-reference>) for systems that don’t have plugins yet * [Remote Control](</docs/en/remote-control>) to drive a local session from your phone instead of forwarding events into it - * [Scheduled tasks](</docs/en/scheduled-tasks>) to poll on a timer instead of reacting to pushed events + * [Session-scoped scheduled tasks](</docs/en/scheduled-tasks>) to poll on a timer instead of reacting to pushed events
modified
--- a/channels.md +++ b/channels.md @@ -35,7 +35,7 @@ If the install fails, match the message Claude Code reports: * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. - * The plugin is [not found in the marketplace](</docs/en/plugins/install#install-a-plugin>): check the plugin name. + * `Plugin "<name>" not found in marketplace "claude-plugins-official"`: your local copy of the marketplace catalog may be out of date. Refresh it with `/plugin marketplace update claude-plugins-official`, then retry the install. If the retry prints the same message, see [Plugin not found in marketplace](</docs/en/plugins/troubleshooting#plugin-not-found-in-marketplace>). When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to apply.`, see [Apply plugin changes without restarting](</docs/en/plugins/cli-reference#reload-plugins>) to make the plugin’s configure command available. @@ -113,7 +113,7 @@ If the install fails, match the message Claude Code reports: * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. - * The plugin is [not found in the marketplace](</docs/en/plugins/install#install-a-plugin>): check the plugin name. + * `Plugin "<name>" not found in marketplace "claude-plugins-official"`: your local copy of the marketplace catalog may be out of date. Refresh it with `/plugin marketplace update claude-plugins-official`, then retry the install. If the retry prints the same message, see [Plugin not found in marketplace](</docs/en/plugins/troubleshooting#plugin-not-found-in-marketplace>). When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to apply.`, see [Apply plugin changes without restarting](</docs/en/plugins/cli-reference#reload-plugins>) to make the plugin’s configure command available. @@ -170,7 +170,7 @@ If the install fails, match the message Claude Code reports: * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. - * The plugin is [not found in the marketplace](</docs/en/plugins/install#install-a-plugin>): check the plugin name. + * `Plugin "<name>" not found in marketplace "claude-plugins-official"`: your local copy of the marketplace catalog may be out of date. Refresh it with `/plugin marketplace update claude-plugins-official`, then retry the install. If the retry prints the same message, see [Plugin not found in marketplace](</docs/en/plugins/troubleshooting#plugin-not-found-in-marketplace>). When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects.If the install summary reports `Run /reload-plugins to apply.`, you don’t need to act on it here, because restarting in the next step picks up the plugin. @@ -223,7 +223,7 @@ If the install fails, match the message Claude Code reports: * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. - * The plugin is [not found in the marketplace](</docs/en/plugins/install#install-a-plugin>): check the plugin name. + * `Plugin "<name>" not found in marketplace "claude-plugins-official"`: your local copy of the marketplace catalog may be out of date. Refresh it with `/plugin marketplace update claude-plugins-official`, then retry the install. If the retry prints the same message, see [Plugin not found in marketplace](</docs/en/plugins/troubleshooting#plugin-not-found-in-marketplace>). When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects.If the install summary reports `Run /reload-plugins to apply.`, you don’t need to act on it here, because restarting in the next step picks up the plugin.
modified
--- a/channels.md +++ b/channels.md @@ -37,7 +37,7 @@ * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. * The plugin is [not found in the marketplace](</docs/en/plugins/install#install-a-plugin>): check the plugin name. -When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to activate.`, see [Apply plugin changes without restarting](</docs/en/plugins/cli-reference#reload-plugins>) to make the plugin’s configure command available. +When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to apply.`, see [Apply plugin changes without restarting](</docs/en/plugins/cli-reference#reload-plugins>) to make the plugin’s configure command available. 3 @@ -115,7 +115,7 @@ * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. * The plugin is [not found in the marketplace](</docs/en/plugins/install#install-a-plugin>): check the plugin name. -When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to activate.`, see [Apply plugin changes without restarting](</docs/en/plugins/cli-reference#reload-plugins>) to make the plugin’s configure command available. +When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to apply.`, see [Apply plugin changes without restarting](</docs/en/plugins/cli-reference#reload-plugins>) to make the plugin’s configure command available. 5 @@ -172,7 +172,7 @@ * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. * The plugin is [not found in the marketplace](</docs/en/plugins/install#install-a-plugin>): check the plugin name. -When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects.If the install summary reports `Run /reload-plugins to activate.`, you don’t need to act on it here, because restarting in the next step picks up the plugin. +When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects.If the install summary reports `Run /reload-plugins to apply.`, you don’t need to act on it here, because restarting in the next step picks up the plugin. 3 @@ -225,7 +225,7 @@ * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. * The plugin is [not found in the marketplace](</docs/en/plugins/install#install-a-plugin>): check the plugin name. -When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects.If the install summary reports `Run /reload-plugins to activate.`, you don’t need to act on it here, because restarting in the next step picks up the plugin. +When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects.If the install summary reports `Run /reload-plugins to apply.`, you don’t need to act on it here, because restarting in the next step picks up the plugin. 2
modified
--- a/channels.md +++ b/channels.md @@ -292,7 +292,7 @@ Enable channels for your organization -Enable channels for your organization from [**claude.ai → Admin settings → Claude Code → Channels**](<https://claude.ai/admin-settings/claude-code>), which requires the Owner role, or by setting `channelsEnabled` to `true` in managed settings. Once enabled, users in your organization can use `--channels` to opt channel servers into individual sessions. If the setting is disabled or unset, the MCP server still connects and its tools work, but channel messages won’t arrive. A startup warning tells the user to have an admin enable the setting. +Enable channels for your organization from [**Organization settings > Claude Code > Channels**](<https://claude.ai/admin-settings/claude-code>), which requires the Owner role, or by setting `channelsEnabled` to `true` in managed settings. Once enabled, users in your organization can use `--channels` to opt channel servers into individual sessions. If the setting is disabled or unset, the MCP server still connects and its tools work, but channel messages won’t arrive. A startup warning tells the user to have an admin enable the setting. ###
modified
--- a/channels.md +++ b/channels.md @@ -311,7 +311,7 @@ ] } -If you set an empty array, you block all channel plugins from the allowlist, but `--dangerously-load-development-channels` can still bypass that block for local testing. To block channels entirely including the development flag, leave `channelsEnabled` unset instead. This setting requires `channelsEnabled: true`. If a user passes a plugin to `--channels` that isn’t on your list, Claude Code starts normally but the channel doesn’t register, and the startup notice explains that the plugin isn’t on the organization’s approved list. If you set `MCP_PROTOCOL_NEGOTIATION` to `auto` on the v2 MCP client runtime, a channel can also fail to register because Claude Code [doesn’t register a channel server that negotiates protocol revision 2026-07-28](</docs/en/mcp#push-messages-with-channels>). +If you set an empty array, you block all channel plugins from the allowlist, but `--dangerously-load-development-channels` can still bypass that block for local testing. To block channels entirely including the development flag, leave `channelsEnabled` unset instead. This setting requires `channelsEnabled: true`. If a user passes a plugin to `--channels` that isn’t on your list, Claude Code starts normally but the channel doesn’t register, and the startup notice explains that the plugin isn’t on the organization’s approved list. On the v2 MCP client runtime, a channel can also fail to register because Claude Code [doesn’t register a channel server that negotiates protocol revision 2026-07-28](</docs/en/mcp#push-messages-with-channels>). ##
modified
--- a/channels.md +++ b/channels.md @@ -28,7 +28,7 @@ Install the plugin -In Claude Code, run: +Start Claude Code by running `claude` in your terminal, then enter this at its prompt: /plugin install telegram@claude-plugins-official @@ -106,7 +106,7 @@ Install the plugin -In Claude Code, run: +Start Claude Code by running `claude` in your terminal, then enter this at its prompt: /plugin install discord@claude-plugins-official @@ -163,7 +163,7 @@ Install the plugin -In Claude Code, run: +Start Claude Code by running `claude` in your terminal, then enter this at its prompt: /plugin install imessage@claude-plugins-official @@ -216,7 +216,7 @@ Install the fakechat channel plugin -Start a Claude Code session and run the install command: +Start Claude Code by running `claude` in your terminal, then enter the install command at its prompt: /plugin install fakechat@claude-plugins-official
modified
--- a/channels.md +++ b/channels.md @@ -319,7 +319,7 @@ Research preview -Channels are a research preview feature. Availability is rolling out gradually, and the `--channels` flag syntax and protocol contract may change based on feedback. Neither `--channels` nor `--dangerously-load-development-channels` appears in `claude --help` while the feature is in preview. The flags work even though they aren’t listed. During the preview, `--channels` only accepts plugins from an Anthropic-maintained allowlist, or from your organization’s allowlist if an admin has set `allowedChannelPlugins`. The channel plugins in [claude-plugins-official](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins>) are the default approved set. If you pass something that isn’t on the effective allowlist, Claude Code starts normally but the channel doesn’t register, and the startup notice tells you why. To test a channel you’re building, use `--dangerously-load-development-channels`. See [Test during the research preview](</docs/en/channels-reference#test-during-the-research-preview>) for information about testing custom channels that you build. Report issues or feedback on the [Claude Code GitHub repository](<https://github.com/anthropics/claude-code/issues>). +Channels are a research preview feature. Availability is rolling out gradually, and the `--channels` flag syntax and protocol contract may change based on feedback. Neither `--channels` nor `--dangerously-load-development-channels` appears in `claude --help` while the feature is in preview. The flags work even though they aren’t listed. During the preview, `--channels` only accepts plugins from an Anthropic-maintained allowlist, or from your organization’s allowlist if an admin has set `allowedChannelPlugins`. The channel plugins in [claude-plugins-official](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins>) are the default approved set. If you pass something that isn’t on the effective allowlist, Claude Code starts normally but the channel doesn’t register, and the startup notice tells you why. To test a channel you’re building, pass it to `--dangerously-load-development-channels` in the `plugin:<name>@<marketplace>` or `server:<name>` form. See [Test during the research preview](</docs/en/channels-reference#test-during-the-research-preview>) for information about testing custom channels that you build. Report issues or feedback on the [Claude Code GitHub repository](<https://github.com/anthropics/claude-code/issues>). ##
modified
--- a/channels.md +++ b/channels.md @@ -35,9 +35,9 @@ If the install fails, match the message Claude Code reports: * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. - * The plugin is [not found in the marketplace](</docs/en/discover-plugins#install-plugins>): check the plugin name. - -When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to activate.`, see [Apply plugin changes without restarting](</docs/en/discover-plugins#apply-plugin-changes-without-restarting>) to make the plugin’s configure command available. + * The plugin is [not found in the marketplace](</docs/en/plugins/install#install-a-plugin>): check the plugin name. + +When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to activate.`, see [Apply plugin changes without restarting](</docs/en/plugins/cli-reference#reload-plugins>) to make the plugin’s configure command available. 3 @@ -113,9 +113,9 @@ If the install fails, match the message Claude Code reports: * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. - * The plugin is [not found in the marketplace](</docs/en/discover-plugins#install-plugins>): check the plugin name. - -When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to activate.`, see [Apply plugin changes without restarting](</docs/en/discover-plugins#apply-plugin-changes-without-restarting>) to make the plugin’s configure command available. + * The plugin is [not found in the marketplace](</docs/en/plugins/install#install-a-plugin>): check the plugin name. + +When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to activate.`, see [Apply plugin changes without restarting](</docs/en/plugins/cli-reference#reload-plugins>) to make the plugin’s configure command available. 5 @@ -170,7 +170,7 @@ If the install fails, match the message Claude Code reports: * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. - * The plugin is [not found in the marketplace](</docs/en/discover-plugins#install-plugins>): check the plugin name. + * The plugin is [not found in the marketplace](</docs/en/plugins/install#install-a-plugin>): check the plugin name. When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects.If the install summary reports `Run /reload-plugins to activate.`, you don’t need to act on it here, because restarting in the next step picks up the plugin. @@ -223,7 +223,7 @@ If the install fails, match the message Claude Code reports: * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. - * The plugin is [not found in the marketplace](</docs/en/discover-plugins#install-plugins>): check the plugin name. + * The plugin is [not found in the marketplace](</docs/en/plugins/install#install-a-plugin>): check the plugin name. When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects.If the install summary reports `Run /reload-plugins to activate.`, you don’t need to act on it here, because restarting in the next step picks up the plugin.
modified
--- a/channels.md +++ b/channels.md @@ -172,7 +172,7 @@ * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. * The plugin is [not found in the marketplace](</docs/en/discover-plugins#install-plugins>): check the plugin name. -When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. If the install summary reports `Run /reload-plugins to activate.`, you can skip that here, because restarting in the next step picks up the plugin. +When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects.If the install summary reports `Run /reload-plugins to activate.`, you don’t need to act on it here, because restarting in the next step picks up the plugin. 3 @@ -225,7 +225,7 @@ * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. * The plugin is [not found in the marketplace](</docs/en/discover-plugins#install-plugins>): check the plugin name. -When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. If the install summary reports `Run /reload-plugins to activate.`, you can skip that here, because restarting in the next step picks up the plugin. +When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects.If the install summary reports `Run /reload-plugins to activate.`, you don’t need to act on it here, because restarting in the next step picks up the plugin. 2 @@ -331,8 +331,8 @@ Feature| What it does| Good for ---|---|--- -[Claude Code on the web](</docs/en/claude-code-on-the-web>)| Runs tasks in a fresh cloud sandbox, cloned from GitHub| Delegating self-contained async work you check on later -[Claude in Slack](</docs/en/slack>)| Spawns a web session from an `@Claude` mention in a channel or thread| Starting tasks directly from team conversation context +[Cloud sessions](</docs/en/claude-code-on-the-web>)| Run tasks in a fresh cloud sandbox, cloned from GitHub| Delegating self-contained async work you check on later +[Claude in Slack](</docs/en/slack>)| Spawns a cloud session from an `@Claude` mention in a channel or thread| Starting tasks directly from team conversation context Standard [MCP server](</docs/en/mcp>)| Claude queries it during a task; nothing is pushed to the session| Giving Claude on-demand access to read or query a system [Remote Control](</docs/en/remote-control>)| You drive your local session from claude.ai or the Claude mobile app| Steering an in-progress session while away from your desk
modified
--- a/channels.md +++ b/channels.md @@ -37,7 +37,7 @@ * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. * The plugin is [not found in the marketplace](</docs/en/discover-plugins#install-plugins>): check the plugin name. -When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to activate.`, run that command to activate the plugin’s configure command. +When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to activate.`, see [Apply plugin changes without restarting](</docs/en/discover-plugins#apply-plugin-changes-without-restarting>) to make the plugin’s configure command available. 3 @@ -115,7 +115,7 @@ * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. * The plugin is [not found in the marketplace](</docs/en/discover-plugins#install-plugins>): check the plugin name. -When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to activate.`, run that command to activate the plugin’s configure command. +When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to activate.`, see [Apply plugin changes without restarting](</docs/en/discover-plugins#apply-plugin-changes-without-restarting>) to make the plugin’s configure command available. 5
modified
--- a/channels.md +++ b/channels.md @@ -311,7 +311,7 @@ ] } -If you set an empty array, you block all channel plugins from the allowlist, but `--dangerously-load-development-channels` can still bypass that block for local testing. To block channels entirely including the development flag, leave `channelsEnabled` unset instead. This setting requires `channelsEnabled: true`. If a user passes a plugin to `--channels` that isn’t on your list, Claude Code starts normally but the channel doesn’t register, and the startup notice explains that the plugin isn’t on the organization’s approved list. +If you set an empty array, you block all channel plugins from the allowlist, but `--dangerously-load-development-channels` can still bypass that block for local testing. To block channels entirely including the development flag, leave `channelsEnabled` unset instead. This setting requires `channelsEnabled: true`. If a user passes a plugin to `--channels` that isn’t on your list, Claude Code starts normally but the channel doesn’t register, and the startup notice explains that the plugin isn’t on the organization’s approved list. If you set `MCP_PROTOCOL_NEGOTIATION` to `auto` on the v2 MCP client runtime, a channel can also fail to register because Claude Code [doesn’t register a channel server that negotiates protocol revision 2026-07-28](</docs/en/mcp#push-messages-with-channels>). ##
modified
--- a/channels.md +++ b/channels.md @@ -249,15 +249,7 @@ The message arrives in your Claude Code session. The terminal shows it as an inbound channel line like `← fakechat · web: what's in my working directory?`, while the model receives it as a `<channel source="plugin:fakechat:fakechat">` event, using the plugin’s scoped server name. Claude reads it, does the work, and calls fakechat’s `reply` tool. If Claude Code asks for permission for the first reply, approve it. The answer shows up in the chat UI. -If Claude hits a permission prompt while you’re away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) bypasses most prompts, but only use it in environments you trust. Even then, these checks still prompt: - - * Explicit ask rules - * Connector tools [your organization set to `ask`](</docs/en/mcp#organization-controls-on-connector-tools>) - * MCP tools marked [`requiresUserInteraction`](</docs/en/mcp#require-approval-for-a-specific-tool>) - * Removals targeting `/` or your home directory - * The [cross-session messaging safeguards](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) - -When you run channels in non-interactive mode with `-p`, tools that need terminal input, such as multiple-choice questions and plan mode approval, are disabled so the session never stalls waiting for input. +If Claude hits a permission prompt while you’re away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) bypasses most prompts, but only use it in environments you trust. Even then, the [actions no mode auto-approves](</docs/en/permission-modes#actions-no-mode-auto-approves>) still apply. When you run channels in non-interactive mode with `-p`, tools that need terminal input, such as multiple-choice questions and plan mode approval, are disabled so the session never stalls waiting for input. ##
modified
--- a/channels.md +++ b/channels.md @@ -247,7 +247,7 @@ what's in my working directory? -The message arrives in your Claude Code session. The terminal shows it as an inbound channel line like `← fakechat · web: what's in my working directory?`, while the model receives it as a `<channel source="plugin:fakechat:fakechat">` event, using the plugin’s scoped server name. Claude reads it, does the work, and calls fakechat’s `reply` tool. The first reply triggers a permission prompt in your terminal; approve it, and the answer shows up in the chat UI. +The message arrives in your Claude Code session. The terminal shows it as an inbound channel line like `← fakechat · web: what's in my working directory?`, while the model receives it as a `<channel source="plugin:fakechat:fakechat">` event, using the plugin’s scoped server name. Claude reads it, does the work, and calls fakechat’s `reply` tool. If Claude Code asks for permission for the first reply, approve it. The answer shows up in the chat UI. If Claude hits a permission prompt while you’re away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) bypasses most prompts, but only use it in environments you trust. Even then, these checks still prompt:
modified
--- a/channels.md +++ b/channels.md @@ -35,7 +35,7 @@ If the install fails, match the message Claude Code reports: * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. - * The plugin is not found in the marketplace: check the plugin name. Claude Code [refreshes a stale marketplace catalog and retries](</docs/en/discover-plugins#install-plugins>) before reporting this, so if you turned off [marketplace auto-update](</docs/en/discover-plugins#configure-auto-updates>), refresh manually with `/plugin marketplace update claude-plugins-official` and retry the install. + * The plugin is [not found in the marketplace](</docs/en/discover-plugins#install-plugins>): check the plugin name. When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to activate.`, run that command to activate the plugin’s configure command. @@ -113,7 +113,7 @@ If the install fails, match the message Claude Code reports: * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. - * The plugin is not found in the marketplace: check the plugin name. Claude Code [refreshes a stale marketplace catalog and retries](</docs/en/discover-plugins#install-plugins>) before reporting this, so if you turned off [marketplace auto-update](</docs/en/discover-plugins#configure-auto-updates>), refresh manually with `/plugin marketplace update claude-plugins-official` and retry the install. + * The plugin is [not found in the marketplace](</docs/en/discover-plugins#install-plugins>): check the plugin name. When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to activate.`, run that command to activate the plugin’s configure command. @@ -170,7 +170,7 @@ If the install fails, match the message Claude Code reports: * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. - * The plugin is not found in the marketplace: check the plugin name. Claude Code [refreshes a stale marketplace catalog and retries](</docs/en/discover-plugins#install-plugins>) before reporting this, so if you turned off [marketplace auto-update](</docs/en/discover-plugins#configure-auto-updates>), refresh manually with `/plugin marketplace update claude-plugins-official` and retry the install. + * The plugin is [not found in the marketplace](</docs/en/discover-plugins#install-plugins>): check the plugin name. When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. If the install summary reports `Run /reload-plugins to activate.`, you can skip that here, because restarting in the next step picks up the plugin. @@ -199,8 +199,6 @@ /imessage:access allow +15551234567 Handles are phone numbers in `+country` format or Apple ID emails like `user@example.com`. - -You can also [build your own channel](</docs/en/channels-reference>) for systems that don’t have a plugin yet. ## @@ -225,7 +223,7 @@ If the install fails, match the message Claude Code reports: * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. - * The plugin is not found in the marketplace: check the plugin name. Claude Code [refreshes a stale marketplace catalog and retries](</docs/en/discover-plugins#install-plugins>) before reporting this, so if you turned off [marketplace auto-update](</docs/en/discover-plugins#configure-auto-updates>), refresh manually with `/plugin marketplace update claude-plugins-official` and retry the install. + * The plugin is [not found in the marketplace](</docs/en/discover-plugins#install-plugins>): check the plugin name. When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. If the install summary reports `Run /reload-plugins to activate.`, you can skip that here, because restarting in the next step picks up the plugin. @@ -291,8 +289,8 @@ Setting| Purpose| When not configured ---|---|--- -`channelsEnabled`| Master switch. Must be `true` for any channel to deliver messages. Set via the [claude.ai Admin console](<https://claude.ai/admin-settings/claude-code>) toggle or directly in managed settings. Blocks all channels including the development flag when off.| claude.ai Team and Enterprise: channels blocked. Console: channels allowed unless your organization deploys managed settings, in which case channels are blocked until this key is set -`allowedChannelPlugins`| Which plugins can register once channels are enabled. Replaces the Anthropic-maintained list when set. Only applies when `channelsEnabled` is `true`.| Anthropic default list applies +`channelsEnabled`| Master switch. Must be `true` for any channel to deliver messages. Blocks all channels including the development flag when off. See Enable channels for your organization.| claude.ai Team and Enterprise: channels blocked. Console: channels allowed unless your organization deploys managed settings, in which case channels are blocked until this key is set +`allowedChannelPlugins`| Which plugins can register once channels are enabled. Replaces the Anthropic-maintained list when set.| Anthropic default list applies Pro and Max users without an organization skip these checks entirely: channels are available and users opt in per session with `--channels`. @@ -321,7 +319,7 @@ ] } -When `allowedChannelPlugins` is set, it replaces the Anthropic allowlist entirely: only the listed plugins can register. Leave it unset to fall back to the default Anthropic allowlist. If you set an empty array, you block all channel plugins from the allowlist, but `--dangerously-load-development-channels` can still bypass that block for local testing. To block channels entirely including the development flag, leave `channelsEnabled` unset instead. This setting requires `channelsEnabled: true`. If a user passes a plugin to `--channels` that isn’t on your list, Claude Code starts normally but the channel doesn’t register, and the startup notice explains that the plugin isn’t on the organization’s approved list. +If you set an empty array, you block all channel plugins from the allowlist, but `--dangerously-load-development-channels` can still bypass that block for local testing. To block channels entirely including the development flag, leave `channelsEnabled` unset instead. This setting requires `channelsEnabled: true`. If a user passes a plugin to `--channels` that isn’t on your list, Claude Code starts normally but the channel doesn’t register, and the startup notice explains that the plugin isn’t on the organization’s approved list. ##
modified
--- a/channels.md +++ b/channels.md @@ -251,7 +251,15 @@ The message arrives in your Claude Code session. The terminal shows it as an inbound channel line like `← fakechat · web: what's in my working directory?`, while the model receives it as a `<channel source="plugin:fakechat:fakechat">` event, using the plugin’s scoped server name. Claude reads it, does the work, and calls fakechat’s `reply` tool. The first reply triggers a permission prompt in your terminal; approve it, and the answer shows up in the chat UI. -If Claude hits a permission prompt while you’re away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) bypasses most prompts, but only use it in environments you trust. Explicit ask rules, connector tools [your organization set to `ask`](</docs/en/mcp#organization-controls-on-connector-tools>), and MCP tools marked [`requiresUserInteraction`](</docs/en/mcp#require-approval-for-a-specific-tool>) still prompt. When you run channels in non-interactive mode with `-p`, tools that need terminal input, such as multiple-choice questions and plan mode approval, are disabled so the session never stalls waiting for input. +If Claude hits a permission prompt while you’re away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) bypasses most prompts, but only use it in environments you trust. Even then, these checks still prompt: + + * Explicit ask rules + * Connector tools [your organization set to `ask`](</docs/en/mcp#organization-controls-on-connector-tools>) + * MCP tools marked [`requiresUserInteraction`](</docs/en/mcp#require-approval-for-a-specific-tool>) + * Removals targeting `/` or your home directory + * The [cross-session messaging safeguards](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) + +When you run channels in non-interactive mode with `-p`, tools that need terminal input, such as multiple-choice questions and plan mode approval, are disabled so the session never stalls waiting for input. ##
modified
--- a/channels.md +++ b/channels.md @@ -32,7 +32,12 @@ /plugin install telegram@claude-plugins-official -If Claude Code reports `Marketplace "claude-plugins-official" not found`, add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`. If it reports that the plugin is not found in the marketplace, your local copy is outdated: refresh it with `/plugin marketplace update claude-plugins-official`. Then retry the install.When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. After installing, run `/reload-plugins` to activate the plugin’s configure command. +If the install fails, match the message Claude Code reports: + + * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. + * The plugin is not found in the marketplace: check the plugin name. Claude Code [refreshes a stale marketplace catalog and retries](</docs/en/discover-plugins#install-plugins>) before reporting this, so if you turned off [marketplace auto-update](</docs/en/discover-plugins#configure-auto-updates>), refresh manually with `/plugin marketplace update claude-plugins-official` and retry the install. + +When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to activate.`, run that command to activate the plugin’s configure command. 3 @@ -105,7 +110,12 @@ /plugin install discord@claude-plugins-official -If Claude Code reports `Marketplace "claude-plugins-official" not found`, add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`. If it reports that the plugin is not found in the marketplace, your local copy is outdated: refresh it with `/plugin marketplace update claude-plugins-official`. Then retry the install.When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. After installing, run `/reload-plugins` to activate the plugin’s configure command. +If the install fails, match the message Claude Code reports: + + * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. + * The plugin is not found in the marketplace: check the plugin name. Claude Code [refreshes a stale marketplace catalog and retries](</docs/en/discover-plugins#install-plugins>) before reporting this, so if you turned off [marketplace auto-update](</docs/en/discover-plugins#configure-auto-updates>), refresh manually with `/plugin marketplace update claude-plugins-official` and retry the install. + +When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Check the install summary: if it reports `Run /reload-plugins to activate.`, run that command to activate the plugin’s configure command. 5 @@ -157,7 +167,12 @@ /plugin install imessage@claude-plugins-official -If Claude Code reports `Marketplace "claude-plugins-official" not found`, add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`. If it reports that the plugin is not found in the marketplace, your local copy is outdated: refresh it with `/plugin marketplace update claude-plugins-official`. Then retry the install.When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Claude Code then suggests running `/reload-plugins`; you can skip that here, because restarting in the next step picks up the plugin. +If the install fails, match the message Claude Code reports: + + * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. + * The plugin is not found in the marketplace: check the plugin name. Claude Code [refreshes a stale marketplace catalog and retries](</docs/en/discover-plugins#install-plugins>) before reporting this, so if you turned off [marketplace auto-update](</docs/en/discover-plugins#configure-auto-updates>), refresh manually with `/plugin marketplace update claude-plugins-official` and retry the install. + +When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. If the install summary reports `Run /reload-plugins to activate.`, you can skip that here, because restarting in the next step picks up the plugin. 3 @@ -207,7 +222,12 @@ /plugin install fakechat@claude-plugins-official -If Claude Code reports `Marketplace "claude-plugins-official" not found`, add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`. If it reports that the plugin is not found in the marketplace, your local copy is outdated: refresh it with `/plugin marketplace update claude-plugins-official`. Then retry the install.When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Claude Code then suggests running `/reload-plugins`; you can skip that here, because restarting in the next step picks up the plugin. +If the install fails, match the message Claude Code reports: + + * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`, then retry the install. + * The plugin is not found in the marketplace: check the plugin name. Claude Code [refreshes a stale marketplace catalog and retries](</docs/en/discover-plugins#install-plugins>) before reporting this, so if you turned off [marketplace auto-update](</docs/en/discover-plugins#configure-auto-updates>), refresh manually with `/plugin marketplace update claude-plugins-official` and retry the install. + +When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. If the install summary reports `Run /reload-plugins to activate.`, you can skip that here, because restarting in the next step picks up the plugin. 2
modified
--- a/channels.md +++ b/channels.md @@ -32,7 +32,7 @@ /plugin install telegram@claude-plugins-official -If Claude Code reports `Marketplace "claude-plugins-official" not found`, add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`. If it reports that the plugin is not found in the marketplace, your local copy is outdated: refresh it with `/plugin marketplace update claude-plugins-official`. Then retry the install.After installing, run `/reload-plugins` to activate the plugin’s configure command. +If Claude Code reports `Marketplace "claude-plugins-official" not found`, add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`. If it reports that the plugin is not found in the marketplace, your local copy is outdated: refresh it with `/plugin marketplace update claude-plugins-official`. Then retry the install.When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. After installing, run `/reload-plugins` to activate the plugin’s configure command. 3 @@ -105,7 +105,7 @@ /plugin install discord@claude-plugins-official -If Claude Code reports `Marketplace "claude-plugins-official" not found`, add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`. If it reports that the plugin is not found in the marketplace, your local copy is outdated: refresh it with `/plugin marketplace update claude-plugins-official`. Then retry the install.After installing, run `/reload-plugins` to activate the plugin’s configure command. +If Claude Code reports `Marketplace "claude-plugins-official" not found`, add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`. If it reports that the plugin is not found in the marketplace, your local copy is outdated: refresh it with `/plugin marketplace update claude-plugins-official`. Then retry the install.When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. After installing, run `/reload-plugins` to activate the plugin’s configure command. 5 @@ -157,7 +157,7 @@ /plugin install imessage@claude-plugins-official -If Claude Code reports `Marketplace "claude-plugins-official" not found`, add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`. If it reports that the plugin is not found in the marketplace, your local copy is outdated: refresh it with `/plugin marketplace update claude-plugins-official`. Then retry the install. +If Claude Code reports `Marketplace "claude-plugins-official" not found`, add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`. If it reports that the plugin is not found in the marketplace, your local copy is outdated: refresh it with `/plugin marketplace update claude-plugins-official`. Then retry the install.When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Claude Code then suggests running `/reload-plugins`; you can skip that here, because restarting in the next step picks up the plugin. 3 @@ -207,7 +207,7 @@ /plugin install fakechat@claude-plugins-official -If Claude Code reports `Marketplace "claude-plugins-official" not found`, add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`. If it reports that the plugin is not found in the marketplace, your local copy is outdated: refresh it with `/plugin marketplace update claude-plugins-official`. Then retry the install. +If Claude Code reports `Marketplace "claude-plugins-official" not found`, add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`. If it reports that the plugin is not found in the marketplace, your local copy is outdated: refresh it with `/plugin marketplace update claude-plugins-official`. Then retry the install.When the install asks for an installation scope, choose the user scope option so the plugin is available across all your projects. Claude Code then suggests running `/reload-plugins`; you can skip that here, because restarting in the next step picks up the plugin. 2 @@ -217,7 +217,7 @@ claude --channels plugin:fakechat@claude-plugins-official -The fakechat server starts automatically. +The fakechat server starts automatically. The startup screen shows a channels notice stating that messages from `plugin:fakechat@claude-plugins-official` inject directly in this session. If the plugin isn’t installed or isn’t on the approved allowlist, a warning line naming the problem appears below that notice. You can pass several plugins to `--channels`, space-separated. @@ -227,9 +227,9 @@ Open the fakechat UI at <http://localhost:8787> and type a message: - hey, what's in my working directory? - -The message arrives in your Claude Code session as a `<channel source="fakechat">` event. Claude reads it, does the work, and calls fakechat’s `reply` tool. The answer shows up in the chat UI. + what's in my working directory? + +The message arrives in your Claude Code session. The terminal shows it as an inbound channel line like `← fakechat · web: what's in my working directory?`, while the model receives it as a `<channel source="plugin:fakechat:fakechat">` event, using the plugin’s scoped server name. Claude reads it, does the work, and calls fakechat’s `reply` tool. The first reply triggers a permission prompt in your terminal; approve it, and the answer shows up in the chat UI. If Claude hits a permission prompt while you’re away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) bypasses most prompts, but only use it in environments you trust. Explicit ask rules, connector tools [your organization set to `ask`](</docs/en/mcp#organization-controls-on-connector-tools>), and MCP tools marked [`requiresUserInteraction`](</docs/en/mcp#require-approval-for-a-specific-tool>) still prompt. When you run channels in non-interactive mode with `-p`, tools that need terminal input, such as multiple-choice questions and plan mode approval, are disabled so the session never stalls waiting for input. @@ -301,7 +301,7 @@ Research preview -Channels are a research preview feature. Availability is rolling out gradually, and the `--channels` flag syntax and protocol contract may change based on feedback. During the preview, `--channels` only accepts plugins from an Anthropic-maintained allowlist, or from your organization’s allowlist if an admin has set `allowedChannelPlugins`. The channel plugins in [claude-plugins-official](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins>) are the default approved set. If you pass something that isn’t on the effective allowlist, Claude Code starts normally but the channel doesn’t register, and the startup notice tells you why. To test a channel you’re building, use `--dangerously-load-development-channels`. See [Test during the research preview](</docs/en/channels-reference#test-during-the-research-preview>) for information about testing custom channels that you build. Report issues or feedback on the [Claude Code GitHub repository](<https://github.com/anthropics/claude-code/issues>). +Channels are a research preview feature. Availability is rolling out gradually, and the `--channels` flag syntax and protocol contract may change based on feedback. Neither `--channels` nor `--dangerously-load-development-channels` appears in `claude --help` while the feature is in preview. The flags work even though they aren’t listed. During the preview, `--channels` only accepts plugins from an Anthropic-maintained allowlist, or from your organization’s allowlist if an admin has set `allowedChannelPlugins`. The channel plugins in [claude-plugins-official](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins>) are the default approved set. If you pass something that isn’t on the effective allowlist, Claude Code starts normally but the channel doesn’t register, and the startup notice tells you why. To test a channel you’re building, use `--dangerously-load-development-channels`. See [Test during the research preview](</docs/en/channels-reference#test-during-the-research-preview>) for information about testing custom channels that you build. Report issues or feedback on the [Claude Code GitHub repository](<https://github.com/anthropics/claude-code/issues>). ##
modified
--- a/channels.md +++ b/channels.md @@ -32,7 +32,7 @@ /plugin install telegram@claude-plugins-official -If Claude Code reports that the plugin is not found in any marketplace, your marketplace is either missing or outdated. Run `/plugin marketplace update claude-plugins-official` to refresh it, or `/plugin marketplace add anthropics/claude-plugins-official` if you haven’t added it before. Then retry the install.After installing, run `/reload-plugins` to activate the plugin’s configure command. +If Claude Code reports `Marketplace "claude-plugins-official" not found`, add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`. If it reports that the plugin is not found in the marketplace, your local copy is outdated: refresh it with `/plugin marketplace update claude-plugins-official`. Then retry the install.After installing, run `/reload-plugins` to activate the plugin’s configure command. 3 @@ -105,7 +105,7 @@ /plugin install discord@claude-plugins-official -If Claude Code reports that the plugin is not found in any marketplace, your marketplace is either missing or outdated. Run `/plugin marketplace update claude-plugins-official` to refresh it, or `/plugin marketplace add anthropics/claude-plugins-official` if you haven’t added it before. Then retry the install.After installing, run `/reload-plugins` to activate the plugin’s configure command. +If Claude Code reports `Marketplace "claude-plugins-official" not found`, add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`. If it reports that the plugin is not found in the marketplace, your local copy is outdated: refresh it with `/plugin marketplace update claude-plugins-official`. Then retry the install.After installing, run `/reload-plugins` to activate the plugin’s configure command. 5 @@ -157,7 +157,7 @@ /plugin install imessage@claude-plugins-official -If Claude Code reports that the plugin is not found in any marketplace, your marketplace is either missing or outdated. Run `/plugin marketplace update claude-plugins-official` to refresh it, or `/plugin marketplace add anthropics/claude-plugins-official` if you haven’t added it before. Then retry the install. +If Claude Code reports `Marketplace "claude-plugins-official" not found`, add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`. If it reports that the plugin is not found in the marketplace, your local copy is outdated: refresh it with `/plugin marketplace update claude-plugins-official`. Then retry the install. 3 @@ -207,7 +207,7 @@ /plugin install fakechat@claude-plugins-official -If Claude Code reports that the plugin is not found in any marketplace, your marketplace is either missing or outdated. Run `/plugin marketplace update claude-plugins-official` to refresh it, or `/plugin marketplace add anthropics/claude-plugins-official` if you haven’t added it before. Then retry the install. +If Claude Code reports `Marketplace "claude-plugins-official" not found`, add the marketplace with `/plugin marketplace add anthropics/claude-plugins-official`. If it reports that the plugin is not found in the marketplace, your local copy is outdated: refresh it with `/plugin marketplace update claude-plugins-official`. Then retry the install. 2
modified
--- a/channels.md +++ b/channels.md @@ -231,7 +231,7 @@ The message arrives in your Claude Code session as a `<channel source="fakechat">` event. Claude reads it, does the work, and calls fakechat’s `reply` tool. The answer shows up in the chat UI. -If Claude hits a permission prompt while you’re away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) bypasses prompts other than explicit ask rules, but only use it in environments you trust. When you run channels in non-interactive mode with `-p`, tools that need terminal input, such as multiple-choice questions and plan mode approval, are disabled so the session never stalls waiting for input. +If Claude hits a permission prompt while you’re away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) bypasses most prompts, but only use it in environments you trust. Explicit ask rules, connector tools [your organization set to `ask`](</docs/en/mcp#organization-controls-on-connector-tools>), and MCP tools marked [`requiresUserInteraction`](</docs/en/mcp#require-approval-for-a-specific-tool>) still prompt. When you run channels in non-interactive mode with `-p`, tools that need terminal input, such as multiple-choice questions and plan mode approval, are disabled so the session never stalls waiting for input. ## @@ -293,7 +293,7 @@ ] } -When `allowedChannelPlugins` is set, it replaces the Anthropic allowlist entirely: only the listed plugins can register. Leave it unset to fall back to the default Anthropic allowlist. An empty array blocks all channel plugins from the allowlist, but `--dangerously-load-development-channels` can still bypass it for local testing. To block channels entirely including the development flag, leave `channelsEnabled` unset instead. This setting requires `channelsEnabled: true`. If a user passes a plugin to `--channels` that isn’t on your list, Claude Code starts normally but the channel doesn’t register, and the startup notice explains that the plugin isn’t on the organization’s approved list. +When `allowedChannelPlugins` is set, it replaces the Anthropic allowlist entirely: only the listed plugins can register. Leave it unset to fall back to the default Anthropic allowlist. If you set an empty array, you block all channel plugins from the allowlist, but `--dangerously-load-development-channels` can still bypass that block for local testing. To block channels entirely including the development flag, leave `channelsEnabled` unset instead. This setting requires `channelsEnabled: true`. If a user passes a plugin to `--channels` that isn’t on your list, Claude Code starts normally but the channel doesn’t register, and the startup notice explains that the plugin isn’t on the organization’s approved list. ##
modified
--- a/channels.md +++ b/channels.md @@ -1,4 +1,4 @@ -Channels are in research preview and require Claude Code v2.1.80 or later. They require Anthropic authentication through claude.ai or a Console API key, and are not available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. Team and Enterprise organizations must explicitly enable them. +Channels are in research preview. They require Anthropic authentication through claude.ai or a Console API key, and are not available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. Team and Enterprise organizations must explicitly enable them. A channel is an MCP server that pushes events into your running Claude Code session, so Claude can react to things that happen while you’re not at the terminal. Channels can be two-way: Claude reads the event and replies back through the same channel, like a chat bridge. Events only arrive while the session is open, so for an always-on setup you run Claude in a background process or persistent terminal. Unlike integrations that spawn a fresh cloud session or wait to be polled, the event arrives in the session you already have open: see how channels compare. You install a channel as a plugin and configure it with your own credentials. Telegram, Discord, and iMessage are included in the research preview. When Claude replies through a channel, you see the inbound message in your terminal but not the reply text. The terminal shows the tool call and a confirmation (like “sent”), and the actual reply appears on the other platform. If you manage a Team, Enterprise, or Console organization, see Enable channels for your organization. To build your own channel, see the [Channels reference](</docs/en/channels-reference>).
modified
--- a/channels.md +++ b/channels.md @@ -1,4 +1,4 @@ -Channels are in research preview and require Claude Code v2.1.80 or later. They require Anthropic authentication through claude.ai or a Console API key, and are not available on Amazon Bedrock, Google Vertex AI, or Microsoft Foundry. Team and Enterprise organizations must explicitly enable them. +Channels are in research preview and require Claude Code v2.1.80 or later. They require Anthropic authentication through claude.ai or a Console API key, and are not available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. Team and Enterprise organizations must explicitly enable them. A channel is an MCP server that pushes events into your running Claude Code session, so Claude can react to things that happen while you’re not at the terminal. Channels can be two-way: Claude reads the event and replies back through the same channel, like a chat bridge. Events only arrive while the session is open, so for an always-on setup you run Claude in a background process or persistent terminal. Unlike integrations that spawn a fresh cloud session or wait to be polled, the event arrives in the session you already have open: see how channels compare. You install a channel as a plugin and configure it with your own credentials. Telegram, Discord, and iMessage are included in the research preview. When Claude replies through a channel, you see the inbound message in your terminal but not the reply text. The terminal shows the tool call and a confirmation (like “sent”), and the actual reply appears on the other platform. If you manage a Team, Enterprise, or Console organization, see Enable channels for your organization. To build your own channel, see the [Channels reference](</docs/en/channels-reference>).
modified
--- a/channels.md +++ b/channels.md @@ -1,14 +1,6 @@ Channels are in research preview and require Claude Code v2.1.80 or later. They require Anthropic authentication through claude.ai or a Console API key, and are not available on Amazon Bedrock, Google Vertex AI, or Microsoft Foundry. Team and Enterprise organizations must explicitly enable them. -A channel is an MCP server that pushes events into your running Claude Code session, so Claude can react to things that happen while you’re not at the terminal. Channels can be two-way: Claude reads the event and replies back through the same channel, like a chat bridge. Events only arrive while the session is open, so for an always-on setup you run Claude in a background process or persistent terminal. Unlike integrations that spawn a fresh cloud session or wait to be polled, the event arrives in the session you already have open: see how channels compare. You install a channel as a plugin and configure it with your own credentials. Telegram, Discord, and iMessage are included in the research preview. When Claude replies through a channel, you see the inbound message in your terminal but not the reply text. The terminal shows the tool call and a confirmation (like “sent”), and the actual reply appears on the other platform. This page covers: - - * Supported channels: Telegram, Discord, and iMessage setup - * Install and run a channel with fakechat, a localhost demo - * Who can push messages: sender allowlists and how you pair - * Enable channels for your organization if you manage a Team, Enterprise, or Console org - * How channels compare to web sessions, Slack, MCP, and Remote Control - -To build your own channel, see the [Channels reference](</docs/en/channels-reference>). +A channel is an MCP server that pushes events into your running Claude Code session, so Claude can react to things that happen while you’re not at the terminal. Channels can be two-way: Claude reads the event and replies back through the same channel, like a chat bridge. Events only arrive while the session is open, so for an always-on setup you run Claude in a background process or persistent terminal. Unlike integrations that spawn a fresh cloud session or wait to be polled, the event arrives in the session you already have open: see how channels compare. You install a channel as a plugin and configure it with your own credentials. Telegram, Discord, and iMessage are included in the research preview. When Claude replies through a channel, you see the inbound message in your terminal but not the reply text. The terminal shows the tool call and a confirmation (like “sent”), and the actual reply appears on the other platform. If you manage a Team, Enterprise, or Console organization, see Enable channels for your organization. To build your own channel, see the [Channels reference](</docs/en/channels-reference>). ##
modified
--- a/channels.md +++ b/channels.md @@ -264,7 +264,7 @@ Admins control availability through two [managed settings](</docs/en/settings>) that users cannot override. The default depends on how you authenticate: - * **claude.ai Team and Enterprise** : channels are blocked until an admin enables them. + * **claude.ai Team and Enterprise** : channels are blocked until an Owner enables them. * **Anthropic Console with API key authentication** : channels are permitted by default. You only need this setting if your organization deploys managed settings. In all cases, no channel runs until a user opts it in for the session with `--channels`. @@ -282,7 +282,7 @@ Enable channels for your organization -Admins can enable channels from [**claude.ai → Admin settings → Claude Code → Channels**](<https://claude.ai/admin-settings/claude-code>), or by setting `channelsEnabled` to `true` in managed settings. Once enabled, users in your organization can use `--channels` to opt channel servers into individual sessions. If the setting is disabled or unset, the MCP server still connects and its tools work, but channel messages won’t arrive. A startup warning tells the user to have an admin enable the setting. +Enable channels for your organization from [**claude.ai → Admin settings → Claude Code → Channels**](<https://claude.ai/admin-settings/claude-code>), which requires the Owner role, or by setting `channelsEnabled` to `true` in managed settings. Once enabled, users in your organization can use `--channels` to opt channel servers into individual sessions. If the setting is disabled or unset, the MCP server still connects and its tools work, but channel messages won’t arrive. A startup warning tells the user to have an admin enable the setting. ###
modified
--- a/channels.md +++ b/channels.md @@ -239,7 +239,7 @@ The message arrives in your Claude Code session as a `<channel source="fakechat">` event. Claude reads it, does the work, and calls fakechat’s `reply` tool. The answer shows up in the chat UI. -If Claude hits a permission prompt while you’re away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) bypasses prompts entirely, but only use it in environments you trust. When you run channels in non-interactive mode with `-p`, tools that need terminal input, such as multiple-choice questions and plan mode approval, are disabled so the session never stalls waiting for input. +If Claude hits a permission prompt while you’re away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) bypasses prompts other than explicit ask rules, but only use it in environments you trust. When you run channels in non-interactive mode with `-p`, tools that need terminal input, such as multiple-choice questions and plan mode approval, are disabled so the session never stalls waiting for input. ##
modified
--- a/channels.md +++ b/channels.md @@ -1,9 +1,3 @@ -> ## Documentation Index -> -> Fetch the complete documentation index at: <https://code.claude.com/docs/llms.txt> -> -> Use this file to discover all available pages before exploring further. - Channels are in research preview and require Claude Code v2.1.80 or later. They require Anthropic authentication through claude.ai or a Console API key, and are not available on Amazon Bedrock, Google Vertex AI, or Microsoft Foundry. Team and Enterprise organizations must explicitly enable them. A channel is an MCP server that pushes events into your running Claude Code session, so Claude can react to things that happen while you’re not at the terminal. Channels can be two-way: Claude reads the event and replies back through the same channel, like a chat bridge. Events only arrive while the session is open, so for an always-on setup you run Claude in a background process or persistent terminal. Unlike integrations that spawn a fresh cloud session or wait to be polled, the event arrives in the session you already have open: see how channels compare. You install a channel as a plugin and configure it with your own credentials. Telegram, Discord, and iMessage are included in the research preview. When Claude replies through a channel, you see the inbound message in your terminal but not the reply text. The terminal shows the tool call and a confirmation (like “sent”), and the actual reply appears on the other platform. This page covers:
modified
--- a/channels.md +++ b/channels.md @@ -245,7 +245,7 @@ The message arrives in your Claude Code session as a `<channel source="fakechat">` event. Claude reads it, does the work, and calls fakechat’s `reply` tool. The answer shows up in the chat UI. -If Claude hits a permission prompt while you’re away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) bypasses prompts entirely, but only use it in environments you trust. +If Claude hits a permission prompt while you’re away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) bypasses prompts entirely, but only use it in environments you trust. When you run channels in non-interactive mode with `-p`, tools that need terminal input, such as multiple-choice questions and plan mode approval, are disabled so the session never stalls waiting for input. ##
modified
--- a/channels.md +++ b/channels.md @@ -4,14 +4,14 @@ > > Use this file to discover all available pages before exploring further. -Channels are in research preview and require Claude Code v2.1.80 or later. They require claude.ai login. Console and API key authentication is not supported. Team and Enterprise organizations must explicitly enable them. +Channels are in research preview and require Claude Code v2.1.80 or later. They require Anthropic authentication through claude.ai or a Console API key, and are not available on Amazon Bedrock, Google Vertex AI, or Microsoft Foundry. Team and Enterprise organizations must explicitly enable them. A channel is an MCP server that pushes events into your running Claude Code session, so Claude can react to things that happen while you’re not at the terminal. Channels can be two-way: Claude reads the event and replies back through the same channel, like a chat bridge. Events only arrive while the session is open, so for an always-on setup you run Claude in a background process or persistent terminal. Unlike integrations that spawn a fresh cloud session or wait to be polled, the event arrives in the session you already have open: see how channels compare. You install a channel as a plugin and configure it with your own credentials. Telegram, Discord, and iMessage are included in the research preview. When Claude replies through a channel, you see the inbound message in your terminal but not the reply text. The terminal shows the tool call and a confirmation (like “sent”), and the actual reply appears on the other platform. This page covers: * Supported channels: Telegram, Discord, and iMessage setup * Install and run a channel with fakechat, a localhost demo * Who can push messages: sender allowlists and how you pair - * Enable channels for your organization on Team and Enterprise + * Enable channels for your organization if you manage a Team, Enterprise, or Console org * How channels compare to web sessions, Slack, MCP, and Remote Control To build your own channel, see the [Channels reference](</docs/en/channels-reference>). @@ -209,9 +209,9 @@ Fakechat is an officially supported demo channel that runs a chat UI on localhost, with nothing to authenticate and no external service to configure. Once you install and enable fakechat, you can type in the browser and the message arrives in your Claude Code session. Claude replies, and the reply shows up back in the browser. After you’ve tested the fakechat interface, try out [Telegram](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/telegram>), [Discord](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/discord>), or [iMessage](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/imessage>). To try the fakechat demo, you’ll need: - * Claude Code [installed and authenticated](</docs/en/quickstart#step-1-install-claude-code>) with a claude.ai account + * Claude Code [installed and authenticated](</docs/en/quickstart#step-1-install-claude-code>) with a claude.ai account or a Claude Console API key * [Bun](<https://bun.sh>) installed. The pre-built channel plugins are Bun scripts. Check with `bun --version`; if that fails, [install Bun](<https://bun.sh/docs/installation>). - * **Team/Enterprise users** : your organization admin must enable channels in managed settings + * **Team, Enterprise, or managed Console org** : your admin must enable channels in managed settings 1 @@ -260,7 +260,7 @@ 3. In your Claude Code session, approve the code when prompted 4. Your sender ID is added to the allowlist -iMessage works differently: texting yourself bypasses the gate automatically, and you add other contacts by handle with `/imessage:access allow`. On top of that, you control which servers are enabled each session with `--channels`, and on Team and Enterprise plans your organization controls availability with `channelsEnabled`. Being in `.mcp.json` isn’t enough to push messages: a server also has to be named in `--channels`. The allowlist also gates [permission relay](</docs/en/channels-reference#relay-permission-prompts>) if the channel declares it. Anyone who can reply through the channel can approve or deny tool use in your session, so only allowlist senders you trust with that authority. +iMessage works differently: texting yourself bypasses the gate automatically, and you add other contacts by handle with `/imessage:access allow`. On top of that, you control which servers are enabled each session with `--channels`, and your organization controls availability with `channelsEnabled` on claude.ai Team and Enterprise plans and on Console organizations that deploy managed settings. Being in `.mcp.json` isn’t enough to push messages: a server also has to be named in `--channels`. The allowlist also gates [permission relay](</docs/en/channels-reference#relay-permission-prompts>) if the channel declares it. Anyone who can reply through the channel can approve or deny tool use in your session, so only allowlist senders you trust with that authority. ## @@ -268,11 +268,16 @@ Enterprise controls -On Team and Enterprise plans, channels are off by default. Admins control availability through two [managed settings](</docs/en/settings>) that users cannot override: +Admins control availability through two [managed settings](</docs/en/settings>) that users cannot override. The default depends on how you authenticate: + + * **claude.ai Team and Enterprise** : channels are blocked until an admin enables them. + * **Anthropic Console with API key authentication** : channels are permitted by default. You only need this setting if your organization deploys managed settings. + +In all cases, no channel runs until a user opts it in for the session with `--channels`. Setting| Purpose| When not configured ---|---|--- -`channelsEnabled`| Master switch. Must be `true` for any channel to deliver messages. Set via the [claude.ai Admin console](<https://claude.ai/admin-settings/claude-code>) toggle or directly in managed settings. Blocks all channels including the development flag when off.| Channels blocked +`channelsEnabled`| Master switch. Must be `true` for any channel to deliver messages. Set via the [claude.ai Admin console](<https://claude.ai/admin-settings/claude-code>) toggle or directly in managed settings. Blocks all channels including the development flag when off.| claude.ai Team and Enterprise: channels blocked. Console: channels allowed unless your organization deploys managed settings, in which case channels are blocked until this key is set `allowedChannelPlugins`| Which plugins can register once channels are enabled. Replaces the Anthropic-maintained list when set. Only applies when `channelsEnabled` is `true`.| Anthropic default list applies Pro and Max users without an organization skip these checks entirely: channels are available and users opt in per session with `--channels`.
modified
--- a/channels.md +++ b/channels.md @@ -1,3 +1,9 @@ +> ## Documentation Index +> +> Fetch the complete documentation index at: <https://code.claude.com/docs/llms.txt> +> +> Use this file to discover all available pages before exploring further. + Channels are in research preview and require Claude Code v2.1.80 or later. They require claude.ai login. Console and API key authentication is not supported. Team and Enterprise organizations must explicitly enable them. A channel is an MCP server that pushes events into your running Claude Code session, so Claude can react to things that happen while you’re not at the terminal. Channels can be two-way: Claude reads the event and replies back through the same channel, like a chat bridge. Events only arrive while the session is open, so for an always-on setup you run Claude in a background process or persistent terminal. Unlike integrations that spawn a fresh cloud session or wait to be polled, the event arrives in the session you already have open: see how channels compare. You install a channel as a plugin and configure it with your own credentials. Telegram, Discord, and iMessage are included in the research preview. When Claude replies through a channel, you see the inbound message in your terminal but not the reply text. The terminal shows the tool call and a confirmation (like “sent”), and the actual reply appears on the other platform. This page covers:
modified
--- a/channels.md +++ b/channels.md @@ -191,7 +191,7 @@ /imessage:access allow +15551234567 -Handles are phone numbers in `+country` format or Apple ID emails like `[[email protected]](</cdn-cgi/l/email-protection>)`. +Handles are phone numbers in `+country` format or Apple ID emails like `user@example.com`. You can also [build your own channel](</docs/en/channels-reference>) for systems that don’t have a plugin yet.
modified
Show diff (216 lines)
--- a/channels.md +++ b/channels.md @@ -38,12 +38,6 @@ In Claude Code, run: -Report incorrect code - -Copy - -Ask AI - /plugin install telegram@claude-plugins-official If Claude Code reports that the plugin is not found in any marketplace, your marketplace is either missing or outdated. Run `/plugin marketplace update claude-plugins-official` to refresh it, or `/plugin marketplace add anthropics/claude-plugins-official` if you haven’t added it before. Then retry the install.After installing, run `/reload-plugins` to activate the plugin’s configure command. @@ -54,12 +48,6 @@ Run the configure command with the token from BotFather: -Report incorrect code - -Copy - -Ask AI - /telegram:configure <token> This saves it to `~/.claude/channels/telegram/.env`. You can also set `TELEGRAM_BOT_TOKEN` in your shell environment before launching Claude Code. @@ -70,12 +58,6 @@ Exit Claude Code and restart with the channel flag. This starts the Telegram plugin, which begins polling for messages from your bot: -Report incorrect code - -Copy - -Ask AI - claude --channels plugin:telegram@claude-plugins-official 5 @@ -88,21 +70,9 @@ Back in Claude Code, run: -Report incorrect code - -Copy - -Ask AI - /telegram:access pair <code> Then lock down access so only your account can send messages: - -Report incorrect code - -Copy - -Ask AI /telegram:access policy allowlist @@ -141,12 +111,6 @@ In Claude Code, run: -Report incorrect code - -Copy - -Ask AI - /plugin install discord@claude-plugins-official If Claude Code reports that the plugin is not found in any marketplace, your marketplace is either missing or outdated. Run `/plugin marketplace update claude-plugins-official` to refresh it, or `/plugin marketplace add anthropics/claude-plugins-official` if you haven’t added it before. Then retry the install.After installing, run `/reload-plugins` to activate the plugin’s configure command. @@ -157,12 +121,6 @@ Run the configure command with the bot token you copied: -Report incorrect code - -Copy - -Ask AI - /discord:configure <token> This saves it to `~/.claude/channels/discord/.env`. You can also set `DISCORD_BOT_TOKEN` in your shell environment before launching Claude Code. @@ -173,12 +131,6 @@ Exit Claude Code and restart with the channel flag. This connects the Discord plugin so your bot can receive and respond to messages: -Report incorrect code - -Copy - -Ask AI - claude --channels plugin:discord@claude-plugins-official 7 @@ -191,22 +143,10 @@ Back in Claude Code, run: -Report incorrect code - -Copy - -Ask AI - /discord:access pair <code> Then lock down access so only your account can send messages: -Report incorrect code - -Copy - -Ask AI - /discord:access policy allowlist View the full [iMessage plugin source](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/imessage>).The iMessage channel reads your Messages database directly and sends replies through AppleScript. It requires macOS and needs no bot token or external service. @@ -223,12 +163,6 @@ In Claude Code, run: -Report incorrect code - -Copy - -Ask AI - /plugin install imessage@claude-plugins-official If Claude Code reports that the plugin is not found in any marketplace, your marketplace is either missing or outdated. Run `/plugin marketplace update claude-plugins-official` to refresh it, or `/plugin marketplace add anthropics/claude-plugins-official` if you haven’t added it before. Then retry the install. @@ -239,12 +173,6 @@ Exit Claude Code and restart with the channel flag: -Report incorrect code - -Copy - -Ask AI - claude --channels plugin:imessage@claude-plugins-official 4 @@ -260,12 +188,6 @@ Allow other senders By default, only your own messages pass through. To let another contact reach Claude, add their handle: - -Report incorrect code - -Copy - -Ask AI /imessage:access allow +15551234567 @@ -291,12 +213,6 @@ Start a Claude Code session and run the install command: -Report incorrect code - -Copy - -Ask AI - /plugin install fakechat@claude-plugins-official If Claude Code reports that the plugin is not found in any marketplace, your marketplace is either missing or outdated. Run `/plugin marketplace update claude-plugins-official` to refresh it, or `/plugin marketplace add anthropics/claude-plugins-official` if you haven’t added it before. Then retry the install. @@ -307,12 +223,6 @@ Exit Claude Code, then restart with `--channels` and pass the fakechat plugin you installed: -Report incorrect code - -Copy - -Ask AI - claude --channels plugin:fakechat@claude-plugins-official The fakechat server starts automatically. @@ -324,12 +234,6 @@ Push a message in Open the fakechat UI at <http://localhost:8787> and type a message: - -Report incorrect code - -Copy - -Ask AI hey, what's in my working directory? @@ -382,12 +286,6 @@ Restrict which channel plugins can run By default, any plugin on the Anthropic-maintained allowlist can register as a channel. Admins on Team and Enterprise plans can replace that allowlist with their own by setting `allowedChannelPlugins` in managed settings. Use this to restrict which official plugins are allowed, approve channels from your own internal marketplace, or both. Each entry names a plugin and the marketplace it comes from: - -Report incorrect code - -Copy - -Ask AI { "channelsEnabled": true,
modified
--- a/channels.md +++ b/channels.md @@ -358,12 +358,14 @@ Enterprise controls -Channels are controlled by the `channelsEnabled` setting in [managed settings](</docs/en/settings>). - -Plan type| Default behavior ----|--- -Pro / Max, no organization| Channels available; users opt in per session with `--channels` -Team / Enterprise| Channels disabled until an admin explicitly enables them +On Team and Enterprise plans, channels are off by default. Admins control availability through two [managed settings](</docs/en/settings>) that users cannot override: + +Setting| Purpose| When not configured +---|---|--- +`channelsEnabled`| Master switch. Must be `true` for any channel to deliver messages. Set via the [claude.ai Admin console](<https://claude.ai/admin-settings/claude-code>) toggle or directly in managed settings. Blocks all channels including the development flag when off.| Channels blocked +`allowedChannelPlugins`| Which plugins can register once channels are enabled. Replaces the Anthropic-maintained list when set. Only applies when `channelsEnabled` is `true`.| Anthropic default list applies + +Pro and Max users without an organization skip these checks entirely: channels are available and users opt in per session with `--channels`. ### @@ -373,13 +375,38 @@ Admins can enable channels from [**claude.ai → Admin settings → Claude Code → Channels**](<https://claude.ai/admin-settings/claude-code>), or by setting `channelsEnabled` to `true` in managed settings. Once enabled, users in your organization can use `--channels` to opt channel servers into individual sessions. If the setting is disabled or unset, the MCP server still connects and its tools work, but channel messages won’t arrive. A startup warning tells the user to have an admin enable the setting. +### + +​ + +Restrict which channel plugins can run + +By default, any plugin on the Anthropic-maintained allowlist can register as a channel. Admins on Team and Enterprise plans can replace that allowlist with their own by setting `allowedChannelPlugins` in managed settings. Use this to restrict which official plugins are allowed, approve channels from your own internal marketplace, or both. Each entry names a plugin and the marketplace it comes from: + +Report incorrect code + +Copy + +Ask AI + + { + "channelsEnabled": true, + "allowedChannelPlugins": [ + { "marketplace": "claude-plugins-official", "plugin": "telegram" }, + { "marketplace": "claude-plugins-official", "plugin": "discord" }, + { "marketplace": "acme-corp-plugins", "plugin": "internal-alerts" } + ] + } + +When `allowedChannelPlugins` is set, it replaces the Anthropic allowlist entirely: only the listed plugins can register. Leave it unset to fall back to the default Anthropic allowlist. An empty array blocks all channel plugins from the allowlist, but `--dangerously-load-development-channels` can still bypass it for local testing. To block channels entirely including the development flag, leave `channelsEnabled` unset instead. This setting requires `channelsEnabled: true`. If a user passes a plugin to `--channels` that isn’t on your list, Claude Code starts normally but the channel doesn’t register, and the startup notice explains that the plugin isn’t on the organization’s approved list. + ## ​ Research preview -Channels are a research preview feature. Availability is rolling out gradually, and the `--channels` flag syntax and protocol contract may change based on feedback. During the preview, `--channels` only accepts plugins from an Anthropic-maintained allowlist. The channel plugins in [claude-plugins-official](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins>) are the approved set. If you pass something that isn’t, Claude Code starts normally but the channel doesn’t register, and the startup notice tells you why. To test a channel you’re building, use `--dangerously-load-development-channels`. See [Test during the research preview](</docs/en/channels-reference#test-during-the-research-preview>) for information about testing custom channels that you build. Report issues or feedback on the [Claude Code GitHub repository](<https://github.com/anthropics/claude-code/issues>). +Channels are a research preview feature. Availability is rolling out gradually, and the `--channels` flag syntax and protocol contract may change based on feedback. During the preview, `--channels` only accepts plugins from an Anthropic-maintained allowlist, or from your organization’s allowlist if an admin has set `allowedChannelPlugins`. The channel plugins in [claude-plugins-official](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins>) are the default approved set. If you pass something that isn’t on the effective allowlist, Claude Code starts normally but the channel doesn’t register, and the startup notice tells you why. To test a channel you’re building, use `--dangerously-load-development-channels`. See [Test during the research preview](</docs/en/channels-reference#test-during-the-research-preview>) for information about testing custom channels that you build. Report issues or feedback on the [Claude Code GitHub repository](<https://github.com/anthropics/claude-code/issues>). ##
modified
Show diff (128 lines)
--- a/channels.md +++ b/channels.md @@ -1,8 +1,8 @@ Channels are in research preview and require Claude Code v2.1.80 or later. They require claude.ai login. Console and API key authentication is not supported. Team and Enterprise organizations must explicitly enable them. -A channel is an MCP server that pushes events into your running Claude Code session, so Claude can react to things that happen while you’re not at the terminal. Channels can be two-way: Claude reads the event and replies back through the same channel, like a chat bridge. Events only arrive while the session is open, so for an always-on setup you run Claude in a background process or persistent terminal. Unlike integrations that spawn a fresh cloud session or wait to be polled, the event arrives in the session you already have open: see how channels compare. You install a channel as a plugin and configure it with your own credentials. Telegram and Discord are included in the research preview. When Claude replies through a channel, you see the inbound message in your terminal but not the reply text. The terminal shows the tool call and a confirmation (like “sent”), and the actual reply appears on the other platform. This page covers: - - * Supported channels: Telegram and Discord setup +A channel is an MCP server that pushes events into your running Claude Code session, so Claude can react to things that happen while you’re not at the terminal. Channels can be two-way: Claude reads the event and replies back through the same channel, like a chat bridge. Events only arrive while the session is open, so for an always-on setup you run Claude in a background process or persistent terminal. Unlike integrations that spawn a fresh cloud session or wait to be polled, the event arrives in the session you already have open: see how channels compare. You install a channel as a plugin and configure it with your own credentials. Telegram, Discord, and iMessage are included in the research preview. When Claude replies through a channel, you see the inbound message in your terminal but not the reply text. The terminal shows the tool call and a confirmation (like “sent”), and the actual reply appears on the other platform. This page covers: + + * Supported channels: Telegram, Discord, and iMessage setup * Install and run a channel with fakechat, a localhost demo * Who can push messages: sender allowlists and how you pair * Enable channels for your organization on Team and Enterprise @@ -21,6 +21,8 @@ * Telegram * Discord + + * iMessage View the full [Telegram plugin source](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/telegram>). @@ -207,6 +209,68 @@ /discord:access policy allowlist +View the full [iMessage plugin source](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/imessage>).The iMessage channel reads your Messages database directly and sends replies through AppleScript. It requires macOS and needs no bot token or external service. + +1 + +Grant Full Disk Access + +The Messages database at `~/Library/Messages/chat.db` is protected by macOS. The first time the server reads it, macOS prompts for access: click **Allow**. The prompt names whichever app launched Bun, such as Terminal, iTerm, or your IDE.If the prompt doesn’t appear or you clicked Don’t Allow, grant access manually under **System Settings > Privacy & Security > Full Disk Access** and add your terminal. Without this, the server exits immediately with `authorization denied`. + +2 + +Install the plugin + +In Claude Code, run: + +Report incorrect code + +Copy + +Ask AI + + /plugin install imessage@claude-plugins-official + +If Claude Code reports that the plugin is not found in any marketplace, your marketplace is either missing or outdated. Run `/plugin marketplace update claude-plugins-official` to refresh it, or `/plugin marketplace add anthropics/claude-plugins-official` if you haven’t added it before. Then retry the install. + +3 + +Restart with channels enabled + +Exit Claude Code and restart with the channel flag: + +Report incorrect code + +Copy + +Ask AI + + claude --channels plugin:imessage@claude-plugins-official + +4 + +Text yourself + +Open Messages on any device signed into your Apple ID and send a message to yourself. It reaches Claude immediately: self-chat bypasses access control with no setup. + +The first reply Claude sends triggers a macOS Automation prompt asking if your terminal can control Messages. Click **OK**. + +5 + +Allow other senders + +By default, only your own messages pass through. To let another contact reach Claude, add their handle: + +Report incorrect code + +Copy + +Ask AI + + /imessage:access allow +15551234567 + +Handles are phone numbers in `+country` format or Apple ID emails like `[[email protected]](</cdn-cgi/l/email-protection>)`. + You can also [build your own channel](</docs/en/channels-reference>) for systems that don’t have a plugin yet. ## @@ -215,7 +279,7 @@ Quickstart -Fakechat is an officially supported demo channel that runs a chat UI on localhost, with nothing to authenticate and no external service to configure. Once you install and enable fakechat, you can type in the browser and the message arrives in your Claude Code session. Claude replies, and the reply shows up back in the browser. After you’ve tested the fakechat interface, try out [Telegram](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/telegram>) or [Discord](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/discord>). To try the fakechat demo, you’ll need: +Fakechat is an officially supported demo channel that runs a chat UI on localhost, with nothing to authenticate and no external service to configure. Once you install and enable fakechat, you can type in the browser and the message arrives in your Claude Code session. Claude replies, and the reply shows up back in the browser. After you’ve tested the fakechat interface, try out [Telegram](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/telegram>), [Discord](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/discord>), or [iMessage](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/imessage>). To try the fakechat demo, you’ll need: * Claude Code [installed and authenticated](</docs/en/quickstart#step-1-install-claude-code>) with a claude.ai account * [Bun](<https://bun.sh>) installed. The pre-built channel plugins are Bun scripts. Check with `bun --version`; if that fails, [install Bun](<https://bun.sh/docs/installation>). @@ -271,7 +335,7 @@ The message arrives in your Claude Code session as a `<channel source="fakechat">` event. Claude reads it, does the work, and calls fakechat’s `reply` tool. The answer shows up in the chat UI. -If Claude hits a permission prompt while you’re away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permissions#permission-modes>) bypasses prompts entirely, but only use it in environments you trust. +If Claude hits a permission prompt while you’re away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode>) bypasses prompts entirely, but only use it in environments you trust. ## @@ -286,7 +350,7 @@ 3. In your Claude Code session, approve the code when prompted 4. Your sender ID is added to the allowlist -On top of that, you control which servers are enabled each session with `--channels`, and on Team and Enterprise plans your organization controls availability with `channelsEnabled`. Being in `.mcp.json` isn’t enough to push messages: a server also has to be named in `--channels`. The allowlist also gates [permission relay](</docs/en/channels-reference#relay-permission-prompts>) if the channel declares it. Anyone who can reply through the channel can approve or deny tool use in your session, so only allowlist senders you trust with that authority. +iMessage works differently: texting yourself bypasses the gate automatically, and you add other contacts by handle with `/imessage:access allow`. On top of that, you control which servers are enabled each session with `--channels`, and on Team and Enterprise plans your organization controls availability with `channelsEnabled`. Being in `.mcp.json` isn’t enough to push messages: a server also has to be named in `--channels`. The allowlist also gates [permission relay](</docs/en/channels-reference#relay-permission-prompts>) if the channel declares it. Anyone who can reply through the channel can approve or deny tool use in your session, so only allowlist senders you trust with that authority. ## @@ -334,7 +398,7 @@ Channels fill the gap in that list by pushing events from non-Claude sources into your already-running local session. - * **Chat bridge** : ask Claude something from your phone via Telegram or Discord, and the answer comes back in the same chat while the work runs on your machine against your real files. + * **Chat bridge** : ask Claude something from your phone via Telegram, Discord, or iMessage, and the answer comes back in the same chat while the work runs on your machine against your real files. * **[Webhook receiver](</docs/en/channels-reference#example-build-a-webhook-receiver>)** : a webhook from CI, your error tracker, a deploy pipeline, or other external service arrives where Claude already has your files open and remembers what you were debugging. ##
added
Show diff (353 lines)
--- a/channels.md +++ b/channels.md @@ -0,0 +1,350 @@ +Channels are in research preview and require Claude Code v2.1.80 or later. They require claude.ai login. Console and API key authentication is not supported. Team and Enterprise organizations must explicitly enable them. + +A channel is an MCP server that pushes events into your running Claude Code session, so Claude can react to things that happen while you’re not at the terminal. Channels can be two-way: Claude reads the event and replies back through the same channel, like a chat bridge. Events only arrive while the session is open, so for an always-on setup you run Claude in a background process or persistent terminal. Unlike integrations that spawn a fresh cloud session or wait to be polled, the event arrives in the session you already have open: see how channels compare. You install a channel as a plugin and configure it with your own credentials. Telegram and Discord are included in the research preview. When Claude replies through a channel, you see the inbound message in your terminal but not the reply text. The terminal shows the tool call and a confirmation (like “sent”), and the actual reply appears on the other platform. This page covers: + + * Supported channels: Telegram and Discord setup + * Install and run a channel with fakechat, a localhost demo + * Who can push messages: sender allowlists and how you pair + * Enable channels for your organization on Team and Enterprise + * How channels compare to web sessions, Slack, MCP, and Remote Control + +To build your own channel, see the [Channels reference](</docs/en/channels-reference>). + +## + +​ + +Supported channels + +Each supported channel is a plugin that requires [Bun](<https://bun.sh>). For a hands-on demo of the plugin flow before connecting a real platform, try the fakechat quickstart. + + * Telegram + + * Discord + +View the full [Telegram plugin source](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/telegram>). + +1 + +Create a Telegram bot + +Open [BotFather](<https://t.me/BotFather>) in Telegram and send `/newbot`. Give it a display name and a unique username ending in `bot`. Copy the token BotFather returns. + +2 + +Install the plugin + +In Claude Code, run: + +Report incorrect code + +Copy + +Ask AI + + /plugin install telegram@claude-plugins-official + +If Claude Code reports that the plugin is not found in any marketplace, your marketplace is either missing or outdated. Run `/plugin marketplace update claude-plugins-official` to refresh it, or `/plugin marketplace add anthropics/claude-plugins-official` if you haven’t added it before. Then retry the install.After installing, run `/reload-plugins` to activate the plugin’s configure command. + +3 + +Configure your token + +Run the configure command with the token from BotFather: + +Report incorrect code + +Copy + +Ask AI + + /telegram:configure <token> + +This saves it to `~/.claude/channels/telegram/.env`. You can also set `TELEGRAM_BOT_TOKEN` in your shell environment before launching Claude Code. + +4 + +Restart with channels enabled + +Exit Claude Code and restart with the channel flag. This starts the Telegram plugin, which begins polling for messages from your bot: + +Report incorrect code + +Copy + +Ask AI + + claude --channels plugin:telegram@claude-plugins-official + +5 + +Pair your account + +Open Telegram and send any message to your bot. The bot replies with a pairing code. + +If your bot doesn’t respond, make sure Claude Code is running with `--channels` from the previous step. The bot can only reply while the channel is active. + +Back in Claude Code, run: + +Report incorrect code + +Copy + +Ask AI + + /telegram:access pair <code> + +Then lock down access so only your account can send messages: + +Report incorrect code + +Copy + +Ask AI + + /telegram:access policy allowlist + +View the full [Discord plugin source](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/discord>). + +1 + +Create a Discord bot + +Go to the [Discord Developer Portal](<https://discord.com/developers/applications>), click **New Application** , and name it. In the **Bot** section, create a username, then click **Reset Token** and copy the token. + +2 + +Enable Message Content Intent + +In your bot’s settings, scroll to **Privileged Gateway Intents** and enable **Message Content Intent**. + +3 + +Invite the bot to your server + +Go to **OAuth2 > URL Generator**. Select the `bot` scope and enable these permissions: + + * View Channels + * Send Messages + * Send Messages in Threads + * Read Message History + * Attach Files + * Add Reactions + +Open the generated URL to add the bot to your server. + +4 + +Install the plugin + +In Claude Code, run: + +Report incorrect code + +Copy + +Ask AI + + /plugin install discord@claude-plugins-official + +If Claude Code reports that the plugin is not found in any marketplace, your marketplace is either missing or outdated. Run `/plugin marketplace update claude-plugins-official` to refresh it, or `/plugin marketplace add anthropics/claude-plugins-official` if you haven’t added it before. Then retry the install.After installing, run `/reload-plugins` to activate the plugin’s configure command. + +5 + +Configure your token + +Run the configure command with the bot token you copied: + +Report incorrect code + +Copy + +Ask AI + + /discord:configure <token> + +This saves it to `~/.claude/channels/discord/.env`. You can also set `DISCORD_BOT_TOKEN` in your shell environment before launching Claude Code. + +6 + +Restart with channels enabled + +Exit Claude Code and restart with the channel flag. This connects the Discord plugin so your bot can receive and respond to messages: + +Report incorrect code + +Copy + +Ask AI + + claude --channels plugin:discord@claude-plugins-official + +7 + +Pair your account + +DM your bot on Discord. The bot replies with a pairing code. + +If your bot doesn’t respond, make sure Claude Code is running with `--channels` from the previous step. The bot can only reply while the channel is active. + +Back in Claude Code, run: + +Report incorrect code + +Copy + +Ask AI + + /discord:access pair <code> + +Then lock down access so only your account can send messages: + +Report incorrect code + +Copy + +Ask AI + + /discord:access policy allowlist + +You can also [build your own channel](</docs/en/channels-reference>) for systems that don’t have a plugin yet. + +## + +​ + +Quickstart + +Fakechat is an officially supported demo channel that runs a chat UI on localhost, with nothing to authenticate and no external service to configure. Once you install and enable fakechat, you can type in the browser and the message arrives in your Claude Code session. Claude replies, and the reply shows up back in the browser. After you’ve tested the fakechat interface, try out [Telegram](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/telegram>) or [Discord](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/discord>). To try the fakechat demo, you’ll need: + + * Claude Code [installed and authenticated](</docs/en/quickstart#step-1-install-claude-code>) with a claude.ai account + * [Bun](<https://bun.sh>) installed. The pre-built channel plugins are Bun scripts. Check with `bun --version`; if that fails, [install Bun](<https://bun.sh/docs/installation>). + * **Team/Enterprise users** : your organization admin must enable channels in managed settings + +1 + +Install the fakechat channel plugin + +Start a Claude Code session and run the install command: + +Report incorrect code + +Copy + +Ask AI + + /plugin install fakechat@claude-plugins-official + +If Claude Code reports that the plugin is not found in any marketplace, your marketplace is either missing or outdated. Run `/plugin marketplace update claude-plugins-official` to refresh it, or `/plugin marketplace add anthropics/claude-plugins-official` if you haven’t added it before. Then retry the install. + +2 + +Restart with the channel enabled + +Exit Claude Code, then restart with `--channels` and pass the fakechat plugin you installed: + +Report incorrect code + +Copy + +Ask AI + + claude --channels plugin:fakechat@claude-plugins-official + +The fakechat server starts automatically. + +You can pass several plugins to `--channels`, space-separated. + +3 + +Push a message in + +Open the fakechat UI at <http://localhost:8787> and type a message: + +Report incorrect code + +Copy + +Ask AI + + hey, what's in my working directory? + +The message arrives in your Claude Code session as a `<channel source="fakechat">` event. Claude reads it, does the work, and calls fakechat’s `reply` tool. The answer shows up in the chat UI. + +If Claude hits a permission prompt while you’re away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](</docs/en/channels-reference#relay-permission-prompts>) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](</docs/en/permissions#permission-modes>) bypasses prompts entirely, but only use it in environments you trust. + +## + +​ + +Security + +Every approved channel plugin maintains a sender allowlist: only IDs you’ve added can push messages, and everyone else is silently dropped. Telegram and Discord bootstrap the list by pairing: + + 1. Find your bot in Telegram or Discord and send it any message + 2. The bot replies with a pairing code + 3. In your Claude Code session, approve the code when prompted + 4. Your sender ID is added to the allowlist + +On top of that, you control which servers are enabled each session with `--channels`, and on Team and Enterprise plans your organization controls availability with `channelsEnabled`. Being in `.mcp.json` isn’t enough to push messages: a server also has to be named in `--channels`. The allowlist also gates [permission relay](</docs/en/channels-reference#relay-permission-prompts>) if the channel declares it. Anyone who can reply through the channel can approve or deny tool use in your session, so only allowlist senders you trust with that authority. + +## + +​ + +Enterprise controls + +Channels are controlled by the `channelsEnabled` setting in [managed settings](</docs/en/settings>). + +Plan type| Default behavior +---|--- +Pro / Max, no organization| Channels available; users opt in per session with `--channels` +Team / Enterprise| Channels disabled until an admin explicitly enables them + +### + +​ + +Enable channels for your organization + +Admins can enable channels from [**claude.ai → Admin settings → Claude Code → Channels**](<https://claude.ai/admin-settings/claude-code>), or by setting `channelsEnabled` to `true` in managed settings. Once enabled, users in your organization can use `--channels` to opt channel servers into individual sessions. If the setting is disabled or unset, the MCP server still connects and its tools work, but channel messages won’t arrive. A startup warning tells the user to have an admin enable the setting. + +## + +​ + +Research preview + +Channels are a research preview feature. Availability is rolling out gradually, and the `--channels` flag syntax and protocol contract may change based on feedback. During the preview, `--channels` only accepts plugins from an Anthropic-maintained allowlist. The channel plugins in [claude-plugins-official](<https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins>) are the approved set. If you pass something that isn’t, Claude Code starts normally but the channel doesn’t register, and the startup notice tells you why. To test a channel you’re building, use `--dangerously-load-development-channels`. See [Test during the research preview](</docs/en/channels-reference#test-during-the-research-preview>) for information about testing custom channels that you build. Report issues or feedback on the [Claude Code GitHub repository](<https://github.com/anthropics/claude-code/issues>). + +## + +​ + +How channels compare + +Several Claude Code features connect to systems outside the terminal, each suited to a different kind of work: + +Feature| What it does| Good for +---|---|--- +[Claude Code on the web](</docs/en/claude-code-on-the-web>)| Runs tasks in a fresh cloud sandbox, cloned from GitHub| Delegating self-contained async work you check on later +[Claude in Slack](</docs/en/slack>)| Spawns a web session from an `@Claude` mention in a channel or thread| Starting tasks directly from team conversation context +Standard [MCP server](</docs/en/mcp>)| Claude queries it during a task; nothing is pushed to the session| Giving Claude on-demand access to read or query a system +[Remote Control](</docs/en/remote-control>)| You drive your local session from claude.ai or the Claude mobile app| Steering an in-progress session while away from your desk + +Channels fill the gap in that list by pushing events from non-Claude sources into your already-running local session. + + * **Chat bridge** : ask Claude something from your phone via Telegram or Discord, and the answer comes back in the same chat while the work runs on your machine against your real files. + * **[Webhook receiver](</docs/en/channels-reference#example-build-a-webhook-receiver>)** : a webhook from CI, your error tracker, a deploy pipeline, or other external service arrives where Claude already has your files open and remembers what you were debugging. + +## + +​ + +Next steps + +Once you have a channel running, explore these related features: + + * [Build your own channel](</docs/en/channels-reference>) for systems that don’t have plugins yet + * [Remote Control](</docs/en/remote-control>) to drive a local session from your phone instead of forwarding events into it + * [Scheduled tasks](</docs/en/scheduled-tasks>) to poll on a timer instead of reacting to pushed events