telegram-bot-mcp-server

telegram-bot-mcp-server

3

This is a Telegram bot MCP Server that enables standardized communication with the Telegram Bot API. It is built using the Model Context Protocol and offers various tools for bot management, messaging, and user administration.

🧠 Telegram Bot MCP Server

This project is a Telegram bot integration utilizing the Model Context Protocol (MCP). It provides tools for interaction with the Telegram Bot API with commands for messaging, user management, and bot profile configuration.

🚀 Features

  • get-me: Retrieve basic bot information.
  • send-message: Send a text message to a user or chat.
  • send-photo: Send a photo with an optional caption.
  • kick-chat-member: Ban a user from a chat.
  • un-ban-chat-member: Unban a previously banned user.
  • get-chat: Fetch chat metadata.
  • get-chat-member-count: Count members in a group.
  • get-chat-member: Get info about a chat member.
  • set-my-short-description: Update the bot's short description.
  • get-my-short-description: Fetch the bot's short description.
  • set-my-commands: Set commands in Telegram UI.
  • get-my-commands: Get current bot commands.
  • set-my-name: Update the bot's name.
  • get-my-name: Retrieve the bot's name.
  • set-my-description: Update the bot's full description.
  • get-my-description: Fetch the bot's full description.

📦 Installation

1. Clone the Repository

  • Clone and navigate to the project directory.

2. Get Your Telegram Bot Token

  • Use BotFather on Telegram to generate an API token.

3. Install and build

  • Use yarn to install and build packages.

4. Configure Your MCP Client

  • Add server configuration to the MCP client.