# Telegram MCP Server [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/tolboy/telegram-mcp-tdlib  
**GitHub Stars:** 13  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/telegram-mcp-server

## Description
Local-first TDLib Telegram MCP server with 110 tools, account isolation and production guardrails.

## 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/tolboy/telegram-mcp-tdlib), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
brew install --formula https://github.com/tolboy/telegram-mcp-tdlib/releases/latest/download/telegram-mcp.rb
```

2. Install:

```sh
scoop install https://github.com/tolboy/telegram-mcp-tdlib/releases/latest/download/telegram-mcp.json
```

3. Sign in:

```sh
telegram-mcp auth --method qr
```

4. Add to your MCP client:

```sh
telegram-mcp config --client claude
```

## Documentation

## What Telegram MCP Server does

Telegram MCP Server gives MCP-compatible AI clients access to real Telegram accounts through TDLib, using tdlight-java underneath. It is designed for local-first operation and supports both read-only workflows and account actions after writes are explicitly enabled. The project describes a surface of 110 tools, with the available tools narrowed by profile and safety settings.

Account isolation is built into the operating model. Each account has its own session, account selection is mandatory, and API keys are scoped to an account. Reads do not automatically fan out across connected accounts.

## How it works

The server supports two transports. STDIO lets a desktop MCP client start and manage the process. Streamable HTTP exposes the `/mcp` endpoint for a managed deployment or shared local daemon. A daemon can also be started once and attached by clients such as Cursor, VS Code, Codex, or Claude Code.

A new installation starts with a small `inbox` or `reader` profile and read-only behavior. In that state, write and quota-consuming tools are removed from the model's tool list instead of merely rejecting calls. To enable writes, both the read-only setting and a write-capable profile must be selected. Destructive operations use host elicitation when available or a single-use loopback approval page. The model cannot approve the operation by setting a confirmation argument unless the explicit model-confirmation exception is enabled.

Send operations can accept an idempotency key. If the response is lost, the server can return a stored receipt rather than blindly sending a duplicate; an unconfirmed send is represented as `UNKNOWN`.

## Setup and configuration

Runtime-inclusive release packages are available for Windows, Linux x64 and ARM64, and Apple-silicon macOS, so a JDK, Gradle, Git, Python, or Node.js is not required for those packages. Homebrew and Scoop installation commands are provided by the project. Authenticate an account with `telegram-mcp auth --method qr`, then inspect local session state with `telegram-mcp session doctor`.

Use `telegram-mcp config` to generate client-specific configuration. The generator can target Claude Desktop, Claude Code, Cursor, VS Code, or Codex, and can produce STDIO, Docker, or shared HTTP entries. For Docker-based HTTP deployment, provide the TDLib credentials and MCP API key as environment variables. Claude Desktop remote connectors require HTTPS and OAuth mode rather than the generated custom API-key header.

## Tools and capabilities

- Read and summarize conversations, including inbox-focused workflows.
- Search for messages and find specific lost messages.
- Research public groups and perform read-only community reviews.
- Draft replies without sending them.
- Send or modify Telegram data when writes are enabled and approval requirements are met.
- Use reusable MCP prompts and the optional Telegram Inbox Assistant skill for read-only inbox tasks.

Profiles control which tools are exposed. Available profile names referenced by the project include `reader`, `inbox`, `community-admin`, and `all`.

## Limitations and notes

The server works with authorized real user accounts, so the account must be authenticated before client use. Use a test account for an initial run when possible. With STDIO, the MCP client should own the server process; starting another copy manually can lock the TDLib session file and cause the client-managed process to exit.

Write access should not be enabled without a destructive-approval mode. The server refuses a write-enabled configuration when approval is set to `off`, unless model-confirmed writes are explicitly allowed. Claude Desktop does not use its local configuration file for remote servers; remote connections must be added through its connector settings and meet the required HTTPS and OAuth conditions.

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

