Vexa
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
作者提供的说明(英文原文)
Read-only Telegram MCP server wrapping the tdl CLI: list chats, read messages, download media.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
TDL_BIN, TDL_NS你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"tdl": {
"command": "npx",
"args": [
"-y",
"tdl-mcp"
],
"env": {
"TDL_BIN": "your-value",
"TDL_NS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add tdl --env TDL_BIN=your-value --env TDL_NS=your-value -- npx -y tdl-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"tdl": {
"command": "npx",
"args": [
"-y",
"tdl-mcp"
],
"env": {
"TDL_BIN": "your-value",
"TDL_NS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"tdl": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"tdl-mcp"
],
"env": {
"TDL_BIN": "your-value",
"TDL_NS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
TDL_BIN envTDL_NS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 rixile9999 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.1.0)于23天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Vexa, emailmd, MCP WhatsApp Cloud
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
MCP server for WhatsApp Cloud API (Meta) — messages, media, and templates via Graph API
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Read-only Telegram access for Claude and other MCP hosts, powered by the [`tdl`](https://github.com/iyear/tdl) CLI.
List your chats, read recent messages, and download media — from your own Telegram account — with five simple tools. It never sends messages, never modifies anything, and never touches your login.
🇰🇷 한국어 문서는 여기 있습니다 → README.ko.md
Most Telegram MCP servers embed an MTProto library (Telethon, gramjs, …), ask you to create your own Telegram application at my.telegram.org to get an api_id/api_hash, and many of them can *send* messages on your behalf.
tdl-mcp takes a different, deliberately boring approach:
tdl login -T qr — scan a QR code with your phone and you're done. No Telegram app registration needed.tdl (7.5k+ ⭐) does the heavy lifting: fast parallel downloads, resume, --skip-same deduplication.@modelcontextprotocol/sdk, zod), no build step. You can read the whole server in five minutes.Claude / MCP host ←stdio→ tdl-mcp (Node) →subprocess→ tdl CLI →MTProto→ Telegram
# macOS
brew install telegram-downloader
curl -sSL https://docs.iyear.me/tdl/install.sh | sudo bash
iwr -useb https://docs.iyear.me/tdl/install.ps1 | iex
Any version from the one pinned in .tdl-version upward should work — CI continuously tests against that pin (see Compatibility).
tdl login -T qr
Scan the QR code with the Telegram mobile app (Settings → Devices → Link Desktop Device). The session is stored in ~/.tdl on your machine and shared by every MCP host — you log in exactly once. tdl-mcp itself never performs or refreshes logins.
You need Node.js ≥ 22.
Claude Code:
claude mcp add --scope user telegram -- npx -y tdl-mcp
Claude Desktop / any other MCP host (generic mcpServers JSON):
{
"mcpServers": { "telegram": { "command": "npx", "args": ["-y", "tdl-mcp"] } } }
Ask your assistant things like:
*"What Telegram chats do I have? Find the one about quant trading."*
*"Show me the last 20 messages in @some_channel."*
*"Download every PDF posted in that channel since message 1500 to ~/Papers."*
If a tool reports that you are not logged in, run tdl login -T qr in a terminal and retry — that's the only manual step there is.
| Tool | Arguments | What it does |
|---|---|---|
tg_status | — | Checks whether the tdl session is logged in. Never errors: returns {logged_in:true, chats:N} or {logged_in:false, hint}. |
tg_chats | filter? | Lists dialogs as [{id, type, name, username}]; filter is a case-insensitive substring match on name/username/id. |
tg_messages | chat, last_n? (default 50, max 500), since_id?, with_text? (default true) | Exports recent media messages from a chat as compact {id, date, file, text} objects (at most 200 returned; truncation is noted). since_id fetches only messages after a known id — handy for incremental reads. |
tg_download | chat, since_id?, last_n? (default 100), extensions? (csv, e.g. "xlsx,pdf"), dest? (default ~/Downloads/telegram) | Downloads media from a chat with --skip-same; returns absolute paths of newly downloaded files, or a friendly "no matching files" note. |
tg_download_url | urls (array of https://t.me/... links), extensions?, dest? | Downloads the media of specific messages by link. Validates every url starts with https://t.me/. |
chat accepts either a numeric id or an @username/domain, exactly as shown by tg_chats.
| Variable | Effect |
|---|---|
TDL_BIN | Path to the tdl binary. Default: tdl on PATH, falling back to /opt/homebrew/bin/tdl (GUI-launched MCP hosts often don't inherit the Homebrew PATH). |
TDL_NS | tdl namespace, passed as -n on every call. Use it to keep separate Telegram accounts/sessions apart. |
Set them in your host's server config, e.g.:
{
"mcpServers": { "telegram": { "command": "npx", "args": ["-y", "tdl-mcp"], "env": { "TDL_NS": "work" } } } }
tdl-mcp shells out to the tdl CLI, so its real dependency is tdl's command-line surface. That surface is guarded automatically:
.tdl-version pins the tdl release this package is tested against.scripts/contract.mjs verifies — without logging in — that every flag the server uses (chat ls -o json, chat export -c/-T/-i/-o/--with-content, dl -f/-u/-i/-d/--skip-same, global -n) still exists in that tdl binary. CI runs it on every push and PR.So if you're on a newer tdl than the pin, chances are excellent everything just works — and if it ever wouldn't, this repo finds out before you do.
git clone https://github.com/rixile9999/tdl-mcp.git
cd tdl-mcp npm install npm test # smoke (MCP protocol, login-free) + contract (tdl CLI surface)
npm run smoke spawns the server over stdio and checks the tool catalog, tg_status shape, and input validation — passes whether or not you are logged in.npm run contract checks the installed tdl binary against the CLI surface the server uses. scripts/install-tdl.sh [vX.Y.Z] installs a specific (checksum-verified) tdl release if you want to test against another version.PRs welcome. Please keep the server read-only — tools that send, edit or delete are out of scope for this project.
~/.tdl is a full user-account credential — anyone who can read it can act as your Telegram account. Protect it like an SSH key: don't copy it into repos, shared backups, or other machines.tdl-mcp never reads or transmits the session itself; it only runs the tdl binary locally. Nothing leaves your machine except tdl's own Telegram traffic.dest), defaulting to ~/Downloads/telegram.tdl drives a regular user session (MTProto), not a bot. Quiet, read-only, personal-use automation of your own account is generally tolerated, but aggressive crawling can get an account limited: keep ranges modest (last_n, since_id), avoid large parallel pulls, and let --skip-same do its job instead of re-downloading.
MIT for everything in this repository.
tdl itself is a separate project licensed under AGPL-3.0. tdl-mcp does not bundle, link, or modify tdl — it invokes the binary you installed as a separate process, so the AGPL applies to tdl, not to this wrapper. You install tdl yourself through official channels (step 1 above).