Telegram Plugin: Installation & Configuration
Setting up the Telegram plugin involves creating a bot and configuring the MCP server.
Prerequisites
- Bun: The MCP server runs on Bun.
curl -fsSL https://bun.sh/install | bash. - Telegram Bot Token: Get this from
@BotFatheron Telegram.
Setup Steps
Create Bot: Message
@BotFather, send/newbot, and follow the prompts to get your token.Install Plugin: In Claude Code:
/plugin install telegram@claude-plugins-official /reload-pluginsConfigure Token:
/telegram:configure <YOUR_BOT_TOKEN>Start with Channels: Restart Claude Code with the channels flag:
claude --channels plugin:telegram@claude-plugins-officialPairing: Send a message from your Telegram account to your bot. It will reply with a 6-digit code. In Claude Code:
/telegram:access pair <code>Set Policy: Switch to
allowlistto prevent strangers from accessing your bot:/telegram:access policy allowlist