Skip to content
mcp/skillhub

Telegram MCP Server

by tolboyio.github.tolboy/telegram-mcp-tdlibv1.17.0

Local-first TDLib Telegram MCP server with 115 tools, account isolation and production guardrails.

9Dockerstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Active11d ago

Install Telegram MCP server

Install in Claude Code

claude mcp add telegram-mcp-tdlib -e TDLIB_API_ID='<tdlib-api-id>' -e TDLIB_API_HASH='<tdlib-api-hash>' -e TDLIB_PHONE_NUMBER='<tdlib-phone-number>' -e TDLIB_AUTH_CODE='<tdlib-auth-code>' -e TDLIB_2FA_PASSWORD='<tdlib-2fa-password>' -- docker run -i --rm -e TDLIB_API_ID -e TDLIB_API_HASH -e TDLIB_PHONE_NUMBER -e TDLIB_AUTH_CODE -e TDLIB_2FA_PASSWORD ghcr.io/tolboy/telegram-mcp-tdlib:1.17.0-stdio

Configuration

VariableRequiredSecretDescription
TDLIB_API_IDyes—Telegram API ID from my.telegram.org
TDLIB_API_HASHyesyesTelegram API hash from my.telegram.org
TDLIB_PHONE_NUMBER—yesTelegram phone number; omit after preparing a persisted session when using QR authentication
TDLIB_AUTH_CODE—yesOne-time Telegram login code for a fresh headless container
TDLIB_2FA_PASSWORD—yesTelegram 2FA password when the account requires it
MCP_READ_ONLY——Keep true for safe first use
MCP_TOOL_PROFILE——Tool surface: reader, inbox, community-admin, research, or all

Freshness

Active — last maintenance signal 11d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-09-29 · 11d ago · GitHub

  2. Latest release

    2026-09-29 · 11d ago · GitHub · v1.17.0

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-09-29 · 11d ago · official registry · v1.17.0

FAQ

›How do I install the Telegram MCP server in Claude Code?

Run: claude mcp add telegram-mcp-tdlib -e TDLIB_API_ID='<tdlib-api-id>' -e TDLIB_API_HASH='<tdlib-api-hash>' -e TDLIB_PHONE_NUMBER='<tdlib-phone-number>' -e TDLIB_AUTH_CODE='<tdlib-auth-code>' -e TDLIB_2FA_PASSWORD='<tdlib-2fa-password>' -- docker run -i --rm -e TDLIB_API_ID -e TDLIB_API_HASH -e TDLIB_PHONE_NUMBER -e TDLIB_AUTH_CODE -e TDLIB_2FA_PASSWORD ghcr.io/tolboy/telegram-mcp-tdlib:1.17.0-stdio. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Telegram require an API key?

Yes. It expects TDLIB_API_ID, TDLIB_API_HASH, TDLIB_PHONE_NUMBER, TDLIB_AUTH_CODE, TDLIB_2FA_PASSWORD, of which 4 are secrets.

›Can I use Telegram as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Telegram in the official MCP registry?

Yes, as io.github.tolboy/telegram-mcp-tdlib.

Alternatives to Telegram

Other communication MCP servers.

View all