Connecting Claude Code to Messaging Apps via MCP
Some teams wire Claude Code up to Telegram (or Slack, or Discord) so it can ping them when a task finishes, or so they can nudge a session from their phone without opening a dedicated app.
Here’s the shape of it, using Telegram as the example:
-
Create a bot via Telegram’s
@BotFather. Message@BotFatheron Telegram, send/newbot, and follow the prompts. You’ll end up with a bot token — treat it like a credential. -
Let the bot actually see messages. Add it to a group/channel, or DM it directly. For a group, send
/setprivacyto@BotFatherand disable privacy mode — otherwise the bot only sees messages explicitly directed at it, not general group chatter. -
Add the MCP server to Claude Desktop’s config. Settings → Developer → Edit Config opens
claude_desktop_config.json. Something like:{"mcpServers": {"telegram-bot": {"command": "npx","args": ["-y", "@modelcontextprotocol/server-telegram"],"env": {"TELEGRAM_BOT_TOKEN": "your-bot-token-here"}}}} -
Fully restart Claude Desktop. The Telegram tools should now show up in the connector/tools list.
Where this is actually useful
Section titled “Where this is actually useful”The obvious use case: “ping me on Telegram when this long-running task finishes.” Pair this with Scheduled Routines and you’ve got a setup where recurring or long-running work reports back to wherever you already are, instead of you having to remember to go check a terminal.
Check yourselfWhy is this page not called 'Claude Code Channels' even though the source course material used that name?
“Claude Code Channels” isn’t an official Anthropic product name — it was the course’s label for a DIY pattern built on top of a community MCP server. Calling it that here would misleadingly imply it’s a first-party feature Anthropic ships and supports, when it’s really something you assemble yourself (bot token, config file, community package) and is distinct from any official first-party chat integration Anthropic may offer.