Telegram (user account)
Lets an agent act as your personal Telegram user: read your chats, send messages, and manage contacts via MTProto.
Most bot-style use cases are better served by Telegram Bot. Use this MCP only when you need actual user-account capabilities (private DMs, reading history).
What it can do
- Read chats and message history from your account
- Send messages and media on your behalf
- Manage contacts
How to get credentials
- Go to my.telegram.org and sign in with your Telegram number.
- Open API development tools → Create an application.
- Copy API ID (a number) and API Hash (a 32-char string).
- In FlyMyAI, enter the API ID, API Hash, and your account phone number.
- Telegram sends a login code to your account. Paste it in the second setup step to finish authorization.
Fields to fill in FlyMyAI
| FlyMyAI field | Where it comes from |
|---|---|
API ID | my.telegram.org → API development tools |
API Hash | my.telegram.org → API development tools |
Account Phone | Your Telegram number in international format, e.g. +1… |
Code | Code Telegram sent to your account during setup |
Troubleshooting
- "FLOOD_WAIT" — Telegram rate-limited the account. Wait out the cooldown; retrying sooner only extends it.
- Login code never arrives — make sure the phone number is correct and check your other Telegram sessions for the code.
- Session revoked — you (or someone) logged the session out from Telegram → Settings → Active Sessions. Reconnect the MCP.