telegram-channel-mcp-server
Allows publishing and managing posts in a Telegram channel via the Bot API, including sending text, photos, videos, albums, documents, voice messages, polls/quizzes, paid content, and editing, deleting, pinning, copying, and reacting to messages.
Click on "Install 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., "@telegram-channel-mcp-serverPost a message to our Telegram channel announcing the new release."
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.
telegram-channel-mcp-server
MCP server (stdio) for publishing and managing posts in a Telegram channel via the Bot API. Lets an agent (Claude Code, Claude Desktop, etc.) post text, photos, videos, albums, documents, voice messages, video notes, polls/quizzes and paid content, and edit/delete/pin posts.
Installation
npm install
npm run buildRelated MCP server: Telegram Bot MCP Server
Configuration
Variable | Required | Description |
| yes | Bot token from @BotFather. The bot must be a channel admin with the "Post messages" permission (and the matching rights for editing/deleting). |
| no | Default channel: |
Claude Code
claude mcp add telegram-channel -e TELEGRAM_BOT_TOKEN=123:ABC -e TELEGRAM_CHAT_ID=-1001234567890 -- node /abs/path/telegram-channel-mcp/dist/index.jsClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"telegram-channel": {
"command": "node",
"args": ["/abs/path/telegram-channel-mcp/dist/index.js"],
"env": { "TELEGRAM_BOT_TOKEN": "123:ABC", "TELEGRAM_CHAT_ID": "-1001234567890" }
}
}
}Tools
Tool | What it does |
| Text with HTML/MarkdownV2, link preview control, buttons |
| A single media item with caption, spoiler, buttons |
| Album of 2-10 items as one post |
| Paid post for Telegram Stars |
| Poll or quiz / close it and get the results |
| Change text, caption, media, buttons |
| Delete up to 100 posts |
| Pin / unpin |
| Copy or forward a post from another chat |
| React on behalf of the channel |
| Channel info and subscriber count (read-only) |
Media in every tool is given as a string: a public http(s) URL, an absolute path to a local file (the server uploads it), or a Telegram file_id (returned in the send result, so you can reuse a file without uploading it again).
Buttons are an array of rows: [[{ "text": "Website", "url": "https://…", "style": "primary" }], [{ "text": "Copy", "copy_text": "PROMO" }]]. Exactly one of url / callback_data / copy_text; style: primary | success | danger.
Bot API limitations handled by the server
Albums and video notes cannot carry buttons - send them in a separate message.
In an album
show_caption_above_mediaapplies to all items at once.Paid content works in channels only, 1-10 000 stars.
Polls in channels are always anonymous.
Limits: text 4096 chars, caption 1024, file 50 MB on upload / 20 MB via URL.
Development
npm run dev # run from sources
npm run smoke -- /path/to/img.png # e2e check against a real channel (creates and deletes test posts)
npx @modelcontextprotocol/inspector node dist/index.jsLayout: src/telegram.ts - API client and media resolution, src/schemas.ts - shared zod schemas,
src/format.ts - response formatting, src/tools/* - tools grouped by domain, src/index.ts - entry point.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables interaction with Telegram channels through the Bot API, supporting comprehensive messaging operations including sending text/photos, creating polls, managing reactions, and editing/deleting messages. Provides complete channel management capabilities for automated Telegram bot operations.727MIT
- AlicenseNot gradedqualityBmaintenanceEnables sending Telegram messages, photos, and documents, and retrieving bot information through the Telegram Bot API.581MIT
- AlicenseNot gradedqualityCmaintenanceLets Claude manage a Telegram channel through the Bot API, including tracking subscriber growth and publishing, editing, pinning, or deleting posts.58MIT
- FlicenseNot gradedqualityCmaintenanceEnables publishing posts to a Telegram channel via an MCP tool, designed for scheduled content delivery and integration with Claude.
Related MCP Connectors
Telegram channels you administer: analytics, content plans, scheduled publishing. No userbot
Publish, schedule, and manage social media posts across major platforms via the Postproxy API.
MemberPass MCP — manage projects, plans, members, payments, and analytics for Telegram creators.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/eduard256/telegram-channel-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server