Telegram MCP Server

Telegram MCP for managing dialogs, messages, drafts, read statuses, and more.

Local serverstdioGo

What is the Telegram MCP server?

Most team communication work still happens through a UI a human drives. Telegram MCP server moves it into the conversation instead. Telegram MCP for managing dialogs, messages, drafts, read statuses, and more.

The short version

The server is a bridge between the Telegram API and the AI assistants and is based on the Model Context Protocol.

The Model Context Protocol (MCP) is a system that lets AI apps, like Claude Desktop or Cursor, connect to external tools and data sources. It gives a clear and safe way for AI assistants to work with local services and APIs while keeping the user in control.

  • Get current account information (tool: tg_me)
  • List dialogs with optional unread filter (tool: tg_dialogs)
  • Mark dialog as read (tool: tg_read)
  • Retrieve messages from specific dialog (tool: tg_dialog)
  • Send draft messages to any dialog (tool: tg_send)

The tools it exposes

The server publishes 9 tools. What each one is for:

  • Version — URL
  • Capabilities — The Capabilities tool exposed by this server
  • Organization — The Organization tool exposed by this server
  • Communication — The Communication tool exposed by this server
  • Homebrew — The Homebrew tool exposed by this server
  • MacOS — The MacOS tool exposed by this server
  • Linux — The Linux tool exposed by this server
  • Windows — The Windows tool exposed by this server
  • Authorization — Before you can use the server, you need to connect to the Telegram API

Getting it running

The server ships on npm as You, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What it needs from you

Configuration is passed through the environment: TG_APP_ID, TG_API_HASH. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

How it compares

This sits in the team communication group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Telegram's toolset — Version, Capabilities, Organization and 6 more — is a fair guide to whether it matches your workflow. It is maintained by chaindead; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Telegram.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
VersionURL
CapabilitiesThe Capabilities tool exposed by this server.
OrganizationThe Organization tool exposed by this server.
CommunicationThe Communication tool exposed by this server.
HomebrewThe Homebrew tool exposed by this server.
MacOSThe MacOS tool exposed by this server.
LinuxThe Linux tool exposed by this server.
WindowsThe Windows tool exposed by this server.
AuthorizationBefore you can use the server, you need to connect to the Telegram API.

How to install the Telegram MCP server

for Cursor:
    ```json
    {
      "mcpServers": {
        "telegram-mcp": {
          "command": "telegram-mcp",
          "env": {
            "TG_APP_ID": "<your-app-id>",
            "TG_API_HASH": "<your-api-hash>"
          }
        }
      }
    }

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
TG_APP_IDConfiguration value read at startup.Optional
TG_API_HASHConfiguration value read at startup.Optional

Example prompts to try

  • Use Telegram to Version.
  • Use Telegram to Capabilities.
  • Use Telegram to Organization.

Frequently asked questions

It connects Telegram to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (Version, Capabilities, Organization, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Telegram directly.