Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

claudegram MCP server

by uri6407/claudegramMIT licenceAudited 11 Oct 2026 · source 001d7a2f068c

PyPI claudegramstdio★ 2
!CAUTIONGrade B · 81/100 · 11 Oct 2026 · 001d7a2
2GitHub stars

Is it safe? With care — CAUTION, grade B (81/100). It exposes 133 tools: 88 read, 34 write and 11 destructive. The audit recorded 9 findings (0 critical, 0 high, 8 medium, 1 low). Maintainer's description: Connect your personal Telegram account to Claude Code using the MTProto protocol instead of the Bot API.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “claudegram MCP server (Uri6407/claudegram)”. Retrieved 11 Oct 2026. https://modelsatlas.com/mcp/uri6407/claudegram

Trust audit

Audit 0.4.1 · full source read 11 Oct 2026

Trust score81/100!CAUTION B
0 critical0 high8 medium1 low0 info

9 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared1 observation
  • NetworkNone observedNothing seen in the source
  • ShellDeclared1 observation
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityWARN 1 finding
L1 Static sourceSecrets, path traversal, supply chainWARN 7 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner uri6407User accountAccount type recorded when we read the repository.
  • PackagePublished on PyPIclaudegram, no version recorded
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push1 day agoActivity of the repository when we read it.
  • Source commit read001d7a2f068cThe audit covers exactly this commit, read on 11 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory133 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (9)

Sorted by severity

MEDIUMInventory / provenanceinv.binary · server/tools/peers/Software-v3.4.zip
F-13 Inventory / provenanceCWE-1104Layer L0
Software-v3.4.zip
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMCode injectioncode.dynamic_import · server/tools/advanced/raw.py:45
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
module = importlib.import_module(module_path)
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.homoglyph · server/permission_relay.py:124
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
text += f"\nОтветь:\n  `yes {request_id}` — разрешить\n  `no {request_id}` — запретить"
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.homoglyph · server/prompts.py:30
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
f"4. Дай короткое summary каждого блока (одна-две фразы про suть).\n"
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.homoglyph · server/prompts.py:90
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
f"4. Покажи 5-7 buллетов общим итогом + 3-5 конкретных action items, на которые стоит ответить."
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.zero_width · server/completions.py:32
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
"🥱", "🥴", "😍", "🐳", "❤🔥", "🌚", "🌭", "💯", "🤣", "⚡",
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.zero_width · server/completions.py:34
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
"😴", "😭", "🤓", "👻", "👨💻", "👀", "🎃", "🙈", "😇", "😨",
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
clear_draft, delete_contact, delete_dialog, delete_dialog_filter, delete_dialogs, delete_forum_topic, delete_message, delete_scheduled, delete_stories, terminate_authorization, uninstall_sticker_set
Why
11 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWCode injectioncode.dynamic_import · tests/conftest.py:141
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
mod = __import__(f"server.tools.{path}", fromlist=["get_client"])
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

133 declared in source · 11 destructive

88 read34 write11 destructive

11 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
clear_draftdestructiveОчистить draft в чате (синхронизация на все устройства).
delete_contactdestructiveУдалить пользователя из контактов.
delete_dialogdestructiveПокинуть чат/канал или удалить личный диалог.
delete_dialog_filterdestructiveУдалить кастомную папку диалогов.
delete_dialogsdestructiveУдалить N диалогов одним MCP-вызовом.
delete_forum_topicdestructiveУдалить тему вместе со всеми сообщениями.
delete_messagedestructiveУдалить сообщения. По умолчанию — только у себя.
delete_scheduleddestructiveУдалить отложенные сообщения (до их отправки).
delete_storiesdestructiveУдалить свои истории.
terminate_authorizationdestructiveЗавершить чужую активную сессию по `hash` из get_authorizations.
uninstall_sticker_setdestructiveУдалить стикерсет из аккаунта.
add_contactwriteДобавить пользователя в контакты.
auth_submit_codewriteШаг 2: отправить код (и опц. пароль 2FA).
create_channelwriteСоздать канал (broadcast=True) или супергруппу (megagroup=True).
create_dialog_filterwriteСоздать/обновить кастомную папку диалогов.
create_forum_topicwriteСоздать новую тему в forum-супергруппе.
create_groupwriteСоздать обычную группу с указанными участниками.
edit_chat_aboutwriteУстановить описание чата (about/bio).
edit_chat_photowriteУстановить аватарку чата/канала из файла.
edit_chat_titlewriteПереименовать чат/канал.
edit_forum_topicwriteРедактировать тему: переименовать, закрыть, скрыть.
edit_messagewriteОтредактировать своё сообщение.
get_sticker_setwriteПолучить стикерсет по short_name (например
import_contactswriteМассовый импорт контактов по номерам телефона (без знания Telegram-ID).
install_sticker_setwriteУстановить стикерсет аккаунту.
invoke_rawwriteВызвать произвольный Telegram MTProto-метод через Telethon.
save_draftwriteСохранить серверный draft в чате (синхронизируется на все устройства).
send_albumwriteОтправить альбом из 2-10 фото/видео одной группой.
send_contactwriteОтправить визитку контакта.
send_dicewriteОтправить интерактивный «кубик».
send_filewriteОтправить файл. Telethon сам определит тип (фото/видео/документ).
send_locationwriteОтправить геолокацию.
send_messagewriteОтправить текстовое сообщение.
send_pollwriteСоздать и отправить опрос.
send_scheduled_nowwriteПринудительно отправить отложенные сообщения сейчас.
send_sticker_by_idwriteОтправить стикер по document_id (получи через get_sticker_set).
send_storywriteОпубликовать новую story с фото/видео.
send_video_notewriteОтправить video-кружок (.mp4 → круглое видео ≤60s, диаметр 384px).
send_voicewriteОтправить голосовое сообщение (.ogg/.mp3 → opus voice note).
set_onlinewriteУстановить online/offline статус.
set_privacywriteУстановить privacy для указанного ключа.
set_typingwriteПослать сигнал активности в чат (печатает / записывает / отправляет).
start_botwriteЗапустить бота (отправить /start) с deep-link параметром.
update_profilewriteИзменить отображаемое имя/фамилию/био собственного профиля.
update_usernamewriteСменить @username аккаунта (пустая строка — снять username).
archive_dialogreadПереместить диалог в архив (folder=1).
archive_dialogsreadПеренести N диалогов в архив.
auth_cancelreadОтменить незавершённый auth-flow (если запросил код, но не ввёл).
auth_request_codereadШаг 1: запросить SMS-код у Telegram. Очищает предыдущий auth-state.
ban_participantreadЗабанить участника навсегда — он не сможет вернуться.
block_userreadЗаблокировать пользователя — он не сможет писать.
click_inline_buttonreadНажать inline-кнопку под сообщением бота.
demote_adminreadСнять права админа (все флаги в False).
dialog_statsreadСчётчики диалогов по типам — без payload, 1 запрос.
download_mediareadСкачать медиа из сообщения.
download_profile_photoreadСкачать аватарку юзера/чата на диск или inline (base64 в ответе).
export_chat_invitereadСоздать invite-ссылку на чат/канал.
forward_messagereadПереслать сообщения из одного чата в другой.
get_admin_logreadЖурнал действий админов в супергруппе/канале.
get_all_storiesreadВсе доступные истории из ленты (по подпискам).
get_app_configreadКонфигурация клиента (флаги фич, premium-лимиты, gifts и т.д.).
get_authorizationsreadСписок активных сессий аккаунта (другие устройства/клиенты).
get_blockedreadСписок заблокированных юзеров.
get_chat_inforeadПодробная инфа о любом entity: пользователе/чате/канале/боте.
get_common_chatsreadОбщие чаты с указанным юзером.
get_contactsreadСписок всех контактов аккаунта.
get_countries_listreadСписок всех стран с phone-кодами (для интерфейса добавления контактов).
get_dialog_filtersreadСписок кастомных папок диалогов (Folders в UI Telegram).
get_dialogs_by_idsreadПолучить informация о N конкретных диалогах одним вызовом.
get_draftsreadСписок несохранённых черновиков по всем чатам.
get_forum_topicsreadСписок тем в forum-супергруппе.
get_forum_topics_by_idreadПолучить конкретные темы по их id.
get_full_userreadРасширенная инфа о пользователе (bio, общие чаты, premium, etc).
get_historyreadСообщения чата (новые → старые по умолчанию).
get_history_with_linksreadГибрид: компактные text-блоки + ResourceLink на каждое сообщение.
get_input_peerreadПолучить InputPeer для чата (нужен для raw API вызовов).
get_installed_stickersreadСписок установленных стикерсетов.
get_mereadИнформация о текущем авторизованном пользователе.
get_media_inforeadМетаданные медиа в сообщении (тип, размер, mime, dimensions, duration).
get_nearest_dcreadБлижайший Telegram DC по geo (используется для оптимизации).
get_participantsreadСписок участников группы/канала.
get_password_inforeadИнформация о настроенном 2FA-пароле (включён ли, hint, recovery email).
get_peer_storiesreadАктивные истории конкретного юзера/канала.
get_pinned_storiesreadЗакреплённые (сохранённые в профиле) истории юзера.
get_poll_resultsreadТекущие результаты опроса (количество голосов на вариант).
get_premium_promoreadПромо-материал Telegram Premium (фичи, цены).
get_privacyreadПолучить текущие privacy-настройки для указанного ключа.
get_profile_photosreadСписок фото профиля юзера/группы/канала (метаданные, без скачивания).
get_scheduled_messagesreadСписок отложенных сообщений в чате (которые ещё не отправлены).
get_server_versionreadВерсия Claudegram + Telethon + MCP SDK.
get_stars_balancereadТекущий баланс Telegram Stars (внутренняя валюта).
get_stars_transactionsreadИстория Stars-транзакций (покупки/расходы).
get_statsreadСтатистика канала/супергруппы (только если ты админ).
get_stories_archivereadАрхив моих историй (истёкшие, но не удалённые).
get_stories_by_idreadПолучить конкретные истории по их id.
get_story_viewsreadКто посмотрел мою story.
get_telegram_configreadБазовый конфиг Telegram-сети (DC, лимиты файлов, edit_time_limit и т.д.).
get_top_peersreadТоп часто-используемых контактов в указанной категории.
health_checkreadПроверка работоспособности: соединение с Telegram, валидность сессии.
inline_queryreadСделать inline-запрос к боту (как `@bot query` в любом чате).
join_chatreadВойти в публичный канал/группу (по @username или ссылке-приглашению).
kick_participantreadКикнуть участника из чата (он сможет вернуться).
leave_chatreadВыйти из канала/супергруппы.
leave_chatsreadВыйти из N каналов/супергрупп одним вызовом.
list_botsreadPM-боты в диалогах.
list_channelsreadТолько broadcast-каналы (без supergroup
list_chatsreadСписок всех диалогов (юзеры/боты/группы/каналы — без фильтра).
list_groupsreadГруппы и супергруппы.
list_pm_usersreadЛичные чаты с юзерами (без ботов).
mark_readreadПометить сообщения чата прочитанными.
mark_stories_readreadПометить истории прочитанными до указанного id.
mute_dialogreadЗамьютить уведомления чата.
pin_dialogreadЗакрепить/открепить диалог в шапке списка.
pin_forum_topicreadЗакрепить/открепить тему в шапке.
pin_messagereadЗакрепить сообщение в чате.
promote_adminreadНазначить участника администратором с заданными правами.
react_messagereadПоставить реакцию-эмодзи на сообщение.
reorder_pinned_forum_topicsreadПереставить порядок закреплённых тем.
resolve_usernamereadНайти entity по @username и вернуть инфу + id.
restrict_participantreadОграничить права участника супергруппы (read-only mute и т.п.).
search_globalreadГлобальный поиск по юзерам/чатам/каналам по имени или @username.
search_messagesreadПоиск сообщений по тексту глобально или в чате.
search_sticker_setsreadПоиск стикерсетов по имени (Telegram-каталог).
summarize_chatreadРезюме последних N сообщений чата через LLM-вызов клиента.
toggle_forum_modereadВключить/выключить forum-режим (темы) в супергруппе.
toggle_pinned_storiesreadЗакрепить/открепить мои stories в профиле (доступно бессрочно).
transcribe_audioreadТранскрибировать голосовое в текст (Telegram Premium фича).
unarchive_dialogreadВернуть диалог из архива в основной список (folder=0).
unban_participantreadСнять бан с участника.
unblock_userreadРазблокировать пользователя.
unmute_dialogreadСнять mute с чата (вернуть дефолтные настройки).
unpin_messagereadОткрепить одно сообщение или все pinned в чате.
vote_pollreadПроголосовать в poll.

Install

audited commit 001d7a2

Read the findings first. The most severe is Inventory / provenance (medium) at server/tools/peers/Software-v3.4.zip.

One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit 001d7a2 only.

claude mcp add claudegram -- uvx claudegram

The command does not pin a version; the audit covers commit 001d7a2f068c. Transport: stdio. No environment variables required.

Audit history

  1. !CAUTION B 81 / 100

    First audit · 001d7a2f068c

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/uri6407/claudegram/badge.svg)](https://modelsatlas.com/mcp/uri6407/claudegram/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about claudegram MCP server

What is the claudegram MCP server?
Connect your personal Telegram account to Claude Code using the MTProto protocol instead of the Bot API.
What tools does claudegram expose?
133 in total: 88 read-only, 34 that write, and 11 that can delete or overwrite (clear_draft, delete_contact, delete_dialog, delete_dialog_filter, delete_dialogs). Every one is listed on this page with its risk.
Is claudegram safe to connect to an agent?
With care. The audit graded it B (81/100) and found 9 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 11 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does claudegram need?
No credential environment variables were found in its source, so it appears to need none.
How does claudegram run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as claudegram.
How current is this page?
The grade is for one exact copy of the source (001d7a2f068c), read on 2026-10-11. The repository is watched and re-audited when it changes.

Sources

  • Uri6407/claudegram on GitHub — the source we read, its licence, stars and activityObserved · 11 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit 001d7a2f068cObserved · 11 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.