HyperFrames by HeyGen
Official HyperFrames by HeyGen: the best AI video editor in chat. Captions, motion graphics, MP4.
Telegram on your own account: read, search, send and press bot buttons. Writes need your approval.
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
SettingsDeveloperEdit Config
{
"mcpServers": {
"better-tg-cli": {
"command": "npx",
"args": [
"-y",
"better-tg-cli",
"mcp"
]
}
}
}用 Better-TG-CLI (Telegram) 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Better-TG-CLI (Telegram),或回答中出现 Better-TG-CLI (Telegram) 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
TG_PROFILE Optional profile name, to keep this client on a separate Telegram session说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Better-TG-CLI (Telegram)
Better-TG-CLI (Telegram) 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 Better-TG-CLI (Telegram) 的应用
B · 聊天与邮件 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user better-tg-cli -- npx -y better-tg-cli mcp应能看到 Better-TG-CLI (Telegram) 在列表中并显示已连接
用 Better-TG-CLI (Telegram) 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Better-TG-CLI (Telegram),或回答中出现 Better-TG-CLI (Telegram) 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
TG_PROFILE Optional profile name, to keep this client on a separate Telegram session说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
用 Better-TG-CLI (Telegram) 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Better-TG-CLI (Telegram),或回答中出现 Better-TG-CLI (Telegram) 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
TG_PROFILE Optional profile name, to keep this client on a separate Telegram session说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
用 Better-TG-CLI (Telegram) 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Better-TG-CLI (Telegram),或回答中出现 Better-TG-CLI (Telegram) 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
TG_PROFILE Optional profile name, to keep this client on a separate Telegram session说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user better-tg-cli -- npx -y better-tg-cli mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"better-tg-cli": {
"command": "npx",
"args": [
"-y",
"better-tg-cli",
"mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"better-tg-cli": {
"command": "npx",
"args": [
"-y",
"better-tg-cli",
"mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"better-tg-cli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"better-tg-cli",
"mcp"
]
}
}
}TG_PROFILE env说明仍为英文原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月14日
注册名称已通过 GitHub 账户 TheVilfer 验证,该账户拥有此仓库
代码最后更新于6天前
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于6天前,最新版本(0.39.6)于8天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:HyperFrames by HeyGen, Inbox Zero, draw.io
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Official HyperFrames by HeyGen: the best AI video editor in chat. Captions, motion graphics, MP4.
Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Install · Reference · Security · Issues · Русский · Español
https://github.com/user-attachments/assets/d143f7c7-7d50-439c-b373-cbcbff5a6675
Better-TG-CLI is a Telegram CLI and MCP server for AI agents (Claude Code, Codex, Cursor, Claude Desktop, Gemini CLI) that works on your own Telegram account: agents read, search and send messages and press bot buttons, and you approve every send.
It is an unofficial, open-source client (MTProto via teleproto, TL layer 229). The command is telegram: about 60 commands for reading, searching, writing, bots, groups and exports, built so that agents can drive it cheaply and safely. It also ships as an MCP server (telegram mcp) and an agent skill.
$ telegram inbox -n 3
48 unread in 7 chats (showing 3) 1234567890 user unread=2 Alice @alice | see you at 7? -1001234567 supergroup muted unread=41 Rust Seattle @rust_sea | anyone tried 1.90? -1009876543 channel unread=5 Changelog | v2.4 is out $ telegram read @alice -n 1 --json {"chatTitle":"Alice","messages":[{"id":812,"date":"2026-09-27T10:02:11.000Z","sender":"Alice","senderId":"1234567890","text":"see you at 7?"}]}
[!WARNING]
Your account, your risk. This is an unofficial client that logs in as you. Telegram may
limit or freeze accounts that behave like bots. The risk is highest for new accounts, bulk
messaging, mass joins or invites, and anything that looks like spam. Use it the way you would
use Telegram yourself, keep writes off unless you need them, and read SECURITY.md
before letting an agent write. The authors are not responsible for restricted accounts.
Contents: Why Better-TG-CLI · Install · Log in · Usage · MCP server · FAQ · Development · Privacy · License
Made for agents:
(no text). You can press bot buttons (click) and walk bot menus.--max-text trims long posts. telegram help-all -g prints every flag, generated from the code.--since/--until, --unread, threads and channel comments, forum topics, get by ID, search filters by type, sender or date, and me / Избранное for Saved Messages.write-access on) needs your own confirmation in a terminal or a macOS dialog. Every write is logged to ~/.config/tg/audit.jsonl. Secrets live in the macOS Keychain, the Linux Secret Service or 1Password.It started as a fork of skillhq/telegram and has since been reworked throughout.
| Better-TG-CLI | chigwell/telegram-mcp | chaindead/telegram-mcp | WireCatLabs/tg-cli | |
|---|---|---|---|---|
| What you get | CLI, MCP server, agent skill | MCP server | MCP server | CLI, MCP server, agent skill |
| Language | TypeScript (Node 20+ or a standalone binary) | Python | Go | TypeScript |
| Telegram library | teleproto (GramJS fork, layer 229) | Telethon | gotd/td | mtcute |
| Runtime dependencies | none (one file) | Python packages | one Go binary | npm packages |
| Install | Homebrew, Scoop, npm, binaries | pip, uvx, Docker | Homebrew, npx, go install | npm, bun |
Taken from each project's README and manifest in November 2026; open an issue if something here is out of date. What sets Better-TG-CLI apart is the write model (read-only, ask, on, with approvals bound to the exact text) and output made for agents.
brew install thevilfer/tap/better-tg-cli # standalone binary, macOS and Linux
npm install -g better-tg-cli # Node >= 20, any OS
On Windows (experimental), with Scoop or npm:
scoop bucket add thevilfer https://github.com/TheVilfer/scoop-bucket
scoop install better-tg-cli
The Windows telegram.exe is not code-signed, so SmartScreen may warn about the release download.
telegram update upgrades an existing install, whichever of these you used. On a terminal the CLI checks for new versions once a day. Agents and pipes never see that notice, and TG_NO_UPDATE_CHECK=1 turns it off.
Downloading a binary from Releases by hand on macOS? It is not notarized, so remove the quarantine flag once: xattr -d com.apple.quarantine ./telegram. Homebrew handles this for you.
Do not install @skillhq/telegram. It is the old upstream build on GramJS (layer 198).
Every channel ships the same version from one release:
| Where | What you get | Install |
|---|---|---|
| Homebrew | standalone binary | brew install thevilfer/tap/better-tg-cli |
| npm | CLI and MCP server (Node 20+) | npm install -g better-tg-cli |
| Scoop (Windows, experimental) | standalone telegram.exe | scoop bucket add thevilfer https://github.com/TheVilfer/scoop-bucket then scoop install better-tg-cli |
| GitHub Releases | binaries and SHA256SUMS | download by hand |
| Claude Code plugin | skill (uses the installed CLI) | see below |
| Claude Desktop extension | MCP server, runs on Claude's built-in Node | download .mcpb and open it |
| Grok Build plugin | skill and MCP server | see below |
| Gemini CLI extension | skill and MCP server | gemini extensions install https://github.com/TheVilfer/better-tg-cli |
| Cursor, VS Code | MCP server | one-click buttons |
| Grok Bot | MCP server over HTTP from your Mac | see below |
| The CLI itself | agent skill for Claude Code, Codex, Cursor, Gemini CLI and 7 more | telegram skill install |
| skills.sh | agent skill for any shell agent | npx skills add TheVilfer/better-tg-cli |
| MCP Registry | MCP server entry io.github.TheVilfer/better-tg-cli | through your MCP client |
The skill as a plugin, kept up to date by Claude Code:
/plugin marketplace add TheVilfer/better-tg-cli
/plugin install better-tg-cli@better-tg-cli
The plugin is the skill alone, so install the CLI first (above) and log in once with telegram onboard in a terminal. Claude Code then runs telegram itself. Anthropic's plugin directory accepts MCP servers that run on your computer only from Verified organizations, so the MCP server is added on its own if you want it: claude mcp add telegram -- telegram mcp.
The skill and the MCP server as a Codex plugin (also shows up in the ChatGPT desktop app):
codex plugin marketplace add TheVilfer/better-tg-cli
codex plugin add better-tg-cli@better-tg-cli
Grok Build installs the plugin with the skill and the MCP server together:
grok plugin install TheVilfer/better-tg-cli --trust
grok plugin marketplace add TheVilfer/better-tg-cli && grok plugin install better-tg-cli --trust
The skill (skills/better-tg-cli) teaches any agent with a shell (Claude Code, Codex, Cursor, Gemini CLI, OpenCode and others) to use the CLI safely. It checks the setup, never logs in on its own, keeps writes behind your approval, and avoids ban-prone patterns. The CLI carries the skill and installs it itself, so it always matches your version:
telegram skill install # every supported agent found on this machine
telegram skill install -a claude-code codex telegram skill status # installed, outdated, linked or missing, per agent
It knows Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Grok Build, OpenCode, Goose, Droid, Windsurf and Pi (telegram skill status lists the folders). Run it again after telegram update to refresh the skill. A skill folder that is a symlink is left alone unless you pass --force. For other agents, use the skills CLI:
npx skills add TheVilfer/better-tg-cli # pick agents interactively
npx skills add TheVilfer/better-tg-cli -g -a claude-code -a codex -y
Through your agent (easiest): ask it to set up Telegram, or run telegram onboard yourself. It opens a page on 127.0.0.1 where you get a login key from better-tg-cli.com (it comes back to the page by itself) or enter your own keys, scan a QR code and type your 2FA password. The agent only starts the command and waits: it never sees the login key, the QR code or the password. The page answers only on a random secret path and closes when you're done.
With your own API keys (the default):
api_id and api_hash.telegram auth --qr and enter them. Then, on your phone, go to Settings → Devices → Link Desktop Device and scan the QR code. Enter your 2FA password if you have one. Plain telegram auth asks for y