No project description provided
Project description
telegram-mcp
Requirements
- Python Project Manager, UV
- MCP Client
Usage
- install dependencies
pip3 install uv
uv venv
source .venv/bin/activate
uv sync
-
edit .env file with your telegram api id and hash (My Telegram), don't share with others.
-
start the http-server
uv run http-server/http-server.py
- install the MCP Server
uv run mcp install mcp-server/mcp-server.py
Available Functions
The MCP Server provides the following functions:
get_unread_entities: Get entities which have unread messages in themget_unread_messages(id): Get all unread messages from a given entity idget_messages(id, count): Get messages limited by a count from an entityget_entities: Get all entities in the current sessionget_entity_by_id(id): Get an entity from the current sessionsend_message(entity_id, content, reply_to_message_id): Send a message to an entity with optional markup and reply
Common Issues & How to Fix
- Claude can't run MCP server >> Install uv with brew :
brew install uv - Can't create new app in Telegram >> Disconnect VPN and retry
License
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 iflow_mcp_telegram_mcp-0.1.0.tar.gz.
File metadata
- Download URL: iflow_mcp_telegram_mcp-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
784b23d422d4e328c9f5d2a8da67cbc029d350baedfb0422bb3f38a419817616
|
|
| MD5 |
bf28563ab82b120b7c99a68dcc8dc486
|
|
| BLAKE2b-256 |
9c65ec7eb47df3ec35e79d7c0ddbbbe4b828a95656c0aa952562fe775f7dd707
|
File details
Details for the file iflow_mcp_telegram_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: iflow_mcp_telegram_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f73b532e789ba1e8c47c41d12f339aab2dc526ce07fca8e32a944be0f582bb16
|
|
| MD5 |
3db428b347d8f401caa61c68a782d547
|
|
| BLAKE2b-256 |
a040f881f68dbda464c94d32010dbc9b5429a97cefab2f9ffedf898c852aab21
|