Railway
One-click deploy
Skip local setup entirely. Provision the full stack, including Postgres, Redis, and volumes, on Railway in a few minutes.
- No local Docker required
- Managed Postgres, Redis, and volumes
- Add or remove connectors anytime
100% Free· Open source · Self-host or hosted
Example of the Claude chat app using the Automata Telegram MCP server. The user asks Claude to catch up on the Launch team Telegram group and confirm Thursday's call. Claude lists the chats in scope, reads 36 messages from Launch team, is refused when it tries to read the Family chat because it is outside the token's scope, then sends a confirmation to Launch team and summarizes the conversation.
The basics
A Telegram MCP server connects your Telegram account to AI assistants through the Model Context Protocol. It gives tools like Claude and ChatGPT a small set of actions, such as listing chats, reading and searching messages, and sending replies, so they can work with your conversations instead of you copying and pasting them.
Automata is a free, open-source Telegram MCP that adds the missing piece: a permission check before every tool call, so the AI only sees the chats you approve.
Why scope matters
Popular open-source servers give the AI every chat, group, and channel, and the ability to message anyone. Automata enforces access chat by chat.
| Capability | Typical Telegram MCP | Automata |
|---|---|---|
| What the AI can read | Every chat, group, and channel on the account | Only the chats you allow on the token |
| Sending messages | Any contact, group, or bot | Only chats with write access, recipient verified first |
| Per-chat permission levels | None | Read, write, or no access for each chat |
| Revoking access | Terminate the session or stop the server | Revoke one token; other clients keep working |
| Remote clients (Claude.ai, ChatGPT) | Usually local stdio only | Streamable HTTP endpoint with bearer tokens |
Token scope
send-telegram-message · search-telegram-messages
Design team
Telegram group
Investor updates
Telegram channel
Family
Telegram group
query · execute
public.orders
PostgreSQL table
public.inventory
PostgreSQL table
private.payroll
PostgreSQL table
Out-of-scope call refused
private.payroll · permission_denied
Run it your way
The control layer protecting your messages and data should not be a black box. Read the code, verify the checks, and deploy Automata wherever your security model requires.
One-click deploy
Skip local setup entirely. Provision the full stack, including Postgres, Redis, and volumes, on Railway in a few minutes.
Free, forever
Run the Nuxt control plane and Postgres on your machine, VPS, or homelab. Add the WhatsApp or Telegram services only when you need those connectors.
Free tier available
Use the same connector and permission model without operating the services yourself. Tell us which messengers and databases you need.
Reference
Five tools, each limited to the chats on the token. Disabled tools are never registered, so the AI cannot even try them.
get-telegram-statusreadChecks that the linked Telegram account is connected before anything else runs.
list-telegram-chatsreadLists only the private chats, groups, and channels the token is allowed to see.
read-telegram-messagesreadPages through message history for one allowed chat, newest first.
search-telegram-messagesreadFull-text search across the allowed chats, never the whole account.
send-telegram-messagewriteSends a text message to a chat with write access after verifying the recipient.
Full parameters are in the MCP tools reference.
Setup
Deploy Automata with the Telegram bridge, add your own API credentials from my.telegram.org, then scan the QR code from Telegram → Settings → Devices → Link Desktop Device.
Create a connector token and set each chat to read, write, or no access. Only the tools you enable are registered.
Paste the endpoint into Claude, ChatGPT, Cursor, or any MCP client. Start with get-telegram-status to confirm it works.
Claude Code
claude mcp add --transport http automata-telegram \
https://your-automata.example.com/mcp/<connector-token>In Claude.ai or Claude Desktop, open Settings → Connectors → Add custom connector and paste the same URL. Clients that prefer headers can use /mcp with Authorization: Bearer. See all clients.
Telegram restricts using chat data for AI unless everyone in a chat has consented, so read the Telegram connection guide before you share a chat.
Use cases
FAQ
A Telegram MCP server exposes your Telegram chats to AI assistants through the Model Context Protocol, so tools like Claude or ChatGPT can list chats, read and search messages, and send replies on your behalf.
Yes. Automata is MIT licensed and free to self-host, including a one-click Railway template. A hosted version is open for signup at mcp.getautomata.app.
No. Automata links a personal Telegram account as an additional device by QR code, so the AI can work with your own chats rather than only the chats a bot has been added to. You create your own API credentials at my.telegram.org.
Telegram restricts using platform data for artificial intelligence except where everyone in a chat has consented, and unofficial clients are monitored more closely, so violations can restrict or ban an account. Review the current Telegram terms, get consent from the people in the chats you share, and consider a test account first.
Yes. Private chats, bots, groups, supergroups, forum topics, and channels are synced, and each one can be allowed or blocked individually on the token. Broadcast channels are skipped unless you turn them on. Secret chats are device-only and never visible.
New messages sync in real time, and a deliberately paced backfill fetches older history up to limits you set per chat and by number of days.
Any client that supports remote MCP servers over HTTP, including Claude (web, desktop, and Claude Code), ChatGPT connectors, Cursor, and custom agents.
Self-host if you want your messages and session on infrastructure you control. Choose hosted if you want the same per-chat permissions without operating the Telegram bridge and Postgres yourself.
Deploy the free Telegram MCP server in minutes. The same token model also covers WhatsApp and PostgreSQL.