Skip to content
Postlyra.app
All guides

Claude Telegram MCP: draft, preview and publish a post

Connect Postlyra to Claude through remote MCP and OAuth. Save a rich draft, review its preview and publish to your chosen Telegram channel.

Updated:

Connect AI

Prepare your channel in Postlyra

Sign into Postlyra and add a Telegram channel or group under Connections. The bot needs publishing rights. Claude works with drafts and destinations in this Postlyra account; connecting it does not expose your personal Telegram conversation history.

Add Telegram MCP to Claude

In Claude, open Customize → Connectors and add a custom connector named Postlyra. Your workspace may require an organization owner to set it up. Use remote HTTP MCP with OAuth. If an OAuth client choice appears, select Register automatically: Postlyra supports dynamic registration.

  1. Enter https://postlyra.app/mcp as the server URL.
  2. Connect your account: complete Postlyra sign-in and approve the required actions on the OAuth screen.
  3. Enable the connector in your conversation and ask for list_channels. Check your connected destination and rights.

Alternative: Claude Code

For Claude Code, run: claude mcp add --transport http --scope user postlyra https://postlyra.app/mcp. Then open /mcp and complete authorization. This configures a separate client; do not paste the command as a Claude chat request. Verify that its tools load before working.

Create a rich draft and review its preview

Ask your AI to read Postlyra’s formatting capabilities, structure your material and save it as a draft. Headings, lists and tables are document blocks. Plain text with formatting characters does not replace that structure. The saved draft is available in the same account in your browser and Telegram Mini App.

  1. Supply your source text and links; specify which facts must stay unchanged.
  2. Ask to see the preview. Check the text, block order, media and validation errors.
  3. When editing an existing document, preserve its other blocks and preview it again.

Publish to a named connected Telegram channel

Read list_channels and check the exact destination name first. After reviewing the draft, give a separate instruction such as: “Publish the reviewed Weekly recap draft now to the connected channel Studio news.” Studio news is an illustrative name; replace it with yours. Publishing sends the material; saving or previewing a draft does not. The bot needs publishing rights.

  1. Check the draft version, destination and mandatory Postlyra attribution.
  2. Ask for the operation result. queued or retrying means pending, rather than delivered.
  3. If the status is unclear, check the publication and Telegram channel before sending again.

Schedule with an exact date and time zone

To schedule a publication, specify the reviewed post, connected channel, future date, time and zone. For example: “Schedule this draft in Studio news on [date] at 10:00 Europe/London; show the scheduled entry.” Replace the date and channel with yours. Your AI supplies an exact timestamp with a UTC offset. Check the publication list or the Postlyra calendar. Later draft edits do not automatically update the saved version of a scheduled publication.

A prompt for your AI client

Use Postlyra. Read its formatting capabilities first. Turn my text below into a draft titled Weekly recap: a heading, a short introduction, a news list and source links. Preserve the facts; do not invent dates or numbers. Show the preview and its review link. Do not publish yet.

My text: [paste your material and links]

Frequently asked questions

Can this Telegram MCP read my personal chats?

This public MCP works with your Postlyra content and connected destinations. It does not provide personal conversation history or MTProto automation of your Telegram user account. Those workflows need a different integration.

Why is my connected channel missing?

Check that you signed into the same Postlyra account where the channel is connected. Review Connections, the destination and bot rights, then call list_channels again. An empty list does not mean your AI has read all your Telegram chats.

What if tools or OAuth do not load?

Check https://postlyra.app/mcp, remote HTTP MCP and OAuth support in your client, workspace permissions and completion of authorization. Reconnect if permissions have changed. In Claude, choose automatic registration when an OAuth client option is shown. You can revoke access in Postlyra security settings.

Do I need AI, and how do I check the final layout?

No. You can edit the draft in your browser or Mini App. The preview helps check the document; final rendering depends on the Telegram client. For important formatting, first send the reviewed post to your own test channel. Image and interactive card display inside an AI conversation depend on the client; use the preview link when needed.

Connect AI