AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

Telegram MCP Server

Community

MCP server by tolboy · updated · ★ 10

Score 61

Local-first TDLib Telegram MCP server with 115 tools, account isolation and production guardrails. Telegram MCP Server is a community project by tolboy, not verified by a company domain.

Yours? Claim it
Maintenance

Last commit 6 days ago

Licence

Apache-2.0: permissive, fine for commercial use

Quality

Clear description, published package or server URL, original repository

Security

Not checked yet. What we check

What you need

SettingNeededWhat it is
TDLIB_API_IDEnvironment variableRequiredTelegram API ID from my.telegram.org
TDLIB_API_HASHEnvironment variable, secretRequiredTelegram API hash from my.telegram.org
TDLIB_PHONE_NUMBEREnvironment variable, secretOptionalTelegram phone number; omit after preparing a persisted session when using QR authentication
TDLIB_AUTH_CODEEnvironment variable, secretOptionalOne-time Telegram login code for a fresh headless container
TDLIB_2FA_PASSWORDEnvironment variable, secretOptionalTelegram 2FA password when the account requires it
MCP_READ_ONLYEnvironment variableOptionalKeep true for safe first use Default: true
MCP_TOOL_PROFILEEnvironment variableOptionalTool surface: reader, inbox, community-admin, research, or all Default: reader

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Install Telegram MCP Server

Built from the published package, never by AI
claude mcp add telegram-mcp-server -e TDLIB_API_ID=YOUR_TDLIB_API_ID -e TDLIB_API_HASH=YOUR_TDLIB_API_HASH -- docker run -i --rm -e TDLIB_API_ID -e TDLIB_API_HASH ghcr.io/tolboy/telegram-mcp-tdlib:1.17.3-stdio

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Telegram MCP Server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the telegram-mcp-server block.

Weekly newsletter

Like Telegram MCP Server? Get the best new MCP servers every week

The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.

No spam. Unsubscribe in one click. Privacy

Alternatives to Telegram MCP Server

All alternatives →

Telegram MCP Server: common questions

How do I install Telegram MCP Server?

In Claude Code run claude mcp add telegram-mcp-server -e TDLIB_API_ID=YOUR_TDLIB_API_ID -e TDLIB_API_HASH=YOUR_TDLIB_API_HASH -- docker run -i --rm -e TDLIB_API_ID -e TDLIB_API_HASH ghcr.io/tolboy/telegram-mcp-tdlib:1.17.3-stdio. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Telegram MCP Server the official server?

Telegram MCP Server is a community project by tolboy, not verified by a company domain.

Is Telegram MCP Server free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Telegram MCP Server safe to use?

It scores 61 of 100. Grades: maintenance A, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.

What are alternatives to Telegram MCP Server?

Similar MCP servers: Vexa, TradingMCP, Agent-Native Brain, Agent-Native Chat.

Does Telegram MCP Server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.