Better-tg-cli (Telegram) MCP Server

An unofficial, agent-friendly command-line client for Telegram that runs on your own account (MTProto via teleproto, TL layer 229). The command is telegram: about 60 commands for reading, searching…

Local serverstdioMIT

What is the Better-tg-cli (Telegram) MCP Server?

better-tg-cli is an MCP project maintained in the thevilfer/better-tg-cli repository. The maintainer describes its purpose as “An unofficial, agent-friendly command-line client for Telegram that runs on your own account (MTProto via teleproto, TL layer 229). The command is telegram: about 60…”. Read the project documentation for the complete scope.

Installation

The documented npm package is better-tg-cli. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Better-tg-cli (Telegram) MCP Server

{
  "mcpServers": {
    "telegram": {
      "command": "npx",
      "args": [
        "-y",
        "better-tg-cli@latest",
        "mcp"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.