Telegram API MCP server for accessing user data, dialogs, messages, and managing read status.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent ā or use 1-click editor setup below.
We ran the install command below but it didn't respond within our test window ā this can mean a slow first-time install rather than a real problem.
npx -y @chaindead/telegram-mcpNo response to initialize.
This is an experimental automated check and can have false negatives ā missing environment variables, a slow cold install, etc. It doesnāt necessarily mean somethingās wrong. Last checked 1mo ago.
š” Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Telegram MCP.
The server is a bridge between the Telegram API and the AI assistants and is based on the Model Context Protocol.
[!IMPORTANT] Ensure that you have read and understood the Telegram API Terms of Service before using this server. Any misuse of the Telegram API may result in the suspension of your account.
The Model Context Protocol (MCP) is a system that lets AI apps, like Claude Desktop or Cursor, connect to external tools and data sources. It gives a clear and safe way for AI assistants to work with local services and APIs while keeping the user in control.
tool: tg_me)tool: tg_dialogs)tool: tg_read)tool: tg_dialog)tool: tg_send)Here are some example prompts you can use with AI assistants:
You can install a binary release on macOS/Linux using brew:
You can run the latest version directly using npx (supports macOS, Linux, and Windows):
When using NPX, modify the standard commands and configuration as follows:
For complete setup instructions, see Authorization and Client Configuration.
Note: The commands below install to
/usr/local/bin. To install elsewhere, replace/usr/local/binwith your preferred directory in your PATH.
First, download the archive for your architecture:
Then install the binary:
Note: The commands below install to
/usr/local/bin. To install elsewhere, replace/usr/local/binwith your preferred directory in your PATH.
First, download the archive for your architecture:
Then install the binary:
.zip filetelegram-mcp.exe to a directory in your PATHRequirements:
Before you can use the server, you need to connect to the Telegram API.
Get the API ID and hash from Telegram API
Run the following command:
Note: If you have 2FA enabled: add --password <2fa_password>
Note: If you want to override existing session: add --new
š© Enter the code you received from Telegram to connect to the API.
Done! Please give this project a āļø to support its development.
Example of Configuring Claude Desktop to recognize the Telegram MCP server.
Open the Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNote: You can also find claude_desktop_config.json inside the settings of Claude Desktop app
Add the server configuration
for Claude desktop:
for Cursor:
Some MCP clients (e.g. VS Code) do not support JSON Schema Draft 2020-12 and will reject tools that use it. You can override the JSON Schema version by setting the --schema-version flag or the TG_SCHEMA_VERSION environment variable.
Common values:
| Version | URL |
|---|---|
| Draft-07 (recommended for VS Code) | https://json-schema.org/draft-07/schema# |
| Draft 2020-12 (default) | https://json-schema.org/draft/2020-12/schema |
Factual signals from GitHub, npm, and our automated checks ā not a rating.
No reviews yet ā be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/chaindead-telegram-mcp)<a href="https://allmcps.com/mcp/chaindead-telegram-mcp"><img src="https://allmcps.com/api/badge/chaindead-telegram-mcp?style=directory" alt="Telegram MCP on AllMCPs" /></a>