MCP Catalogs
Home

tgfmcp

by vaibhavpandeyvpz·2·Score 38

Telegram stdio MCP server exposing Bot API tools and message notifications through Telegraf.

communicationai-llmdeveloper-tools
0
Forks
0
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

tgfmcp is a specialized MCP server that bridges the Telegram Bot API with MCP-compatible clients. It uses Telegraf directly for polling and API operations, providing comprehensive tools for message manipulation (send, reply, edit, delete, etc.) and chat information retrieval. The server can optionally emit incoming message events through an MCP notification channel, allowing real-time interaction with Telegram conversations. It includes security features through user and chat allowlists and handles media attachments by storing them locally.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Automate Telegram bot interactions through MCP-compatible clients like Claude Desktop
you:Integrate Telegram messaging into AI workflows as a tool or notification channel
you:Create automated Telegram message handlers and bots using MCP protocol
you:Can this MCP server receive Telegram messages in real-time?
you:How do I secure access to my Telegram bot through MCP?

When to choose this

Choose tgfmcp when you need to integrate Telegram messaging into AI workflows through MCP, especially for building chatbots or notification systems with full message control capabilities.

When NOT to choose this

Don't use tgfmcp if you require bidirectional communication with Telegram users beyond basic bot functionality, as bots cannot initiate conversations or access arbitrary private chats.

Tools this server exposes

12 tools extracted from the README
  • telegram_get_me

    Get information about the Telegram bot

  • telegram_get_status

    Get the status of the Telegram bot

  • telegram_get_chat

    Get information about a specific chat

  • telegram_get_chat_administrators

    Get the administrators of a specific chat

  • telegram_lookup_chat

    Look up chat information

  • telegram_send_message

    Send a message to a chat

  • telegram_send_media_from_base64

    Send media from base64 encoding

  • telegram_send_media_from_path

    Send media from a file path

  • telegram_reply_to_message

    Reply to a specific message

  • telegram_react_to_message

    React to a message with an emoji

  • telegram_edit_message

    Edit an existing message

  • telegram_delete_message

    Delete a message

Comparable tools

telegram-mcpbot-api-mcpwhatsapp-mcp

Installation

Installation

  1. Install globally:
npm install -g tgfmcp
  1. Configure your bot token:
tgfmcp configure
  1. Run the MCP server:
tgfmcp mcp

For Claude Desktop, add to claude_desktop_config.json:

{
  "mcpServers": {
    "telegram": {
      "command": "tgfmcp",
      "args": ["mcp"]
    }
  }
}

FAQ

Can this MCP server receive Telegram messages in real-time?
Yes, when started with --channels flag, it can emit incoming message events through MCP notification channel.
How do I secure access to my Telegram bot through MCP?
Use the interactive configuration to set up allowlists for specific users and chats that can interact with your bot.

Compare tgfmcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.