Vexa
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
作者提供的说明(英文原文)
Self-hosted MCP server: Telegram userbot control (Telethon) via HTTP and MCP.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"telethon-plus": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/psyb0t/telethon-plus:v0.5.7"
]
}
}
}在终端中运行这条命令
claude mcp add telethon-plus -- docker run -i --rm docker.io/psyb0t/telethon-plus:v0.5.7粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"telethon-plus": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/psyb0t/telethon-plus:v0.5.7"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"telethon-plus": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/psyb0t/telethon-plus:v0.5.7"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 psyb0t 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.5.7)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。
同一分类中有: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、图片和脚本已被移除。链接会离开本站。
Your Telegram account, but it takes HTTP requests. Wraps Telethon — the real MTProto userbot client, not that neutered Bot API garbage — behind a JSON HTTP API and a Model Context Protocol endpoint.
Same tools, two doors. POST some JSON, or point your AI agent at /mcp and let it go nuts. Either way it's talking to Telegram as *you*, with full account access.
One login. One session string. Never type a code again.
+-------------------+ +-----------------------+
| Any HTTP client | -----> | REST /api/... | --+ +-------------------+ +-----------------------+ | | +-----------+ Telegram +-------------------+ +-----------------------+ +-> | Telethon | <----> Servers | MCP-aware agent | -----> | /mcp (Streamable | --+ +-----------+ (MTProto) | (Claude, etc.) | | HTTP transport) | +-------------------+ +-----------------------+
One Telethon client. One async lock. Both surfaces share the same tool registry — no duplication, no weird state, no bullshit.
services:
telethon-plus: image: psyb0t/telethon-plus ports:
Get API_ID / API_HASH from https://my.telegram.org/apps. Get the session string from the login helper below.
Telegram makes you prove you're a human once — phone number, SMS code, optionally 2FA. Do it once, never again.
cp .env.example .env
$EDITOR .env # put in TELETHON_API_ID and TELETHON_API_HASH
make login
make login builds the image, runs the interactive flow, and shoves TELETHON_SESSION straight into your .env. That's it. Run make run and you're live.
No repo? No problem:
docker run --rm -it \
-e TELETHON_API_ID=123456 \ -e TELETHON_API_HASH=your-api-hash \ psyb0t/telethon-plus login
Copy the session string it spits out, set it as TELETHON_SESSION, done.
The session string is full account access. Whoever has it is you. Don't commit it, don't paste it in Slack, don't tattoo it anywhere.
All config via environment variables. Copy .env.example to get the full list with comments.
| Variable | Required | Default | Description |
|---|---|---|---|
TELETHON_API_ID | yes | — | API ID from my.telegram.org |
TELETHON_API_HASH | yes | — | API hash from my.telegram.org |
TELETHON_SESSION | yes | — | StringSession from the login helper |
TELETHON_HTTP_LISTEN_ADDRESS | no | 0.0.0.0:8080 | host:port to bind |
TELETHON_LOG_LEVEL | no | INFO | DEBUG, INFO, WARNING, ERROR |
TELETHON_REQUEST_TIMEOUT | no | 60 | Per-request timeout in seconds |
TELETHON_FLOOD_SLEEP_THRESHOLD | no | 60 | Auto-sleep through FLOOD_WAIT errors below this many seconds. Telegram will rate-limit you — this is the safety valve. |
TELETHON_DEVICE_MODEL | no | docker-telethon-plus | What Telegram thinks your device is |
TELETHON_SYSTEM_VERSION | no | 1.0 | Ditto for OS |
TELETHON_APP_VERSION | no | 1.0 | Ditto for app |
TELETHON_DOWNLOAD_DIR | no | /tmp/telethon-plus | Scratch space for send_file uploads |
TELETHON_AUTH_KEY | no | "" | When set, all endpoints require Authorization: Bearer . /healthz stays public. Empty = no auth. |
Telegram bans accounts that hammer it. Defaults here are conservative — meant to keep you under the server-side limits without you having to think about it. Tune only if you know what you're doing.
| Variable | Default | What it does |
|---|---|---|
TELETHON_THROTTLE_ENABLED | true | Master switch for all rate-limiting below |
TELETHON_THROTTLE_GLOBAL_INTERVAL_MS | 50 | Min gap between any two outgoing requests |
TELETHON_THROTTLE_JITTER_MS | 200 | Random ±jitter added on top (kills metronome traffic patterns) |
TELETHON_THROTTLE_PER_CHAT_INTERVAL_MS | 1100 | Min gap between sends to the same chat (Telegram's "1/sec/chat" ceiling, with margin) |
TELETHON_THROTTLE_PER_CHAT_READ_INTERVAL_MS | 250 | Min gap between reads from the same chat. Stops single-channel scraping from monopolizing the read bucket. |
TELETHON_THROTTLE_ADAPTIVE | true | On each FLOOD_WAIT, multiply all waits ×2 for an hour. Resets after a quiet hour. |
TELETHON_BUCKET_RESOLVE_PER_MIN | 5 | Cap on resolveUsername — the main thing that gets accounts 22-hour-banned |
TELETHON_BUCKET_GET_FULL_PER_MIN | 10 | Cap on getFullChannel / getFullUser / get_participants |
TELETHON_BUCKET_JOIN_PER_HOUR | 5 | Cap on channel/group joins |
TELETHON_BUCKET_CREATE_PER_HOUR | 5 | Cap on channel/group creation |
TELETHON_BUCKET_SEND_PER_MIN | 20 | Cap on sends across all chats |
TELETHON_BUCKET_READ_PER_MIN | 600 | Cap on read ops. Counted per server-side API call, not per tool call: get_messages(limit=300) charges 3 slots (Telegram caps GetHistory at 100/page); get_dialogs(limit=500) similarly charges 5. |
TELETHON_CACHE_ENABLED | true | Persist resolved entities to disk |
TELETHON_CACHE_PATH | /cache/entities.json | Mount /cache as a host volume to keep this across rebuilds |
TELETHON_CACHE_TTL_SECONDS | 604800 | 7 days. Set 0 for no expiry. |
TELETHON_FLOOD_SLEEP_THRESHOLD | 60 | Telethon's reactive auto-sleep: if a FLOOD_WAIT is shorter than this many seconds, sleep through it. Above this, raise. Set very high (e.g. 86400) to never raise — but then a hostile FLOOD_WAIT will block your process for the full duration. |
How the layers stack:
@somechannel calls Telegram; every subsequent lookup is free. Survives container restarts via the /cache volume.For bulk scraping work (the scenario that caused 22-hour bans before): the cache + bucket_resolve_per_min=5 combination is what saves you. Resolving 200 new channels takes ~40 minutes instead of getting you banned in 5.
JSON in, JSON out. All inputs are pydantic-validated — send garbage, get a 400 back with exactly what's wrong.
Chat references (chat, from_chat, to_chat) accept whatever Telethon accepts:
| Format | Example |
|---|---|
| Username | @psyb0t |
| Phone number | +1234567890 |
| t.me link | https://t.me/psyb0t |
| Numeric ID | 123456789 |
| Supergroup/channel ID | -1001234567890 |
| Your own Saved Messages | me |
Numeric IDs only resolve for entities Telethon has already seen — i.e. cached in your session via a prior
@username/t.melookup, dialog list, or incoming message. MTProto needs anaccess_hash, not just an ID, and bare numbers don't carry one. Especially relevant for bots: pass@botusernamefirst (or callGET /api/dialogs/GET /api/entities?chat=@botonce) before referring to it by numeric ID. If you only have the bot's token and no username, hit Telegram's Bot APIgetMeto fetch the username, then use that.
Every 2xx returns the resource directly. No {"result": ...} wrapper, no envelope. Lists are JSON arrays, singles are JSON objects.
Errors return {"detail": "..."} (FastAPI standard). Telegram RPC errors arrive as 502 with detail = {"telegram_error": "...", "message": "..."}.
| Endpoint | Required params | What it does |
|---|---|---|
GET /api/me | — | Account profile. |
GET /api/entities | chat | Resolve a username/ID/link to a profile. |
POST /api/entities/bulk | chats | Bulk resolve, honoring the resolve-username bucket. |
GET /api/dialogs | — | List dialogs. Optional: limit, archived, search (substring on title/@). |
GET /api/messages | chat | Read recent messages. Optional: limit, offset_id, search. |
GET /api/messages/{id} | chat | Fetch a single message. |
GET /api/messages/{id}/media | chat | Download attachment as raw bytes (binary stream). Returns Content-Type from Telegram + Content-Disposition: attachment; filename=.... Optional: max_bytes. MCP clients should use the download_media tool which returns base64. |
POST /api/messages | chat, `text` or `file_url` | Send a message. If file_url is present, fetches it and sends as media (with text as caption). Otherwise sends text. Optional: parse_mode, reply_to, silent, link_preview, schedule, force_document, max_bytes. |
POST /api/messages/forward | from_chat, to_chat, message_ids | Forward messages. |
POST /api/messages/read | chat | Mark as read. Optional max_id. |
PATCH /api/messages/{id} | chat, text | Edit. |
DELETE /api/messages | chat, message_ids | Bulk delete (body has the list). |
POST /api/messages/{id}/pin | chat | Pin. Optional silent, pm_oneside. |
POST /api/messages/{id}/unpin | chat | Unpin. |
POST /api/messages/{id}/reactions | chat, emoji | React. Optional big. |
DELETE /api/messages/{id}/reactions | chat | Remove your reaction. |
GET /api/participants | chat | List members. Optional: limit, search. |
POST /api/chats | title | Create supergroup or channel. |
DELETE /api/chats | chat | Delete supergroup/channel you own (body). |
POST /api/chats/join | chat | Join public channel/group. |
POST /api/chats/invite | invite | Join via private t.me/+hash. |
POST /api/chats/leave | chat | Leave. |
GET /api/chats/{chat}/linked | — | Resolve a channel's linked discussion group. |
POST /api/chats/{chat}/admin/ban | user | Ban a user. Optional until_seconds. |
POST /api/chats/{chat}/admin/unban | user | Lift a ban. |
POST /api/chats/{chat}/admin/kick | user | Kick (ban + immediate unban). |
POST /api/chats/{chat}/admin/promote | user | Grant admin rights + optional title. |
POST /api/chats/{chat}/admin/demote | user | Strip admin rights. |
POST /api/polls | chat, question, options | Create a poll. Optional quiz, correct_option, solution. |
POST /api/polls/{id}/vote | chat, options | Vote (0-based indices). |
GET /api/polls/{id}/results | chat | Current vote counts. |
GET /api/throttle/status | — | Live rate-limit + cache state. |
GET /api/account/health | — | Flood-risk tier. |
| `GET /metrics
只显示了开头部分;其余内容请在仓库中阅读