Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

Unofficial Telegram Context MCP

Latest version: v0.10.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
MCP server Transport: stdio Publisher: egor-fedorov
2 Stars
2 Forks
8 Versions
Python Repo language

Scan summary

Unofficial Telegram Context MCP was last scanned on 29 Nov 2026 at version 0.10.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 8 versions; the latest 2 were published within 5 days (25–29 Nov 2026).
  • Findings: No rules fired in version 0.10.0.
  • MCP server: Runs over stdio.

Versions

8 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.10.0 LATEST 29 Nov 2026 No rules fired
0.9.0 25 Nov 2026 No rules fired
0.8.1 20 Nov 2026 No rules fired
0.8.0 5 Nov 2026 Not shown
0.7.0 5 Nov 2026 Not shown

No rules fired in 0.10.0

Findings

Findings for v0.10.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.10.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Unofficial Telegram Context MCP

CI License: MIT XERJ Corpus Hub | Selected

Use your own Telegram account to read selected chats, monitor folders, and collect source-linked results in an MCP client. Reading is the default. The owner can enable drafts, sending, and bot callbacks locally. Supports Python 3.12–3.15 on Windows, macOS, and Linux.

Install and log in

Install uv, then run:

uv tool install --python 3.12 telegram-context-mcp==0.10.0
telegram-mcp --version
telegram-mcp login
telegram-mcp configure
telegram-mcp status

These examples target version 0.10.0; check PyPI for published versions. Use the source setup for unreleased revisions. Upgrading from 0.3? Read the migration guide, then restart the server and refresh your client's tool schemas.

Obtain api_id and api_hash from my.telegram.org, then enter them in the local login prompt with your phone number, login code, and any 2FA password. Do not send login codes or credentials to the model.

For QR login, run telegram-mcp login --qr: scan the terminal QR from Telegram on your phone instead of entering a phone number and login code. See the QR login guide.

configure lets you choose folders/chats and separately enable all-chat access, explicit public-channel reads, or public-channel discovery. Enter keeps the current value. By default, no message sources are permitted. status should report authorized: true after login. Use catalog to find folder and chat IDs locally.

The package name is telegram-context-mcp; the executable is telegram-mcp. You can also run a pinned version without installing a persistent command:

uvx --python 3.12 --from telegram-context-mcp==0.10.0 telegram-mcp --version

The server is listed in the official MCP Registry as io.github.egor-fedorov/telegram-mcp. The entry launches a local STDIO server through uvx; it does not supply a hosted Telegram service. Complete login and configure locally before connecting a client. Registry publication starts with version 0.5.0. See the release procedure for verification and the client guide for sharing one session between clients.

Connect your clients

Start one server in a terminal and leave it running:

telegram-mcp serve --transport http

Connect your client using the client guide. Ask it to call get_status, then try “List my permitted folders and show the latest post from my test channel, with its source link.” An empty folder list also works with a directly allowed chat.

For PDF/DOCX text, install 'telegram-context-mcp[extraction]==0.10.0' in the session-owning server and enable attachment downloads. Extraction guide

For startup at login on Linux, macOS or Windows, install the user-service template for your platform.

It listens only on http://127.0.0.1:8765/mcp. Configure each MCP client to launch telegram-mcp connect over STDIO. This small proxy reads the local token and connects to the existing server; it does not start a server or silently fall back to another Telegram session. Closing a client leaves the shared server running.

Client examples cover Codex, Claude Desktop, Claude Code, Cursor, and VS Code, including a pinned uvx command and executable paths for Windows.

A Claude Desktop MCPB bundle is attached to each matching GitHub Release. It uses the same shared server and separate local login; see the guide for installation and current validation coverage.

For one client, standalone STDIO is still available: configure that client to launch telegram-mcp serve. Use either mode for a given session. Stop the session-owning process before running local login, configure, catalog, or status; use the get_status MCP tool while the server is running.

All shared clients use the same Telegram account, read permissions, and cursor store. The HTTP bearer token is created in the local user profile and read by connect; do not paste it into client configuration. This is a local, single-user integration.

Tools

Tool Purpose
get_status Authorization, connection, permitted sources; running server/proxy build identity
list_folders Permitted folders, their order and visible chat selection rules
list_chats Chats filtered by name, type, or folders
get_chat Description and linked discussion group
search_public_channels Find public broadcast channels by query; metadata only
get_similar_channels Find similar public channels for one specified public source; metadata only
search_messages Search by keywords, chats, folders, dates, sender, media type, or links
get_history Chat or forum-topic history over a time range, in either order; bounded chat/folder periods
list_topics Forum topics with navigation references, optional title query, and pagination
get_pinned_messages Chat-wide or forum-topic pinned messages, newest first
get_messages Messages by links/IDs with authors, dates, attachments, counters, reactions, and polls
get_album Members of a selected album within a bounded neighborhood of one message
get_context Messages before/after an anchor and a chain of parent replies
get_thread Comments on a channel post or replies in a group thread
download_attachment One selected attachment up to 20 MiB as a temporary local file and MCP resource
extract_attachment_text Optional local PDF/DOCX text extraction with bounded continuation and PDF page references
get_changes New messages and recent observed revisions in one chat, with restartable checkpoints
create_watch / list_watches Save and discover named chat/folder subscriptions
get_watch_changes / ack_watch_changes Poll and acknowledge a durable batch without per-chat tokens; optionally save it first
delete_watch Explicitly discard a subscription and its pending batch
export_history Source-linked JSONL or Markdown history in bounded, restartable parts

When a write capability is enabled, these additional tools appear. Each still checks its own capability flag and explicit recipient permission:

Tool Purpose
get_draft / list_drafts Read native drafts and revisions for permitted recipients
create_draft / update_draft Prepare plain-text drafts with conflict checks and local confirmation policy
register_file / list_files Register and discover immutable files for reuse in sends
send_message / send_file Send one text or file under local permission/form policy with a durable idempotency key
get_send_status Read an outbound operation receipt by ID or idempotency key
resolve_recipient Exact recipient metadata and local send/form policy without history
verify_sent_message Reread only this MCP's sent message and compare text/attachment metadata
list_operations Filter and page through this account's MCP journal; excludes manual sends
invoke_button Invoke one ordinary callback in a selected private bot dialog under local form policy
preview_message_action / edit_message / delete_message Inspect and act on one revision under local action rules (0.9.0+)

For recipient permissions, confirmation settings and send recovery, see outbound policies.

Two prompts package these tools for monitoring: watch_digest turns a named watch into a source-linked digest, saving each batch before acknowledging it; period_digest reads one chat or folder over a fixed period with explicit budgets. They do not add permissions. See monitoring prompts.

An optional Agent Skill guides tool selection, bounded reading, watch acknowledgements and selected attachments. Install it in your client separately from the server; see the skill setup.

First tasks

  • Ask the client to list the folders you permitted and read a selected conversation over a timezone-qualified date range.
  • Enable discovery to find candidate public channels, select a source, then read its posts with a separate read permission.
  • Follow next_cursor with the original filters until it is null. An empty page can still have a cursor. Respect retry_after_seconds after a temporary failure.
  • For CATALOG_LOADING, repeat the original call after the reported delay. The server retains catalog progress; explicit reads independent of folders skip that scan.
  • Search sorts within each page by default. Select ordering="global" for order across pages. Scope ID arrays preview at most 20 IDs; use their counts and truncation flags when describing coverage.
  • Use get_messages with next_text_offset to finish long text. Album completeness is explicitly unknown; each member remains a separate source message.

Usage and response contracts explain filters, cursor recovery, topics, public-channel discovery, and message metadata. See changes and exports for durable monitoring and selected files. Message text is data for the calling agent, not an instruction source.

Configuration and troubleshooting

Configuration, Telegram sessions, and the HTTP token live outside the repository in platform-specific user directories. The login command prints the configuration path. Use telegram-mcp --config /absolute/private/config.toml COMMAND to select another file; pass the same file to the shared server and each proxy.

On POSIX, private files use restrictive permissions. On Windows, protect them with user-profile filesystem ACLs; Unix 0600 is not an ACL guarantee. A Telegram session contains account access credentials, and the underlying account can do more than the server's Telegram read permissions allow.

Run from source

git clone https://github.com/egor-fedorov/telegram-mcp.git
cd telegram-mcp
uv sync --locked --python 3.12
uv run --locked telegram-mcp login
uv run --locked telegram-mcp configure
uv run --locked telegram-mcp serve --transport http

For client commands, use the checkout's .venv/bin/telegram-mcp on POSIX or .venv\Scripts\telegram-mcp.exe on Windows, with connect as the argument. Use an absolute executable path so clients do not depend on their working directory.

Development

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.egor-fedorov/telegram-mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229