← Back to directory
F

Fast MCP Telegram

Community
Connect Telegram through MCP with messaging tools and an MTProto API bridge.
Category
Other #415 of 678
Stars
★ 50 Popular
Transport
stdio (local process) · Streamable HTTP
Runtime
Python 3.11+ · Hosted (no local runtime)
Credentials
API key / credential required
License
MIT
Last commit
Tools
8
49FMRS · D

The source describes an MIT-licensed Telegram MCP gateway with 8 tools, stdio and streamable HTTP transports, an MTProto bridge, and multi-user sessions. The source does not establish that its maintainer is Telegram's upstream owner, so this profile marks it as unofficial.

Strongest · Setup experience 12/20 Weakest · Reliability 7/20

Reliability
7/20
Security and permissions
8/20
Maintenance
10/20
Documentation
12/20
Setup experience
12/20
Why each score
Reliability 7/20
The README claims eight tools and stdio and HTTP transports, with example tool calls; the manifest also declares a PyPI package and remote HTTP endpoint. The supplied material contains no source, CI, or tests, so the init and tool-list handshake, actual tool behavior, dependency control, and error handling cannot be verified. The happy path is plausible but uncertain, so this score is substantially reduced.
Security and permissions 8/20
The material identifies API_HASH as secret, uses a Bearer token for remote access, and describes multi-tenant session isolation, optional ACLs, SSRF protection, and default filtering of sensitive fields. It also exposes message sending and direct MTProto calls, without showing confirmation for these write operations. Token storage, isolation boundaries, and safeguards cannot be checked from the supplied evidence, so permissions and data-flow disclosure remain incomplete. There is not enough evidence to classify this as a red-line issue.
Maintenance 10/20
The supplied metadata lists an MIT license, version 0.46.2, 50 stars, and no open issues; the README also references security documentation and telemetry ADRs. There is no verifiable release history, recent commit activity, dependency update record, issue-response evidence, or security-response channel, so maintenance activity and governance warrant a moderate-low score.
Documentation 12/20
The README covers the main features, installation paths, stdio and HTTP client configuration, tool purposes, telemetry, and links to tool, deployment, and security documentation. The linked documents themselves are not included, so parameter details, limits, costs, troubleshooting, and security claims cannot be verified. These evidence gaps limit the score.
Setup experience 12/20
The README provides remote QR login steps, a local CLI installation command, and stdio and HTTP client configuration examples; the manifest lists required API_ID/API_HASH and a stdio default. The steps appear usable, but platform compatibility is not documented in the supplied material and there is no verifiable execution evidence. Setup also requires a Telegram account and API credentials, so the score is limited.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesUses the networkChanges third-party account data

Best for

  • Users who want AI agents to access one or more Telegram accounts.
  • Users who want common Telegram operations in a small set of consolidated tools, with optional direct MTProto calls.
  • Personal or multi-user deployments that need local stdio or remote HTTP.

Not for

  • Users who do not want to authorize a Telegram account session to this server.
  • Use cases requiring only Telegram Bot API functionality and not the MTProto User API described by the project.
  • Use cases requiring tools not listed by the project or that cannot allow message-sending and editing capabilities.

Required permissions

  • Local configuration requires a Telegram API ID and API Hash; the API Hash is secret.
  • Authentication creates a Telegram session and can use QR or phone flows; the README also mentions a bot token option.
  • Tools can search and read messages, find chats and profiles, and send or edit messages; direct MTProto calls can access Telegram API methods.

Risks and side effects

  • Bearer tokens and Telegram sessions can grant account access and should be protected.
  • Sending or editing messages and direct MTProto calls can perform real account actions. MTProto sensitive fields are filtered by default, though the README describes an option to include them explicitly.
  • Remote deployments send requests to the configured server; verify that you trust the service before using the demo.
  • The README says anonymous tool telemetry sends a heartbeat every 6 hours and collects no credentials or message content; opt out with DO_NOT_TRACK=1.

Setup

Before you start

Runtime:Python 3.11+ · Hosted (no local runtime)

API_ID required Telegram API ID, available from my.telegram.org.
API_HASH requiredsecret Telegram API Hash, available from my.telegram.org.
BOT_API_TOKEN optionalsecret Alternative bot token for authentication without a phone number or OTP; the source does not specify where to obtain it.
Other optional settings (3)
SERVER_MODE optional Server mode; defaults to `stdio`, with other modes described in the source.
SESSION_DIR optional Custom Telegram session directory; defaults to `~/.config/fast-mcp-telegram/`.
DO_NOT_TRACK optional Set to `1` to opt out of anonymous tool telemetry.

For local stdio, first create a Telegram session with fast-mcp-telegram-setup, then add the manifest's PyPI stdio server to your MCP client and provide API_ID and API_HASH. The README example uses uvx and the fast-mcp-telegram command. For remote use, scan the QR code on the demo setup page, copy the Bearer token, and configure the HTTP server and Authorization header in the client. You can also deploy your own remote server.

claude_desktop_config.json
{"mcpServers":{"telegram":{"command":"uvx","args":["fast-mcp-telegram"],"env":{"API_ID":"your_api_id","API_HASH":"your_api_hash"}}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "telegram": {
      "command": "uvx",
      "args": [
        "fast-mcp-telegram"
      ],
      "env": {
        "API_ID": "your_api_id",
        "API_HASH": "your_api_hash"
      }
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.telegram]
command = "uvx"
args = ["fast-mcp-telegram"]

[mcp_servers.telegram.env]
API_ID = "your_api_id"
API_HASH = "your_api_hash"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add telegram -e API_ID=your_api_id -e API_HASH=your_api_hash -- uvx fast-mcp-telegram

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm `search_messages_globally` and `get_messages` appear in your client's tool list. Search for a keyword you know exists and check that matching messages are returned.

Troubleshooting

  1. Check that API_ID and API_HASH are configured correctly and that the API Hash has not been exposed.
  2. Check the local stdio command, arguments, and environment variables, and create the Telegram session first.
  3. For remote connections, check the server URL, Bearer token, and Authorization header.
  4. If authentication fails, try the setup page's QR flow or the phone verification fallback described by the project.

Things to try

Once connected, you can ask your AI assistant things like:

  • Search all chats for “hello” and return up to five results.
  • Show the latest ten messages in my saved messages.
  • Send “Hello!” to my saved messages.
  • Find Telegram chats or contacts named Alex.

Tools 8

search_messages_globally read-only
Search messages across chats, with multi-term queries and date and chat-type filters.
get_messages read-only
Retrieve messages through search or browsing, read by ID, and fetch replies to posts, topics, or messages.
send_message destructive
Send messages with attachments, formatting, replies, and forum-topic support.
edit_message destructive
Edit an existing message with formatting support.
find_chats read-only
Find users, groups, and channels, with contact discovery, folder filtering, and username or phone lookup.
get_chat_info read-only
Get chat profile details, including member counts, bio, online status, forum topics, and common groups.
send_message_to_phone destructive
Send a message to a phone number, with contact management and file attachments.
invoke_mtproto writes
Call Telegram MTProto API methods directly with entity resolution; sensitive fields are filtered by default.

Use cases

Search and read Telegram chat messages and replies.
Send or edit messages, find chats, and inspect chat profiles through an AI client.
Call Telegram API methods directly when needed through the HTTP-MTProto bridge.

Supported clients

Claude Desktop

Listed from the project's documentation, not tested by this site.

Overview

Fast MCP Telegram is a Telegram MCP gateway for AI agents, with stdio and streamable HTTP transports. It consolidates common operations into 8 tools and provides an MTProto bridge for calling Telegram API methods directly. It supports isolated sessions for multiple users.

Similar servers

Source revision 34c68924ecfd Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/fast-mcp-telegram.svg)](https://followmcp.com/en/servers/fast-mcp-telegram)