TokenToSeaMCP Hub
中文 Console

Telegram MCP

chigwell

Telegram MCP server built on Telethon: read chats, send and edit messages, manage groups, contacts and media.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add telegram --env TELEGRAM_API_HASH='<TELEGRAM_API_HASH>' --env TELEGRAM_API_ID='<TELEGRAM_API_ID>' --env TELEGRAM_SESSION_NAME='<TELEGRAM_SESSION_NAME>' -- uv --directory /full/path/to/telegram-mcp run main.py

Environment variables

  • TELEGRAM_API_HASH
  • TELEGRAM_API_ID
  • TELEGRAM_SESSION_NAME

Replace the placeholders with your own credentials and keep them out of version control.