Telegram Topics MCP Server
Provides tools for interacting with Telegram supergroup forum topics, including sending messages to specific topic threads, creating, editing, closing, and reopening topics, and listing registered topic mappings.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Telegram Topics MCP Serversend a bug fix summary to the ENGINEERING topic"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
📡 Telegram Topics MCP Server
Official Model Context Protocol (MCP) server that empowers Claude Desktop, Claude Code, and autonomous AI agents to seamlessly route alerts, create topics, and manage Telegram supergroup forum threads.
💡 Why This Exists
Modern AI workflows run continuous tasks: coding iterations, automated research, data scraping, and daily summaries. Routing all agent output into a single Telegram channel creates unreadable noise.
Telegram Forum Topics solve this by creating dedicated sub-threads (e.g., #engineering, #marketing, #financial-audits).
This MCP server gives Claude native tools to:
Send targeted updates directly into the right topic thread (
send_topic_message).Create new discussion threads on the fly for new projects or incident tickets (
create_forum_topic).Archive/Close topics when tasks or sprints are completed (
close_forum_topic).Resolve division tags into specific
thread_ids automatically (list_registered_topics).
Related MCP server: SimpleTgChatMcp
🛠️ Available MCP Tools
Tool | Parameters | Description |
|
| Posts formatted Markdown or text into a specific topic thread. |
|
| Spawns a new forum topic in your Telegram supergroup. |
|
| Renames a topic or updates its icon. |
|
| Marks a topic as closed/archived. |
|
| Reopens a closed forum topic. |
| none | Returns human-readable mapping from |
🚀 Setup & Integration
1. Prerequisites
A Telegram Supergroup with Topics enabled (Group Settings → Topics: On).
A Telegram Bot Token from @BotFather added as an Administrator in the group with Manage Topics permission.
Your Supergroup Chat ID (e.g.,
-100xxxxxxxxxx).
2. Integration with Claude Code CLI
Add this MCP server to your Claude Code workspace in one command:
claude mcp add telegram-topics -- python3 /path/to/server.pySet environment variables in your terminal:
export TELEGRAM_BOT_TOKEN="your_bot_token"
export TELEGRAM_CHAT_ID="-100xxxxxxxxxx"
# Optional topic routing shortcut:
export TELEGRAM_TOPIC_MAP='{"ENGINEERING": 1760, "MARKETING": 137, "GENERAL": 1}'3. Integration with Claude Desktop
Open your Claude Desktop configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add the server under mcpServers:
{
"mcpServers": {
"telegram-topics": {
"command": "python3",
"args": ["/absolute/path/to/mcp-telegram-topics/server.py"],
"env": {
"TELEGRAM_BOT_TOKEN": "your_bot_token_here",
"TELEGRAM_CHAT_ID": "-100xxxxxxxxxx",
"TELEGRAM_TOPIC_MAP": "{\"DEV\": 1760, \"MARKETING\": 137}"
}
}
}
}Restart Claude Desktop. You will see the hammer icon 🔨 with Telegram tools active!
💬 Example Prompt in Claude
"Claude, analyze the bug in
auth.py, fix it, and send a completion summary to our Engineering topic thread on Telegram."
Claude will automatically:
Inspect the code and patch the issue.
Call
send_topic_message(thread_id=1760, message="✅ Fixed JWT expiration bug in auth.py").
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
This server cannot be deployed
Maintenance
Related MCP Connectors
- UxenOAuthcom.rrrfirstchat
Your Telegram, WhatsApp, Instagram, mail and calendar in Claude or ChatGPT. Never sends messages.
Hosted Telegram MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
- WhatSyncOAuthapp.whatsync
WhatsApp for Claude, ChatGPT or any AI agent: search, reply and send. Personal or Business API.
Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables Claude Code to send messages to and receive instructions from Telegram, with task tracking and persistent storage.-
- AlicenseNot gradedqualityCmaintenanceEnables Claude to send messages, media, and manage Telegram chat messages through a Telegram bot, including sending photos, documents, and editing or deleting messages.MIT
- AlicenseAqualityDmaintenanceEnables Claude to send and manage Telegram messages through a bot, supporting remote deployment for scheduled automations.1038 npmMIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables running and managing Claude Code from Telegram with two-way voice messages, persistent memory across restarts, scheduled messages, calendar access, and live tool-call visibility through Agentic Mode. It also provides a self-healing daemon and an Agents Board for monitoring sessions, subagents, and token usage.-