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.
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).
Metadata
Release files for mcp-server-telegram-pager 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mcp_server_telegram_pager-0.1.2.tar.gz | 2.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_server_telegram_pager-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.3 kB
Release files / mcp_server_telegram_pager-0.1.2.tar.gz
| Download URL | mcp_server_telegram_pager-0.1.2.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d443cbf5bf0c8f56fb74393e2af5c196fbbbfbfdb8c9e1a4e4b9d3b9d42bc0cd
|
|
BLAKE2b-256 checksum How to use checksums |
edb340e33dbff7868fb6c8d33ca770d1c935d1593f710b227f1433a9130a024e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / mcp_server_telegram_pager-0.1.2-py3-none-any.whl
| Download URL | mcp_server_telegram_pager-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5088566122140550a7edd64d1dbc37560ed4936dc5940eb4d562b1254baad2bc
|
|
BLAKE2b-256 checksum How to use checksums |
a0d70231e0919839bae08cfc34304279a8f0143cbeb00f1a4526634e389dfe17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for mcp-server-telegram-pager 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.