mcp-telegram
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-telegramSend today's sales report using the vendas bot"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-telegram
MCP server that wraps the Telegram Bot API as semantic tools for LLM agents — with multi-bot support for managing multiple agent conversations.
Works with Claude Code, Codex, Claude Desktop, Cursor, VS Code, Windsurf, and any MCP-compatible client.
Prerequisites
Node.js 18+
One or more Telegram bot tokens (create via @BotFather)
Your Telegram chat ID
Variable | Description | Where to find |
| Bot token (one per agent) | @BotFather → |
| Your Telegram user/chat ID | Send |
Multi-bot convention: Each
TELEGRAM_BOT_<NAME>env var registers a bot. The<NAME>becomes the bot identifier used in tools (e.g.,TELEGRAM_BOT_VENDAS→bot: "vendas").
Related MCP server: mcp-telegram
Installation
Claude Code
claude mcp add telegram \
-s local \
-e TELEGRAM_BOT_VENDAS=your-token \
-e TELEGRAM_CHAT_ID=your-chat-id \
-- npx -y github:pauloFroes/mcp-telegramCodex
Add to your codex.toml:
[mcp.telegram]
transport = "stdio"
command = "npx"
args = ["-y", "github:pauloFroes/mcp-telegram"]
[mcp.telegram.env]
TELEGRAM_BOT_VENDAS = "your-token"
TELEGRAM_CHAT_ID = "your-chat-id"Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"telegram": {
"command": "npx",
"args": ["-y", "github:pauloFroes/mcp-telegram"],
"env": {
"TELEGRAM_BOT_VENDAS": "your-token",
"TELEGRAM_CHAT_ID": "your-chat-id"
}
}
}
}Cursor
Add to your .cursor/mcp.json:
{
"mcpServers": {
"telegram": {
"command": "npx",
"args": ["-y", "github:pauloFroes/mcp-telegram"],
"env": {
"TELEGRAM_BOT_VENDAS": "your-token",
"TELEGRAM_CHAT_ID": "your-chat-id"
}
}
}
}VS Code
Add to your .vscode/mcp.json:
{
"servers": {
"telegram": {
"command": "npx",
"args": ["-y", "github:pauloFroes/mcp-telegram"],
"env": {
"TELEGRAM_BOT_VENDAS": "your-token",
"TELEGRAM_CHAT_ID": "your-chat-id"
}
}
}
}Windsurf
Add to your ~/.windsurf/mcp.json:
{
"mcpServers": {
"telegram": {
"command": "npx",
"args": ["-y", "github:pauloFroes/mcp-telegram"],
"env": {
"TELEGRAM_BOT_VENDAS": "your-token",
"TELEGRAM_CHAT_ID": "your-chat-id"
}
}
}
}Available Tools
Messaging
Tool | Description | Key Parameters |
| Send a text message (supports Markdown/HTML) |
|
| Send a photo by URL or file_id |
|
| Send a document/file by URL or file_id |
|
Updates & Management
Tool | Description | Key Parameters |
| Get recent incoming messages for a bot |
|
| List all configured bots with their Telegram info | — |
Use Cases & Examples
"Send today's sales summary via the vendas bot" — Collects data from other MCPs, formats a report, sends via
send_messagewithbot: "vendas""Alert me on Telegram if ad spend exceeds R$500" — Checks Meta Ads data, sends alert via
send_messagewithbot: "ads""Check if Paulo replied to the last notification" — Calls
get_updateson the relevant bot to read recent messages"Send this chart to my Telegram" — Uses
send_photowith the image URL
Authentication
Bot tokens are passed in the URL path per Telegram Bot API convention. No OAuth flow required — each bot token is self-contained.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.
Multi-tenant Telegram gateway for AI agents — HTTP+stdio, 8 tools, MTProto User API
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
Related MCP Servers
- FlicenseAqualityDmaintenanceAn MCP server for interacting with Telegram bots and channels using the Telegraf library. It allows AI agents to send messages, manage channels, forward content, and intelligently respond to Telegram conversations.519 npm8-
- AlicenseAqualityCmaintenanceAn MCP server that lets an LLM send messages, photos, and documents to Telegram through a bot. Provides four tools: get_me, send_message, send_photo, and send_document.4MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for sending and receiving Telegram messages via a bot, enabling AI assistants to interact directly through Telegram by sending messages, reading recent messages, and sending photos.28 npmMIT
- AlicenseNot gradedqualityBmaintenanceMCP server that exposes a Telegram bot over stdio transport, enabling LLM agents to discover each other, announce capabilities, and communicate via messages in shared group chats. It provides tools like whoami, announce, list_agents, ping_agent, send_message, list_chats, get_recent_messages, and wait_for_reply.MIT