Manual setup required. The maintainer's config contains paths only you know — edit the placeholders below before adding it to Claude Code.
1
Prepare the server locally
Run this once before adding it to Claude Code.
git clone https://github.com/FantomaSkaRus1/telegram-bot-mcp
cd telegram-bot-mcpThen follow the repository README for any remaining dependency or build steps.
2
Register it in Claude Code
claude mcp add -e "TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN}" telegram-bot -- node /path/to/mcp-telegram/index.jsReplace any placeholder paths in the command with the real path on your machine.
Required:
TELEGRAM_BOT_TOKEN+ 2 optionalEnvironment Variables
Set these before running Telegram Bot.
VariableDescriptionRequired
TELEGRAM_BOT_TOKENBot token from @BotFatherYesTELEGRAM_DEFAULT_CHAT_IDDefault chat ID to skip chat_id in tool callsNoTELEGRAM_DEFAULT_THREAD_IDDefault topic/thread ID for forum supergroupsNoAvailable Tools (4)
Once configured, Telegram Bot gives your AI agent access to:
send_messageSends a text message to a specified chat.chat_idtextsend_photoSends a photo to a specified chat.chat_idphotodelete_messageDeletes a message from a chat.chat_idmessage_idget_chatRetrieves information about a specific chat.chat_idTry It Out
After setup, try these prompts with your AI agent:
→Send a message to my Telegram group saying 'Hello from Claude!'
→Get the current information and member count for my Telegram channel.
→Delete the last message sent in the current chat.
→Create a new topic in my Telegram forum group named 'Project Updates'.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Node.js 18+ with npm/npx installed
TELEGRAM_BOT_TOKEN— Bot token from @BotFather
Alternative installation methods
Claude Code
claude mcp add -e TELEGRAM_BOT_TOKEN=your_token telegram -- node /path/to/mcp-telegram/index.jsKeep this setup from going cold
Save the docs, env vars, and workflow around Telegram Bot in Conare so Claude Code, Codex, and Cursor remember it next time.