Tg MCP Server

tg-mcp npm v1.3.0

Published by an unidentified publisher — no publish provenance and no public repository, so the publisher could not be verified and the source cannot be independently located.

Local MCP server for your Telegram personal account — channels, digests, messaging, folders and more.

Trust grade
B
86/100
Last scanned get badge →
Trust
B · 86/100
Adoption risk for you: the threat score, then adjusted down for blast radius, publisher verification and how much the scan could see. Deterministic; every point is auditable.
Capability
High
Blast radius if it went rogue — what the server’s tools could reach. Independent of trust.
Coverage
Source
How much the scan could actually inspect. Shallow coverage is stated, never hidden.
Share this Trust Score
𝕏 Share LinkedIn Reddit
B Why this grade threat 94 − adoption risk = 86/100

The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.

1. Threat score — 100 − 6.3 = 94. What the published surface and source actually contain:

PointsWhat was foundCategory
−6.3 Untrusted input concatenated into a command sink MTC-SRC-009 injection

2. Client adoption risk — 94 − 8 = 86. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:

PointsAdoption-risk factor
−6 capability blast radius (high) — client exposure if the model is manipulated
−2 publisher verification (unlinked) — no provenance/repo link, but the shipped source was fully read

Capability observations and info notes are shown under Findings but never scored. Open any row's finding below for the file, line and evidence behind a deduction.

Findings 2

high Shell/command execution in server code (dist/shared/device-model.js)MTC-SRC-002

In the server's implementation (`dist/shared/device-model.js:1`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: { execSync } from "node:child_process"; import { readFileSync } from "node:fs"; import { NodePlatform } from "@mtcute/no

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/shared/device-model.js

medium Untrusted input concatenated into a command sink (dist/shared/device-model.js)MTC-SRC-009

In the server's implementation (`dist/shared/device-model.js:20`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: = normalizeDeviceModel(execSync(`powershell -NoProfile -Command ${JSON.stringify(script)}`, { encoding: "ut

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/shared/device-model.js

Tools 21

Each tool and what it can reach — statically extracted from the published source.

  • tg_send_messagenetwork egress
  • tg_archive_chatsno sensitive capability
  • tg_create_channelno sensitive capability
  • tg_create_folderno sensitive capability
  • tg_edit_folderno sensitive capability
  • tg_get_dialogsno sensitive capability
  • tg_get_foldersno sensitive capability
  • tg_get_messagesno sensitive capability
  • tg_get_post_commentsno sensitive capability
  • tg_get_recent_from_channelsno sensitive capability
Show 11 more tools ↓
  • tg_get_recent_from_folderno sensitive capability
  • tg_get_similar_channelsno sensitive capability
  • tg_join_channelno sensitive capability
  • tg_leave_channelno sensitive capability
  • tg_mute_chatsno sensitive capability
  • tg_search_channelsno sensitive capability
  • tg_search_in_folderno sensitive capability
  • tg_search_messagesno sensitive capability
  • tg_set_channel_titleno sensitive capability
  • tg_unarchive_chatsno sensitive capability
  • tg_unmute_chatsno sensitive capability

What this scan could not see

Versions 1

Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.

VersionScoreFindingsEngineScanned
v1.3.0 latest B 86/100 2 1.13.0 2026-09-07

Embed this score

Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.

MCP Trust Score: B · 86/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/tg-mcp/badge.svg)](https://mcptrustchecker.com/registry/tg-mcp)
HTML
<a href="https://mcptrustchecker.com/registry/tg-mcp"><img src="https://mcptrustchecker.com/registry/tg-mcp/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/tg-mcp/badge.json via https://img.shields.io/endpoint?url=…

Verify this score yourself

The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.

npx mcptrustchecker scan tg-mcp --online

Use the free API → How scoring works

More in Communication & Collaboration