Read and send Slack messages, manage channels and threads — the token-based community server, no admin approval needed.
- Home
- Top MCPs for Communication
- Telegram
Telegram
Read, search and send Telegram messages as your own account — 80+ tools over Telethon, with a read-only mode and a chat allowlist.
Quick answer
What it does
Logs in with an API ID and hash from my.telegram.org plus a session string, then exposes your account's chats, messages, contacts, media and admin rights to the model as tools — `send_message`, `get_messages`, `search_global`, `reply_to_message`, `download_media`, `invite_to_group` and about eighty more.
Best for
- Summarising groups and channels you belong to
- Searching your own message history
- Replying in threads as yourself
- Group and channel admin tasks
Not for
- Bot-style notification channels (use the Bot API)
- Bulk or marketing messaging
Source: top-mcps.com/mcp/telegram — verified Oct 2026
Setup recipe
Pick your client, then follow the three steps.
- 1
Install
Terminal, onceshellgit clone https://github.com/chigwell/telegram-mcp && \ cd telegram-mcp && \ uv syncNot published to a package registry. Build it once, then add it to your client with the command in the other tabs, changing the path to where you cloned it.
claude_desktop_config.jsonjson{ "mcpServers": { "telegram": { "command": "uv", "args": [ "--directory", "/path/to/telegram-mcp", "run", "main.py" ], "env": { "TELEGRAM_API_ID": "${TELEGRAM_API_ID}", "TELEGRAM_API_HASH": "${TELEGRAM_API_HASH}", "TELEGRAM_SESSION_STRING": "${TELEGRAM_SESSION_STRING}" } } } }Paste under mcpServers. Fully quit and reopen Claude after editing.
CLI or .mcp.jsonshell# export TELEGRAM_API_ID=your_api_id # export TELEGRAM_API_HASH=your_api_hash # export TELEGRAM_SESSION_STRING=generated_with_session_string_generator.py claude mcp add telegram -- uv --directory /path/to/telegram-mcp run main.pyRun from your repo. Commit .mcp.json to share with your team.
.cursor/mcp.jsonjson{ "mcpServers": { "telegram": { "command": "uv", "args": [ "--directory", "/path/to/telegram-mcp", "run", "main.py" ], "env": { "TELEGRAM_API_ID": "${TELEGRAM_API_ID}", "TELEGRAM_API_HASH": "${TELEGRAM_API_HASH}", "TELEGRAM_SESSION_STRING": "${TELEGRAM_SESSION_STRING}" } } } }Global path: ~/.cursor/mcp.json. Reload window after editing.
.vscode/mcp.jsonjsonc{ "servers": { "telegram": { "command": "uv", "args": [ "--directory", "/path/to/telegram-mcp", "run", "main.py" ], "env": { "TELEGRAM_API_ID": "${TELEGRAM_API_ID}", "TELEGRAM_API_HASH": "${TELEGRAM_API_HASH}", "TELEGRAM_SESSION_STRING": "${TELEGRAM_SESSION_STRING}" } } } }VS Code uses the "servers" key (not "mcpServers").
~/.codeium/windsurf/mcp_config.jsonjson{ "mcpServers": { "telegram": { "command": "uv", "args": [ "--directory", "/path/to/telegram-mcp", "run", "main.py" ], "env": { "TELEGRAM_API_ID": "${TELEGRAM_API_ID}", "TELEGRAM_API_HASH": "${TELEGRAM_API_HASH}", "TELEGRAM_SESSION_STRING": "${TELEGRAM_SESSION_STRING}" } } } }Open via Cascade → hammer icon → Configure.
cline_mcp_settings.jsonjson{ "mcpServers": { "telegram": { "command": "uv", "args": [ "--directory", "/path/to/telegram-mcp", "run", "main.py" ], "env": { "TELEGRAM_API_ID": "${TELEGRAM_API_ID}", "TELEGRAM_API_HASH": "${TELEGRAM_API_HASH}", "TELEGRAM_SESSION_STRING": "${TELEGRAM_SESSION_STRING}" } } } }Open via the Cline sidebar → MCP Servers → Edit.
~/.continue/config.jsonjson{ "experimental": { "modelContextProtocolServers": [ { "transport": { "type": "stdio", "command": "uv", "args": [ "--directory", "/path/to/telegram-mcp", "run", "main.py" ], "env": { "TELEGRAM_API_ID": "${TELEGRAM_API_ID}", "TELEGRAM_API_HASH": "${TELEGRAM_API_HASH}", "TELEGRAM_SESSION_STRING": "${TELEGRAM_SESSION_STRING}" } } } ] } }Continue uses modelContextProtocolServers with a transport block.
~/.codex/config.tomlshell# ~/.codex/config.toml [mcp_servers.telegram] command = "uv" args = [ "--directory", "/path/to/telegram-mcp", "run", "main.py", ] env = { TELEGRAM_API_ID = "${TELEGRAM_API_ID}", TELEGRAM_API_HASH = "${TELEGRAM_API_HASH}", TELEGRAM_SESSION_STRING = "${TELEGRAM_SESSION_STRING}" }Codex uses TOML. Each server is a [mcp_servers.<name>] subtable.
~/.config/zed/settings.jsonjsonc{ "context_servers": { "telegram": { "command": { "path": "uv", "args": [ "--directory", "/path/to/telegram-mcp", "run", "main.py" ] }, "env": { "TELEGRAM_API_ID": "${TELEGRAM_API_ID}", "TELEGRAM_API_HASH": "${TELEGRAM_API_HASH}", "TELEGRAM_SESSION_STRING": "${TELEGRAM_SESSION_STRING}" } } } }Zed calls them "context_servers". Settings live-reload on save.
ChatGPT → PluginsnoneTelegram doesn't ship a hosted HTTPS endpoint today. ChatGPT supports remote MCP servers only — to use this server in ChatGPT you'll need to deploy it to a public HTTPS URL first (e.g. via Cloudflare Workers or Vercel) or wait for an official remote build.
- 2
Set required secrets
Set
TELEGRAM_API_ID,TELEGRAM_API_HASH,TELEGRAM_SESSION_STRINGin your shell environment before launching your MCP client. - 3
Try a minimum working prompt
Minimum working prompt pending verification. Try any prompt from the MCP’s README once installed.
Tools & permissions
| Tool | Description | Args | Side effects |
|---|---|---|---|
send_message | Send a message to a chat, with classic or rich formatting modes. | — | Write |
reply_to_message | Reply to a specific message. | — | Write |
edit_message | Edit a previously sent message. | — | Write |
send_file | Send a file into a chat. | — | Write |
send_voice | Send a voice message. | — | Write |
download_media | Download media from a message. | — | Read |
list_contact_aliases | List remembered contact aliases. | — | Read |
incoming_feed_status | Check the status of the incoming-message feed. | — | Read |
Security & scope
- Access scope
- Read + write
- Sandbox
- No sandbox. The server holds a logged-in session for your Telegram user account and can do anything that account can, in every chat it belongs to, unless `TELEGRAM_EXPOSED_TOOLS` or `TELEGRAM_ALLOWED_CHAT_IDS` narrows it.
- Gotchas
- The session string is the account. Anyone holding it reads and posts as you until the session is terminated in Telegram's Devices settings.
- The `telegram-mcp` names on npm and PyPI are other projects. Installing either and handing it `TELEGRAM_API_ID`, `TELEGRAM_API_HASH` or a session string gives your account to code this page does not describe.
- Messages, names and button labels are untrusted input. The server sanitises them and marks them as user content, but an agent with write tools enabled can still be steered by a message it reads.
- Telegram flood-limits user accounts, and automated bulk sending can get an account restricted.
Agent prompt pack
— copy into Claude, Cursor, or ChatGPT.Recommend the best MCP servers for [task: e.g. communication work] in [client: Claude]. Constraints: - Prefer tools that are [official | open-source | read-only] — pick what matters for my use case. - Exclude MCPs that require [e.g. a paid plan, OAuth-only flows, remote-only transport]. - Return at most 3 picks, ranked. For each pick include: 1. One-sentence rationale. 2. The ready-to-paste install snippet for my client. 3. Any required secrets I need to create before installing. Cross-check the top-mcps.com listing: https://top-mcps.com/top-mcps-for-communication
Compare Telegram MCP vs [Slack (community) MCP] for the following job: [describe the job, e.g. "let an agent create GitHub issues on bug triage"]. Judge them on: - Setup time and complexity (what a new user hits first). - Auth model (none / API key / OAuth 2.1) and credential risk. - Transport (stdio / Streamable HTTP / SSE) and where the server runs. - Required secrets and the blast radius if they leak. - Operational risk in an unattended agent loop. - Which one is "good enough" for a weekend prototype vs. production. End with one sentence: which should I pick for my scenario, which is: [my scenario]. References: - https://top-mcps.com/mcp/telegram - top-mcps.com listing for Slack (community)
Install the Telegram MCP server for my [client: Claude] at the default config path for that client. Use the exact install snippet published at https://top-mcps.com/mcp/telegram (fetch https://top-mcps.com/mcp/telegram.json for the canonical server.json if you can read URLs). Before finishing: 1. Create the required secrets (TELEGRAM_API_ID, TELEGRAM_API_HASH, TELEGRAM_SESSION_STRING) and put them in the appropriate env block — do not hard-code them. 2. Restart or reload the client so it picks up the new server. 3. Verify the server is connected (green / running state) and at least one tool is listed. 4. If anything fails, read the client's MCP logs and report the exact error — do not silently retry. Confirm when done and list the tools the server now exposes.
Frequently asked questions
What changed
— 4 updates tracked.Entry rewritten. It described a Bot API server with a bot token, and its install command (`npx -y telegram-mcp`) installed a different project (chaindead/telegram-mcp, a Go server with `tg_*` tools). The linked repository, its tool table and its releases are chigwell/telegram-mcp, a Python user-account client; the page now describes that one and installs it the way its README documents.
v3.2.23 released
v3.2.22 released
v3.2.21 released
More Communication MCPs
Other tools in the same category worth evaluating.
Slack's own hosted MCP server — search, send messages, read threads, and manage canvases, gated by workspace admins.
Read and post to Discord channels — community management for AI agents.
Compared with Telegram
Side-by-side breakdowns for the choices people most often weigh against this MCP.
Exploring Top MCPs for Communication? See all Communication MCPs →
