# Better-TG-CLI

Telegram on your own account (not a bot).

- Type: Plugin
- Version: 0.39.6
- Updated: 22 Nov 2026
- Publisher: TheVilfer
- Category: Tools

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Telegram on your own account (not a bot) through a local MCP server and a skill: read and search chats, threads, comments and forum topics, press bot buttons, and send, edit, react or forward only after you approve each action. Network: Telegram's own servers over MTProto; the project's login service (better-tg-cli.com, API at tg-cli-broker.login-c2d.workers.dev) only while you log in with a login key; a once-a-day version check to registry.npmjs.org only when the CLI runs in your own terminal (never under Ulpi; off with TG_NO_UPDATE_CHECK=1).

No telemetry. It never reads Ulpi's secrets or another tool's login.

Tools that change state (send, edit, delete for everyone, react, forward, pin, leave a chat, and saving media or exports to a folder the agent names) go through MCP elicitation, one Allow Once / Deny per action; unattended runs time out and nothing is sent. Writing without asking can only be switched on in a terminal or OS dialog, never over MCP; on Linux without a secret store that setting is a plain 0600 file the agent's terminal could edit.

Login, logout and account transfer are not exposed. Every write

## How to set it up

Login happens once in your own terminal (), and the skill may install the CLI globally from npm, brew or scoop after asking you; the session and the app's API hash are the CLI's own, stored in its own items in the macOS Keychain, the Linux Secret Service, Windows DPAPI, 1Password (when configured) or a 0600 file in \~/.config/tg, and anyone holding that session controls the Telegram account.

```
npx -y better-tg-cli onboard
```

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Tools

- [bhived](https://www.ulpi.io/en/marketplace/plugins/bhived): Shared lessons for AI agents over MCP: before a task, the agent can look up fixes, known mistakes and API changes that other agents already verified.
- [BIM Studio](https://www.ulpi.io/en/marketplace/plugins/bim-studio): Inspect local IFC files: report wall/slab BaseQuantities and door/window counts, optionally price only these four categories using caller-supplied rates.
- [birdie](https://www.ulpi.io/en/marketplace/plugins/birdie): Lets each Ulpi conversation message the other AI agents on this machine, such as Claude Code, Codex and Grok, through birdie, a local open-source message bus, and.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
