Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

Better-TG-CLI (Telegram)

NPM · BETTER-TG-CLI

Telegram on your own account: read, search, send and press bot buttons. Writes need your approval.

Available components

−1 this week 94 Trust /100

Last scanned (23 hours ago)

Scores higher than 92% of npm servers

Category Communication

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security100
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • No install/post-install scripts declared.Pass
  • No production dependencies, so there is no dependency health to assess. View diagnostics → Pass
Provenance & Transparency100
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Cryptographically verified build provenance (signed, bound to TheVilfer/better-tg-cli). View diagnostics → Pass
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 7 days ago).Pass
  • Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability70
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 743 tokens (~185/item across 4 items; 4 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management93
  • Stability observed for 28 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
  • Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • We read all 4 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
  • An AI judge read all 5 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
What we tested

Checks we ran (16)

  • Malware scan
  • Known CVEs
  • Install scripts
  • Dependency health
  • Source repository
  • Provenance
  • License
  • Maintenance
  • Security disclosure
  • Schema quality
  • Stability
  • Tool coverage
  • Injection markers
  • Destructive annotations
  • Judged manipulation
  • MCP protocol

Does not apply to this package (2)

  • Endpoint SecurityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
  • Transport & ReachabilityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.

The score does not measure everything. What the score does not measure →

Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 30 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 90 to 93. That category is still filling its 30-day observation window: 27 days of observed history at the previous scan, 28 at this one. The score rises as the window fills, whether or not the server changes.

  • 28 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 83 to 87. That category is still filling its 30-day observation window: 25 days of observed history at the previous scan, 26 at this one. The score rises as the window fills, whether or not the server changes.

  • 26 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 77 to 80. That category is still filling its 30-day observation window: 23 days of observed history at the previous scan, 24 at this one. The score rises as the window fills, whether or not the server changes.

  • 24 Nov 26 −4
    • Stability: pass → 0.73 functional
  • 23 Nov 26 +15
    • Malware scan: unverified → pass ▲ security
  • 22 Nov 26 −15
    • Malware scan: pass → unverified ▼ security
    • Known CVEs: pass → unverified ▼ security
    • Dependency health: pass → unverified ▼ functional
    • First check of Tool coverage: 100 functional
    • Package version: 0.40.0 → 0.41.2 functional
    • Package version: 0.40.0 → 0.41.1 functional
    • Package version: 0.40.0 → 0.41.0 functional
  • 21 Nov 26 +15
    • Malware scan: unverified → pass ▲ security
  • 20 Nov 26 −13
    • Malware scan: pass → unverified ▼ security
    • Schema quality: 492 → 720 ▼ functional
    • Tool coverage: 40% → 100% ▲ functional
    • Schema quality: good → excellent functional
    • Package version: 0.39.6 → 0.40.0 functional
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 30 Nov 2026 · Analysed npm/better-tg-cli@0.41.2

Provenance Verified

A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.

Result Verified
Ecosystem npm
Reason Verified
Discovered via Registry attestation endpoint
Source repo TheVilfer/better-tg-cli
Certificate issuer https://token.actions.githubusercontent.com
Certificate SAN https://github.com/TheVilfer/better-tg-cli/.github/workflows/release.yml@refs/tags/v0.41.2
Rekor log index 4045799811
Predicate type SLSA build provenance https://slsa.dev/provenance/v1
Subject digest sha512:e12fa1fc9f091889a2476877f48dbebfe88b5c569a2cc9650eb3ebffd40987b298feccac8a66c3bcb88fa6ed780bc80866fcbac3de070f544d12b1fc0

Background: How many MCP packages publish verified provenance →

Dependencies 0 packages
Packages resolved 0
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 4 exposed · ~600 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
telegram_help ~59

List telegram CLI commands and flags. Pass grep to filter (e.g. "thread", "search"). Call this before guessing flags.

NameTypeReqDescription
grepstring–Only commands whose name, description or flags mention this word, e.g. "thread"
NameTypeReqDescription
exitCodeinteger–The CLI's exit code (0 ok, 1 runtime, 2 usage, 4 writes off, 5 not logged in)
outputstringyesThe result as the model reads it: the command's output (its JSON as text with --json), an error or what to do next. The same text as content.
statusstring–approval_required, human_required, nothing_to_do, done, open_page or ready
stderrstring–What the CLI printed on stderr

No examples provided.

telegram_read ~175

Run a read-only telegram CLI command on the user's account, e.g. ["inbox","-n","10"], ["read","@user","-n","20"], ["search","invoice","--chat","Work"]. args[0] is the command; chats are an ID, @username, "me" or a title. Output is compact text (add "--json" for JSON). Add "--full" (read/get/search/inbox/watch) for complete per-message stats: views, forwards, full reactions, comments, flags, media detail. watch needs -t or -n. A new public-post search (channels.SearchPosts) may use up the free daily search quota.

NameTypeReqDescription
argsarrayyesCLI argv, command first, one item per word: ["read","@user","-n","20"]
NameTypeReqDescription
exitCodeinteger–The CLI's exit code (0 ok, 1 runtime, 2 usage, 4 writes off, 5 not logged in)
outputstringyesThe result as the model reads it: the command's output (its JSON as text with --json), an error or what to do next. The same text as content.
statusstring–approval_required, human_required, nothing_to_do, done, open_page or ready
stderrstring–What the CLI printed on stderr

No examples provided.

telegram_setup ~109

For "Not configured", "Session expired" or "Write access is disabled": opens a page on this computer where the USER logs in to Telegram (QR code, 2FA password) and chooses what you may do (read-only, ask before each write, or write freely). Returns the page link: give it to the user and wait for them. You never see their code or password, and you never choose the mode for them. Calling it again returns the same page while it is open.

Input schema present but exposes no named parameters.

NameTypeReqDescription
exitCodeinteger–The CLI's exit code (0 ok, 1 runtime, 2 usage, 4 writes off, 5 not logged in)
outputstringyesThe result as the model reads it: the command's output (its JSON as text with --json), an error or what to do next. The same text as content.
statusstring–approval_required, human_required, nothing_to_do, done, open_page or ready
stderrstring–What the CLI printed on stderr

No examples provided.

telegram_write ~257

Run a telegram CLI command that sends, edits, deletes or changes something (or saves files: download, sync), e.g. ["send","@user","-"] with stdin as the text. Needs write access (mode "ask" after setup; if writes are off, call telegram_setup so the user can choose). In mode "ask" the user approves each write: either the client shows them a dialog, or the result has status "approval_required" with the action and a code (not an error); then show the user that action word for word, and only after their explicit yes call again with the same args, stdin and "approval": "<code>". Writes need an ID, @username or exact chat title.

NameTypeReqDescription
approvalstring–Only in write mode "ask" when the user is not asked by a dialog: the code from the previous result, passed after the user said yes to that exact action in the chat. Never approve on the user's behalf.
argsarrayyesCLI argv, command first, one item per word: ["send","-1004001","-"] (text in stdin)
stdinstring–Text for a "-" argument (message body), avoids quoting issues
NameTypeReqDescription
exitCodeinteger–The CLI's exit code (0 ok, 1 runtime, 2 usage, 4 writes off, 5 not logged in)
outputstringyesThe result as the model reads it: the command's output (its JSON as text with --json), an error or what to do next. The same text as content.
statusstring–approval_required, human_required, nothing_to_do, done, open_page or ready
stderrstring–What the CLI printed on stderr

No examples provided.

Install

How do I install the Better-TG-CLI (Telegram) MCP server?

Better-TG-CLI (Telegram) runs locally as an npm package, launched with npx -y better-tg-cli mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

npm · better-tg-cli

# add to Claude Code
claude mcp add thevilfer-better-tg-cli -- npx -y better-tg-cli mcp
Common questions

What is the Better-TG-CLI (Telegram) MCP server?

Better-TG-CLI (Telegram) is an MCP server listed in the public MCP registry as io.github.TheVilfer/better-tg-cli. Telegram on your own account: read, search, send and press bot buttons. Writes need your approval. This page covers its npm package (better-tg-cli).

Is the Better-TG-CLI (Telegram) MCP server safe to use?

Better-TG-CLI (Telegram) scores 94 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 30 November 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the Better-TG-CLI (Telegram) MCP server expose?

Better-TG-CLI (Telegram) exposes 4 tools: telegram_help, telegram_read, telegram_write, telegram_setup. Their descriptions and schemas cost roughly 600 tokens of context every time the server is loaded.

Is the Better-TG-CLI (Telegram) MCP server still maintained?

Better-TG-CLI (Telegram) is still listed as active in the MCP registry. We last reached this channel on 30 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the Better-TG-CLI (Telegram) MCP server under?

Better-TG-CLI (Telegram) declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

What did VerifyMCP test on the Better-TG-CLI (Telegram) MCP server?

VerifyMCP ran 16 checks on Better-TG-CLI (Telegram), covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to an npm package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.