Tgfmcp

•
4
•

Connects MCP-compatible clients to the Telegram Bot API, enabling interaction and event subscription.

Tgfmcp is an open-source server that bridges MCP-compatible clients with the Telegram Bot API. Built on Telegraf, it allows external applications to seamlessly interact with Telegram bots, perform Bot API operations, and even subscribe to incoming Telegram events via an MCP notification channel. It provides a comprehensive set of tools for bot identity, chat lookups, and message manipulation, including sending, replying, reacting, editing, deleting, forwarding, and typing, making it a powerful interface for integrating Telegram into advanced AI and automation workflows.

Key Features

01Uses Telegraf directly for polling and Bot API operations.
02Includes mutating tools for sending, replying, reacting, editing, deleting, forwarding, and typing.
03Provides direct Bot API tools for bot identity and chat lookups.
04Exposes Telegram as an MCP server over stdio.
05Can emit incoming message events over an optional MCP notification channel.
061 GitHub stars

Use Cases

01Developing advanced Telegram bots with external MCP client logic.
02Integrating Telegram bot interactions into AI agents or assistants.
03Building custom automation workflows involving Telegram messages.