Connect to your Telegram account to read and send messages.
Connect Claude to your Telegram account to read and send messages.
get_chats - List your Telegram chats
get_messages - Read messages from a specific chat
mark_messages_read - Mark all unread messages in a chat as read
send_message - Send messages to any chat
get_conversation_context - Analyze chat style for natural responses
convostyle.txt
# Clone the repository
git clone https://github.com/alexandertsai/mcp-telegram
cd mcp-telegram
# Set up Python environment
pip install uv
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv sync
# Copy the example file
cp .env.example .env
# Edit .env and add your API credentials:
# TELEGRAM_API_ID=your_api_id_here
# TELEGRAM_API_HASH=your_api_hash_here
cd src/mcp_telegram
python telethon_auth.py
Follow the prompts:
Find your Claude Desktop config file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
Add this configuration:
{
"mcpServers": {
"telegram": {
"command": "/path/to/python",
"args": ["/path/to/mcp-telegram/src/mcp_telegram/main.py"]
}
}
}
To find paths:
which python
(Mac) or where.exe python
(Windows)Restart Claude Desktop.
After setup, you can ask Claude to:
Create src/mcp_telegram/convostyle.txt
to help Claude match your texting style:
I text casually with friends, formally with work contacts.
I use emojis sparingly and prefer short messages.
If authentication fails:
.env
.env
python telethon_auth.py
again.env
file or credentialsApache 2.0
Interact with the Digital Samba Embedded API for video conferencing features like room management, analytics, recording, and live session control.
An MCP server for interacting with the Warpcast social network.
Interact with the Google Blogger API to manage blogs, posts, and comments.
MCP server acting as an interface to the Facebook Ads, enabling programmatic access to Facebook Ads data and management features.
Enables communication between Claude Code and Claude Desktop for code reviews.
Fetch and interact with Hacker News content, including top stories, comments, and search functionality.
Sends HTTP requests to endpoints on the local network.
An MCP server for interacting with Slack workspaces using user tokens, without requiring bots or special permissions.
A standalone proxy to connect STDIO-based MCP clients with HTTP (SSE) based MCP servers.
Interact with Africa's Talking airtime service and store transaction data in a local SQLite database.