Skip to main content

Telegram Pager MCP Server

A specialized Model Context Protocol (MCP) server that allows AI coding assistants (like Cursor, Cline, or Claude Desktop) to send direct messages via your personal Telegram account.

Security First: This server exposes exactly one tool (send_telegram_message). It is intentionally designed as a "Telegram Pager", meaning the AI cannot read your chat history, delete messages, or view your contacts.

[!WARNING] Do NOT use this tool for spam. If you configure an AI agent to send unsolicited messages, bulk broadcasts, or promotional content using this server, Telegram's automated systems will quickly flag your activity. Your personal Telegram account will be permanently banned and your phone number blocked. Use this exclusively for personal notifications or messaging your own contacts responsibly.

Prerequisites

To use this, you need a Telegram API ID and Hash.

  1. Log in to my.telegram.org/apps.
  2. Create an application (if you haven't already).
  3. Copy your App api_id and App api_hash.

Installation & Setup

  1. Install the package:

    pipx install mcp-server-telegram-pager
    
  2. Generate your Session String: Because Telegram requires 2FA (a login code sent to your app), you must generate an authentication session string locally first.

    mcp-server-telegram-pager-auth
    

    Follow the prompts to enter your API ID, Hash, and Login Code. Copy the long session string it outputs!

Configuring your MCP Client

Add the following to your IDE's MCP configuration file (e.g., in Cursor or Claude Desktop):

{
  "mcpServers": {
    "telegram-pager": {
      "command": "mcp-server-telegram-pager",
      "env": {
        "TELEGRAM_API_ID": "YOUR_API_ID_HERE",
        "TELEGRAM_API_HASH": "YOUR_API_HASH_HERE",
        "TELEGRAM_SESSION": "YOUR_LONG_SESSION_STRING_HERE"
      }
    }
  }
}

How to Test

Once configured, you can ask your AI assistant:

"Send a Telegram message to username 'coolperson123' saying 'The build finished successfully!'"

(Note: Do not include the @ symbol in the username).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_telegram_pager-0.1.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_telegram_pager-0.1.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_telegram_pager-0.1.2.tar.gz.

File metadata

File hashes

Hashes for mcp_server_telegram_pager-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d443cbf5bf0c8f56fb74393e2af5c196fbbbfbfdb8c9e1a4e4b9d3b9d42bc0cd
MD5 8f50b463f466eb1ffa16d92c7b8cfd61
BLAKE2b-256 edb340e33dbff7868fb6c8d33ca770d1c935d1593f710b227f1433a9130a024e

See more details on using hashes here.

File details

Details for the file mcp_server_telegram_pager-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_telegram_pager-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5088566122140550a7edd64d1dbc37560ed4936dc5940eb4d562b1254baad2bc
MD5 1c4d269b77db4c2b5c0a61cd073e5f0d
BLAKE2b-256 a0d70231e0919839bae08cfc34304279a8f0143cbeb00f1a4526634e389dfe17

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page