Connect Telegram to Codex

To use Telegram in Codex, connect your Telegram account in Manyplug and add Manyplug to Codex once. Codex then gets 7 Telegram tools, for example: “List chats”, “Search messages”, and “Read a chat”. It takes about 4 minutes and works on the free plan.

Connect Telegram Free plan, no card

1. Connect Telegram in Manyplug

Click “Connect Telegram” and paste the key or app password into Manyplug’s form:

A bot token from @BotFather. Takes about two minutes.

  1. Open @BotFather in Telegram and send /newbot (or /mybots if you already have a bot).Open @BotFather
  2. Pick a name and a username. BotFather replies with a token like 123456:ABC-…
  3. Paste the token into the form. The hub checks it and starts receiving messages.
  • A bot only sees chats where people wrote to it and cannot start a conversation.
  • To let the bot read group messages, turn off Group Privacy for it in @BotFather.
  • With Telegram Premium the bot can also handle your personal chats: Settings → Telegram Business → Chatbots, pick the bot and allow it to reply. Replies are sent as you.

2. Add Manyplug to Codex

Codex CLI and the IDE extension.

  1. Add the server to ~/.codex/config.toml.
    [mcp_servers.manyplug]
    url = "https://manyplug.com/mcp"
  2. Run codex mcp login manyplug and sign in in the browser.

Full guide: Codex

3. Ask Codex

  • What did people write to the bot today?
  • Find messages about delivery from this week.
  • Tell Anna the invoice comes tonight.

What Codex can do in Telegram

Each action can be turned off per account, and changes can wait for your OK.

ActionAccess
List chats
Telegram chats, most recent first, with unread counters.
Reads
Search messages
Searches all chats or one chat by words, sender and dates.
Reads
Read a chat
Latest messages of a chat; page back for older ones.
Reads
What's new
New messages since the last check, without repeats.
Reads
Send a message
Writes to a chat through a queue: human-like pauses and typing, never twice. Files can be attached by link. A first message to someone new needs your OK.
Risky
Mark as read
Marks every message of a chat as read.
Makes changes
Attachment
Downloads a file from a message; the AI can look at photos and listen to voice messages.
Reads

Questions

Can I connect two Telegram accounts to Codex?
Yes. Connect each one in Manyplug under its own name, for example Work and Personal. Codex can use one of them or all at once.
Will Codex change anything in Telegram without asking?
By default these actions wait for your approval before they run: “Send a message”. Other changes follow your rules, which you can make stricter per account.
Do I need an official Telegram MCP server for this?
No. Manyplug connects to Telegram itself with a key or app password you paste into its form, and gives Codex the tools through one MCP address, together with your other services.
Is it free to connect Codex to Manyplug?
Yes. New workspaces get 14 days of Pro free, then the free plan keeps going with 150 actions a month and up to 3 connected accounts. No card needed. Paid plans start at $5 a month.
Does Codex see my passwords or API keys?
No. Keys are entered on Manyplug’s own pages, stored encrypted with a separate key per account, and the AI only receives tool results.

More services for Codex

AirtableBases and tables: find and write records.AsanaTasks and projects: list, add, complete.BitbucketPull requests, reviews and pipelines.BrevoContacts, lists, campaigns, emails.Cal.comBookings and event types.CalendlyBooked meetings and booking links.ClickUpYour tasks, lists and statuses.CloudflareDNS records and cache purges.ConfluenceSearch and read pages, write new ones.Email (IMAP/SMTP)Any IMAP/SMTP mailbox: iCloud, Fastmail or your company mail.FigmaFiles, frames, exports, comments.FreshdeskTickets, customer replies, notes.GitHubRepositories, issues and pull requests.GitLabIssues and merge requests.GmailSearch, read, draft and send email.Google CalendarEvents, free time, invitations.Google DriveFind files and read documents.Google SheetsRead and write cells, append rows.HTTP APIAny REST/JSON API by its address and key, no code.HubSpotContacts, companies and deals.IntercomCustomer conversations and contacts.JiraIssues by JQL, create, change status, comment.LinearTeam issues: find, create, change status.MailchimpSubscribers, tags, campaign reports.monday.comBoards, items, statuses and updates.NotionPages and databases: search, read, write.PipedriveDeals, people and organizations.SentryErrors, stack traces, resolving issues.SlackChannels, message search, posting.StripePayments, customers, invoices and refunds.TodoistTasks and projects: list, add, complete.TrelloBoards, lists and cards.TypeformForms and their responses.VercelDeployments, build logs, domains.WebflowCMS: drafts, edits, publishing.WhatsAppA WhatsApp Business number through the official API: chats, search, replies.WordPressPosts, drafts, publishing, comments.ZendeskTickets, customer replies, notes.