fast-mcp-telegram: Instructions file for Claude Code

CLAUDE.md

fast-mcp-telegram CLAUDE.md is an instructions file for Claude Code from leshchenko1979/fast-mcp-telegram. It costs 986 tokens per session, scanned A, original, MIT.

Project instructions stored in a CLAUDE.md file for fast-mcp-telegram, a Telegram integration that exposes functions to AI agents through MCP. They record the correct repository and package references, setup details, and testing guidance.

In plain words
What is it for?
Use them when developing, documenting, configuring, or testing fast-mcp-telegram and its session access rules.
Why use it?
They prevent agents from using outdated project links and explain limitations of testing access controls through certain MCP connections.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is leshchenko1979/fast-mcp-telegram's own configuration. It tells Claude Code how to work on fast-mcp-telegram itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fast-mcp-telegram configures →

Reuse

Borrowing it

Nothing to install: this file belongs to leshchenko1979/fast-mcp-telegram. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/leshchenko1979/fast-mcp-telegram/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/leshchenko1979/fast-mcp-telegram

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fast-mcp-telegram CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/leshchenko1979/fast-mcp-telegram/claude-md/github.svg)](https://agentmods.dev/instructions/leshchenko1979/fast-mcp-telegram/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/leshchenko1979/fast-mcp-telegram/claude-md"><img src="https://agentmods.dev/badge/instructions/leshchenko1979/fast-mcp-telegram/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fast-mcp-telegram CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/leshchenko1979/fast-mcp-telegram/claude-md"><img src="https://agentmods.dev/badge/instructions/leshchenko1979/fast-mcp-telegram/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 986 This file is loaded in full into every session.
When invoked 986 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00986 $0.00986
Opus 5.5 $0.00394 $0.00394
Sonnet 5.5 $0.00197 $0.00197
Haiku 4.5 $0.00099 $0.00099

Measured 1mo ago against content hash 3cb5faa1d247, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fast-mcp-telegram CLAUDE.md scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Correct approach**: ACL is not viable through Cursor MCP (stdio has no ACL; URL MCP uses a fixed bearer; stale MCP subprocesses). Use `pytest tests/test_session_acl.py tests/test_mcp_tool_acl_integration.py`, HTTP cu
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

CLAUDE.md · 48 lines

How it starts

The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.

fast-mcp-telegram

Canonical GitHub repository: https://github.com/leshchenko1979/fast-mcp-telegram

Canonical Python package: fast-mcp-telegram on PyPI (https://pypi.org/project/fast-mcp-telegram/).

Canonical MCP registry name: io.github.leshchenko1979/fast-mcp-telegram

Owner order 2026-09-26: the leshchenko1979 account is the canonical location. This reverses the guidance that stood here, which was written while that account was suspended and told agents to avoid its owner name on every surface. The account is live again and now carries origin, CI, the issue tracker and all current pushes.

The previously used owner account is superseded: do not push to it, file against it, or use its owner in new links, image names or registry manifests. Which listings and packages still exist under it, and which duplicates still need deprecating, is recorded in docs/published-resources.md.

Repository identity and published artifacts are separate things: the GHCR packages under both owners stay pullable, and both owners' MCP registry and Glama listings are live, so a duplicate listing is deprecated in its own console rather than assumed gone.

PyPI remains a stable pointer regardless of which GitHub owner is canonical.

Telegram MCP server (stdio, http-no-auth, http-auth). Full setup, ACL matrix, and dev workflow: CONTRIBUTING.md.

Session Corrections

2026-05-27

  • Issue: Tried ACL live testing via Cursor MCP (telegram-dev or http-auth URL with fixed Authorization)
    • Correct approach: ACL is not viable through Cursor MCP (stdio has no ACL; URL MCP uses a fixed bearer; stale MCP subprocesses). Use pytest tests/test_session_acl.py tests/test_mcp_tool_acl_integration.py, HTTP curl against a local http-auth server, and scripts/acl_mcp_smoke.sh (reads bearer tokens from acl.dev.yaml, not hardcoded placeholders) — see CONTRIBUTING.md § ACL development and testing
  • Issue: Started http-auth ACL server from wrong cwd, or source .env.local in zsh for MTPROTO_PROXY
    • Correct approach: Start the server from the project root so Python loads .env / .env.local via dotenv; do not source .env.local in zsh — proxy URLs with & break shell parsing
  • Issue: Assumed ACL applies in stdio or without per-bearer sessions
    • Correct approach: ACL enforces only with SERVER_MODE=http-auth and ACL_ENABLED=true; each bearer in acl.dev.yaml needs a matching {token}.session via http://127.0.0.1:8765/setup
  • Issue: Expected connection.py stdio fix without restarting Cursor MCP
    • Correct approach: After changing server code used by telegram-dev, restart telegram-dev in Cursor’s MCP panel — stale subprocess keeps old behavior
  • Issue: Risk of committing real ACL bearer tokens
    • Correct approach: Keep acl.dev.yaml gitignored; never commit real bearer tokens (template only: acl.dev.yaml.example)
  • Issue: "Repeat the sourcery-pr-cycle" interpreted as running another full PR → Sourcery → fix loop
    • Correct approach: User may mean publish/commit the skill to master, not re-execute the review cycle. Confirm intent when ambiguous.
  • Issue: Treated phase closeout as blocked until all follow-up PRs merge, or assumed phase 1 code cannot land on master while follow-ups are open
    • Correct approach: Phase 1 code can be on master while follow-up PRs (e.g. #56) remain open; closeout means merge all blocking follow-ups first, not every open PR.
  • Issue: Posted Telegram release announcement before release CI finished
    • Correct approach: After gh release create, verify CI/checks are green on the release tag or master commit (gh run list, gh release view); do not post Telegram until release is published and CI is green unless the user explicitly overrides — see release-notes skill

Read the full file on GitHub · 48 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +14 lines · +104 tokens per session 3cb5faa1d247
  2. 1mo ago First seen · 34 lines · 882 tokens per session scan A a8d9aa37aed3

Subscribe to this mod's changes

fast-mcp-telegram CLAUDE.md is an instructions file published in the GitHub repository leshchenko1979/fast-mcp-telegram (50 stars, last pushed 8d ago), licensed MIT. It adds 986 tokens to every session, about $0.0039 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.