Telegram MCP Server logo

Telegram MCP Server

by jeroensmink98

This project implements a Model Context Protocol (MCP) server that enables sending Telegram messages through AI assistants like Claude Desktop. It allows AI apps to connect to Telegram and send messages.

View on GitHub

Last updated: N/A

What is Telegram MCP Server?

This is a Model Context Protocol (MCP) server that facilitates communication between AI assistants (like Claude Desktop) and the Telegram messaging platform. It allows AI tools to send messages through Telegram.

How to use Telegram MCP Server?

  1. Install dependencies using npm install. 2. Build the project using npm run build. 3. Configure the TELEGRAM_TOKEN and CHAT_ID environment variables in your .cursor/mcp.json file. 4. Use the send_telegram_message tool with the message parameter to send messages.

Key features of Telegram MCP Server

  • Enables AI assistants to send Telegram messages

  • Uses the Model Context Protocol (MCP) for secure communication

  • Simple configuration using environment variables

  • Provides a send_telegram_message tool

  • Allows integration with Claude Desktop and other MCP-compatible AI apps

Use cases of Telegram MCP Server

  • Automated notifications from AI assistants via Telegram

  • Integrating AI-powered chatbots with Telegram

  • Sending alerts and updates from AI models to users

  • Controlling Telegram bots through AI agents

  • Forwarding information from AI analysis to Telegram groups

FAQ from Telegram MCP Server

What is MCP?

The Model Context Protocol (MCP) is a system that lets AI apps connect to external tools and data sources.

What environment variables are required?

The TELEGRAM_TOKEN (your Telegram Bot API token) and CHAT_ID (the ID of the Telegram chat where messages will be sent) environment variables are required.

How do I install the dependencies?

Run npm install in the project directory.

How do I build the project?

Run npm run build in the project directory.

What tool is available?

The send_telegram_message tool is available to send messages to the configured Telegram chat.