Feedback

Telegram MCP Server — by kdoronin

@kdoronin Claim

Basic information

Runtime
node
Category
License
Not specified
Transports
stdio
Author
kdoronin
Submitted by
Community
Quality
10
Stars
8

About Telegram MCP Server

# Telegram MCP Server

Telegram is a MCP server in the Communication category listed in the AddMCP.net directory, published by kdoronin. Supported transport: stdio. Runtime: node. The repository has 8 GitHub stars. Source code is hosted on github.com. Related topics: api-integration, mcp, telegram.

Setup

{
    "mcpServers": {
        "Telegram": {
            "command": "node",
            "args": [
                "/Users/dka/Documents/Solo/git/telegram_mcp/mcp-server.js"
            ]
        }
    }
}

Telegram MCP Server — by kdoronin config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "Telegram": {
            "command": "node",
            "args": [
                "/Users/dka/Documents/Solo/git/telegram_mcp/mcp-server.js"
            ]
        }
    }
}

Telegram MCP Server — by kdoronin tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Telegram?

Telegram is an MCP (Model Context Protocol) server that enables AI agents and other MCP clients to interact with the Telegram messaging platform. It provides a bridge between the Telegram API and MCP-compatible tools, allowing automated reading of dialogs and messages, sending messages, and executing arbitrary Telegram methods using a user’s Telegram account.

How to use Telegram?

To use Telegram, clone the repository, install dependencies with npm install, create a .env file with your API_ID and API_HASH from my.telegram.org, and run the server with npm run mcp or node mcp-server.js. The server can then be configured in MCP clients such as Cursor or Claude Desktop by pointing to the server’s command (e.g., node /full/path/to/project/mcp-server.js). On first use, the server prompts for a phone number and a confirmation code (and a 2FA password if enabled).

Key features of Telegram

  • Reads dialogs and messages from your Telegram account.
  • Sends messages to any chat or user.
  • Executes arbitrary Telegram API methods via executeMethod.
  • Saves authenticated sessions locally for reuse.
  • Supports two-factor authentication (2FA).
  • Integrates easily with MCP clients like Cursor and Claude Desktop.

Use cases of Telegram

  • An AI assistant fetching recent chats and sending replies on a user’s behalf.
  • Automated message broadcasting to a Telegram channel or group.
  • Retrieving message history for analysis or logging.
  • Executing custom Telegram API calls to manage contacts, groups, or bots.
  • Building conversational agents that operate through Telegram.

Frequently asked questions

1 What are the requirements to run Telegram?

You need Node.js 14+ (or higher), npm, a Telegram API ID and API Hash obtained from my.telegram.org, and a Telegram account for authentication.

2 How are sessions stored?

Sessions are saved as JSON files inside the sessions/ directory, named after the phone number (e.g., +79001234567.json). Each file contains an encrypted authorization token and a timestamp.

3 What happens during first-time authorization?

The server asks for the phone number, then a confirmation code sent by Telegram. If two-factor authentication is enabled, the password is requested (up to 3 retries). Successful authorization saves the session for future use.

4 Can I use arbitrary Telegram API methods?

Yes, the executeMethod tool allows executing any Telegram API method. Use it with caution as it can perform destructive actions.

5 What authentication does Telegram support?

The server uses the user’s phone number and confirmation code for initial auth, and supports two-factor authentication (2FA) passwords when enabled. Multi‑session handling is supported via the session parameter (the phone number).

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬