# telegram-mcp-readonly [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/mshykhov/telegram-mcp-readonly  
**GitHub Stars:** 11  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/telegram-mcp-readonly

## Description
Read-only Telegram MCP server. Search chats, read messages, and download attachments from any MCP client.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/mshykhov/telegram-mcp-readonly), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/mshykhov/telegram-mcp-readonly.git
```

2. Install:

```sh
cd telegram-mcp-readonly
```

3. Install:

```sh
uv sync --frozen
```

4. Sign in:

```sh
uv run python setup_readonly.py
```

## Documentation

## What telegram-mcp-readonly does

telegram-mcp-readonly exposes Telegram account data through MCP without providing message-sending or chat-changing operations. It can search messages across chats, perform account-wide searches, and apply folder filters. Reading features cover conversation history, topics, rich message content, custom emoji metadata, and user profiles.

Attachments can also be downloaded for agent workflows such as reviewing shared files or collecting conversation evidence. Downloads are restricted to a single configured directory rather than being written to arbitrary locations.

The project is a read-only fork based on chigwell/telegram-mcp. Its strict tool boundary excludes new upstream tools until they have been reviewed. Voice transcription and its cache are disabled in strict mode, including automatic transcription during history reads.

## How it works

The server uses a Telegram account authenticated with API credentials from my.telegram.org/apps. Initial setup uses a QR code scanned with Telegram. Read-only mode is enabled by default, and the generated session files allow the account connection to be reused.

MCP clients can start the server over stdio, which is intended for a single local client. A shared local HTTP service is also available when several clients need to use the same Telegram connection. The result handling includes sanitized output, and the project uses a private session setup with session locks.

## Setup and configuration

The supported installation path requires Python 3.10 or newer, uv, a Telegram account, and Telegram API credentials. Clone the repository, enter its directory, and run:

```sh
uv sync --frozen
uv run python setup_readonly.py
```

The setup script creates the required configuration and guides QR-based sign-in. Keep the generated `.env` file and Telegram session files private. Optional settings are described by the project’s `.env.example`, including proxy configuration, multiple accounts, event feeds, and device settings.

For a stdio client, register a server whose command is `uv` and whose arguments run `telegram-mcp` from the repository directory. The repository cautions that the similarly named `telegram-mcp` package on PyPI is a different project.

## Tools and capabilities

- Search messages across chats or across the account
- Filter searches by Telegram folders
- Read conversation history and topics
- Inspect rich messages, profiles, and custom emoji metadata
- Download attachments into the configured directory
- Connect one client through stdio
- Share a local service across multiple clients

The available operations are intentionally read-only: they do not send messages or modify chats. This makes the server suitable for retrieval and analysis tasks where agent write access to Telegram is undesirable.

_Full upstream README: https://allmcps.com/mcp/telegram-mcp-readonly/readme_

