# Fast MCP Telegram

> Connect Telegram through MCP with messaging tools and an MTProto API bridge.

- **URL**: https://followmcp.com/en/servers/fast-mcp-telegram
- **Category**: Other
- **Origin**: Community
- **Stars**: 50
- **FMRS Score**: 49/100 (Grade D)
- **Source**: https://github.com/leshchenko1979/fast-mcp-telegram
- **Transports**: stdio (local process), Streamable HTTP
- **Runtimes**: Python 3.11+, Hosted (no local runtime)
- **Auth**: API key / credential required

## 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.

## 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
- 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.

## Client config (JSON)
```json
{"mcpServers":{"telegram":{"command":"uvx","args":["fast-mcp-telegram"],"env":{"API_ID":"your_api_id","API_HASH":"your_api_hash"}}}}
```

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