Telegram MCP Server
io.github.tolboy/telegram-mcp-tdlib·v1.18.1·13 starsLocal-first TDLib Telegram MCP server with 116 tools, account isolation and production guardrails.
13 stars
Reviews
Write oneNobody has reviewed Telegram MCP Server yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Telegram MCP Server tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-11-01 · same rubric, same numbers if you re-run it
- –Code scanpackage could not be scannedn/a
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Telegram MCP Server compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 73/100
- higher than 40% of 48,273 servers
- GitHub stars
- 13
- more than 89% of 28,534 servers
Release history: 8 versions in the registry since 2026-08-22, latest 2026-11-01, typically one every 6 days.
Install Telegram MCP Server in Claude Code, Cursor or VS Code
claude mcp add telegram-mcp-tdlib -- docker run -i --rm ghcr.io/tolboy/telegram-mcp-tdlib:1.18.1-stdio
What the publisher says
From the Telegram MCP Server repository's README, as published. We do not edit it. Read it on GitHub
Telegram MCP Server
Telegram MCP for real accounts — safe by default, TDLib-powered, production-ready.
A local-first Model Context Protocol server that gives an AI agent real Telegram-account access without handing it the keys to your account. It starts read-only, hides write tools until you opt in, and runs over STDIO for desktop clients or Streamable HTTP at /mcp for managed deployments.
Why this one?
write and quota-consuming tools are hidden from the model, not merely blocked, until you turn them on.
- Safe by default — boots in read-only mode with a small inbox/reader profile;
first: through the MCP host where elicitation exists, otherwise on a single-use loopback page this server hosts. Either way the question leaves and the answer returns outside the model's turn, so an injected instruction can make the model request a ban, not approve one.
- Human approval that does not depend on your client — destructive tools ask a person
can read and act on your actual account, not only a Bot API subset.
- Real user accounts, not just bots — built on TDLib (via tdlight-java), so an agent
scoped API keys; reads never fan out across accounts.
- Isolated multi-account — each account gets its own session, mandatory selection, and
for a managed service.
- Two transports — STDIO for Claude Desktop / Cursor / VS Code / Codex, Streamable HTTP
Apple-silicon macOS, with checksums, an SBOM, and signed container digests.
- No JDK to install — runtime-inclusive release bundles for Windows, Linux x64/ARM64, and
The image is an illustrative mockup; a real screencast is on the way.
Safe first run
Runtime-inclusive releases need no JDK, Gradle, Git, Python, or Node.js. Use a test account for your first run if you can.
1. Install (macOS Apple silicon / Linux with Homebrew):
brew install --formula https://github.com/tolboy/telegram-mcp-tdlib/releases/latest/download/telegram-mcp.rbWindows with Scoop:
scoop install https://github.com/tolboy/telegram-mcp-tdlib/releases/latest/download/telegram-mcp.json2. Log in with a QR scan — the one-time code never touches your shell history:
telegram-mcp auth --method qr3. Check the session is ready — this reads local state and starts no server:
telegram-mcp session doctorDo not run serve --transport stdio yourself to try it out. With STDIO your AI client starts the server and owns its lifetime; a copy you launched in a terminal holds the TDLib session, and the client's own copy then exits with code 2 because it cannot lock td.binlog. Give the command to the client instead (below) and let it do the starting.
Then try a first prompt that cannot change anything:
“Summarize my last 20 conversations. Do not send or modify anything.”
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Telegram MCP Server: common questions
- Is Telegram MCP Server safe?
- Mostly: it is graded B (73/100). Read the Telegram MCP Server safety report
- How do I install Telegram MCP Server?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Telegram MCP Server need an API key?
- Yes. The registry entry asks for
TDLIB_API_HASH,TDLIB_PHONE_NUMBER,TDLIB_AUTH_CODE,TDLIB_2FA_PASSWORD. - Is Telegram MCP Server maintained?
- The last commit was in the last day (2026-11-01). The latest release is v1.18.1.
- How does Telegram MCP Server compare with other MCP servers?
- safety score 73/100 (higher than 40% of 48,273 servers); github stars 13 (more than 89% of 28,534 servers). Full comparison.