A send-only Telegram Pager MCP server for personal AI notifications
Project description
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.
- Log in to my.telegram.org/apps.
- Create an application (if you haven't already).
- Copy your
App api_idandApp api_hash.
Installation & Setup
-
Install the package:
pipx install mcp-server-telegram-pager
-
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).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_telegram_pager-0.1.1.tar.gz.
File metadata
- Download URL: mcp_server_telegram_pager-0.1.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d073c34012c3893902a36469b0884c690c6b4c995b8ee46ed163b1f88f3240ee
|
|
| MD5 |
1aeadf8e16cb93cd7640d30459d2c54c
|
|
| BLAKE2b-256 |
cfa55731db69cf3e403f3212274e8135a16c8c522376f311c1c5c07bc041241a
|
File details
Details for the file mcp_server_telegram_pager-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mcp_server_telegram_pager-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7bced5285838d6e676d50e121369571fbf0ffd29a666c154b3bfc4e7b765fae
|
|
| MD5 |
8e93c0099c4a5a59209ba73fa4f5c5b8
|
|
| BLAKE2b-256 |
1e9a3da6e9be556029b276ddba247340b7983dae2dea95909f7771a50f4bab55
|