Telegram MCP server for AI agents
Broadcast updates to your public and private Telegram channels directly from your AI assistant without running your own BotFather server. PostSyncer’s MCP server offers 118 tools in one list (your client decides which of them it shows) for channel messages, 10-file mixed albums, silent sends, content protection and pinning.
PostSyncer MCP server
https:// postsyncer.com/ mcp- Schedule 4,096-character broadcasts, single media and 2–10 file mixed photo/video albums
- Control disable_notification, protect_content, pin_message, has_spoiler and caption placement
- Guided bot admin connect links — no bot tokens to copy or host yourself
- Cancel anytime
- Unlimited posts on paid plans
Schedule our Friday release announcement to our Telegram channel at 4 PM silently, pin it after delivery, and attach the latte photo and pour video as an album.
- list-workspacesHalden Coffee (#4815)
- list-accountsTelegram @haldencoffee (#16244)
- get-brandLoaded Halden Coffee voice
- list-mediaFound latte-art.jpg (#5118) & rosetta-pour.mp4 (#5120)
- create-postScheduled silent pinned Telegram album #81462
Scheduled your 2-file Telegram album for @haldencoffee on Friday at 4:00 PM with silent delivery and automatic pinning enabled.
01 Quick start
Connect Telegram to your AI agent in three steps
- 1
Connect your AI client
Install the ChatGPT app or Claude plugin, or point Claude Code, OpenClaw, Cursor, Codex or Gemini CLI at
https://postsyncer.com/mcp. - 2
Connect your Telegram channel via bot link
Connect public or private channels inside PostSyncer (or ask your agent to run
create-account-connect-linkwith provider: telegram) by picking the channel in Telegram. - 3
Broadcast digests, albums and pinned updates
Prompt your agent to schedule silent community digests, protect subscriber-only drops, pin release notes or review public channel views.
02 MCP tools
MCP tools for Telegram
Verified PostSyncer MCP tools for Telegram channels — handling bot onboarding links, media albums, silent/pinned broadcasts and public channel view stats.
| Tool | Permission | What it does on Telegram |
|---|---|---|
list-accounts | accounts:read | Locate connected public and private Telegram channel IDs inside a workspace. |
create-account-connect-link | accounts:create | Generate a 7-day connect link; each Open Telegram tap in it lasts 15 minutes and adds the bot to one channel. |
get-brand | brand:read | Read workspace tone before drafting Telegram channel announcements. |
create-post | posts:create / schedule / publish | Draft or schedule Telegram messages, single media and 2–10 file albums with silent, pin and spoiler flags. |
update-postdestructive | posts:update | Edit scheduled Telegram message text, album media or settings before broadcast. |
delete-postdestructive | posts:delete | Cancel scheduled broadcasts or ask Telegram to delete a live channel message. |
get-analytics-post | analytics:read | Read public channel message views (impressions) and reactions (likes). |
get-analytics-account | analytics:read | Track subscriber counts for both public and private Telegram channels. |
03 Prompts and workflows
What to ask your agent on Telegram
High-signal Telegram channel workflows builders, newsletters and community managers automate with PostSyncer MCP.
Schedule a silent overnight changelog broadcast
“Summarize our latest release notes in under 1,000 plain-text characters and schedule it to our Telegram channel for 2 AM silently with pin_message enabled.”
get-brandlist-accountscreate-postBroadcasts cleanly with
disable_notification: true and pins the release summary without waking subscribers.Protect subscriber-only photo albums from forwarding
“Bundle the 4 preview photos in our VIP Drop folder into a Telegram album draft with protect_content and has_spoiler both turned on.”
list-folderslist-mediacreate-postCreates a spoiler-covered, forward-protected Telegram album ready for approval on your calendar.
Cross-post a launch with a Telegram-safe short caption
“Schedule our spring launch video to TikTok, YouTube and Telegram together — use our compressed 12 MB video library ID for Telegram and keep its caption under 900 characters.”
list-accountslist-mediacreate-postPasses Telegram’s compressed asset via settings.media (respecting the 20 MB ceiling) while other networks receive the master clip.
Review public channel views and reaction leaders
“Pull analytics for our last 5 public Telegram channel posts and rank them by views and reactions.”
list-postsget-analytics-postCompares message views (impressions) and reactions (likes) across recent broadcasts.
Telegram channel automation without hosting your own bot
Most DIY Telegram MCP servers require generating a BotFather token, storing secrets locally, looking up numeric chat_ids manually, and writing custom logic for sendMediaGroup vs sendPhoto vs sendMessage. PostSyncer handles all of that through one hosted bot and Streamable HTTP MCP server at https://postsyncer.com/mcp.
When you need to onboard a new channel, your agent can even call create-account-connect-link with provider: telegram to hand the channel owner a connect link that lasts 7 days; each Open Telegram tap in it stays active for 15 minutes and adds PostSyncer’s bot as an admin automatically. Only channels connect (not groups).
Smart guardrails for Telegram’s 20 MB video cap and caption limits
Telegram enforces two distinct text limits — 4,096 characters for text-only broadcasts and 1,024 characters for photo, video or album captions — plus a strict 20 MB ceiling on uploaded videos (5 MB on photos). When an agent schedules or publishes a post exceeding those thresholds, PostSyncer returns a 422 naming the exact limit so the agent shortens the caption or swaps in a smaller file immediately.
Because PostSyncer transmits clean plain text (never unescaped Markdown or HTML), AI-generated posts containing underscores, brackets or code snippets never fail with Telegram formatting errors.
Pinning, album deletion and public vs private analytics
Setting pin_message: true requires the bot’s edit-messages admin right; if Telegram declines the pin, the broadcast still goes out and PostSyncer returns a setting_not_applied diagnostic. Note that delete-post (marked destructive) removes single messages completely, while on multi-file albums PostSyncer deletes only the first item, so remove the rest in Telegram.
PostSyncer does not read Telegram discussion comments. For reporting, public channels expose per-post views (impressions) and reactions (likes), while private channels report telegram_private for per-post metrics and still track subscriber counts accurately via get-analytics-account.
Direct REST API
Triggering Telegram channel broadcasts from backend events? Use the REST API
Integrate Telegram broadcasts, albums, silent sends and pinned updates directly from server code at https://postsyncer.com/api/v1.
REST API base URL
https:// postsyncer.com/ api/ v1Calendar and team review
Every agent post lands on your Telegram calendar
Drafts and scheduled posts created through MCP show up in PostSyncer with full Telegram previews, approval workflows and team notes. If you want a person to review first, leave posts:schedule and posts:publish off the agent's key: it saves drafts, and a schedule or publish call is refused.
AI clients
Connect Telegram to the AI tool you use
Every client reaches the same server at https://postsyncer.com/mcp. Each page has that client’s exact setup steps.
- ChatGPTPlugin directory
- ClaudeDirectory plugin
- Claude CodeTerminal
- Claude DesktopDirectory plugin
- Grok BotCustom connector
- OpenClawCommand line
- CursorInstall link
- OpenBotCustom server
- CodexTerminal
- GrokCustom connector
- Gemini CLITerminal
- AntigravityConfig file
- Any MCP clientThe server address, OAuth and API key options
claude mcp add --transport http postsyncer https://postsyncer.com/mcpLimits and plans
What each plan allows
The Telegram MCP server is on every plan, Free included. Posts created by your AI agent share your plan’s allowance and 60 requests a minute rate limit.
| Plan | Social accounts | Posts | API posts a day, per network |
|---|---|---|---|
| Free | 2 | 20 a month | Within the 20 |
| Starter$29 a month | 10 | Unlimited | Unlimited |
| Pro$49 a month | 30 | Unlimited | Unlimited |
| Agency$99 a month | 100, then $1/mo each | Unlimited | Unlimited |
Every plan: 60 requests a minute for each PostSyncer user, across all their keys, the API and the MCP server together.
401The API key is missing, wrong or past its end date.403The key lacks the resource:action permission, or the plan limit was reached (plan_limit_reached).422A field failed validation or the network’s rules refused a file, setting or text length.429Too many requests: more than 60 in a minute across your user’s keys, API and MCP together.
Docs
Read more in the docs
- Telegram platform guideExact Telegram settings, limits and API behavior
- MCP server overviewStreamable HTTP transport, OAuth and API key sign-in
- Connect your MCP clientSetup commands for ChatGPT, Claude, Claude Code, Cursor and Codex
- MCP tools referenceEvery tool name, argument and required permission
- Agent usage guideRecommended call order and safety rules
All 12 networks
Explore every platform MCP server on PostSyncer
Does Telegram MCP work with Telegram channels or groups?
It works with public and private Telegram channels where PostSyncer’s bot is added as an admin. Telegram groups are not supported.
Can an AI agent send silent, protected or pinned Telegram messages?
Yes. Pass disable_notification, protect_content, pin_message, has_spoiler or show_caption_above_media in accounts[].settings on create-post.
Can my agent publish multi-photo and video albums to Telegram?
Yes. Pass 2 to 10 photos and videos (photos ≤ 5 MB, videos ≤ 20 MB) in content[0].media and PostSyncer sends them as a Telegram media group album.
Does Telegram MCP support Markdown or HTML formatting?
No. Messages are sent as plain text (up to 4,096 characters for text messages and 1,024 for media captions) so posts never break on formatting syntax.
Can my agent read Telegram comments or private channel view stats?
PostSyncer does not read Telegram comments. Public channels report views and reactions per post plus subscriber counts; private channels report subscriber counts via get-analytics-account.
Is Telegram MCP included on the Free plan?
Yes. Every PostSyncer plan includes the MCP server, Free included, within your plan’s accounts and monthly posts.
Broadcast to Telegram channels straight from your AI agent.
Connect https://postsyncer.com/mcp and start scheduling Telegram posts on the Free plan today.
- No card for free
- Cancel anytime
- Unlimited posts on paid plans