2 links tagged with all of: integration + bot + telegram + plugin
Click any tag below to further narrow down your results
Links
This article explains how to set up a Telegram bot to work with Claude Code using an MCP server. It covers the steps from creating a bot with BotFather to configuring the server and pairing it with Claude for direct messaging. Key commands and configurations are detailed for effective integration.
- An MCP server bridges Telegram and Claude Code, letting bot messages flow directly into a Claude Code session, with replies, reactions, and edits supported.
- Setup requires creating a bot via BotFather for a token, installing the plugin, and running the server with a channel flag; each bot needs its own directory for multi-instance use.
- Pairing happens by DMing the bot for a code entered into Claude Code, with no invite needed (unlike Discord), and allowlist mode should replace pairing mode afterward for security.
- The bot can't search or access message history, so it downloads photos automatically but relies on the user to manually supply earlier context when needed.
This guide explains how to set up a Telegram bot with Claude Code using an MCP server. It covers creating a bot through BotFather, installing the necessary plugin, and the steps to configure and pair the bot with your Claude session.
- Setting up requires creating a bot via BotFather, installing the plugin, and running `/telegram:configure` with the token to write it into the environment file.
- Multiple bot instances need separate `TELEGRAM_STATE_DIR` values to avoid conflicts.
- Pairing works by DMing the bot for a 6-character code, then running `/telegram:access pair <code>` in Claude Code, avoiding the need for numeric user IDs.
- The bot can reply, react with emoji, and edit its own messages, but has no access to message history—only real-time interaction.