Telegram for AI agents.
Telegram integration for AI agents with secure authentication and server-side credential injection. Open Connector runs the OAuth, seals the token in an encrypted vault, and serves Telegram tools to your agent over MCP or a typed API — credentials injected server-side, every call audited, nothing leaving your infrastructure. Open source (AGPL-3.0) and self-hostable.
# Add your Open Connector MCP server (per-user mcp_url)
$ claude mcp add --transport http \
open-connector <your mcp_url>
# Then ask: “open an issue for the launch checklist”// .cursor/mcp.json
{
"mcpServers": {
"open-connector": { "url": "<your mcp_url>" }
}
}const composio = new Composio({
apiKey: "oc_…",
baseURL: "https://connect.acme.com", // your host
});
await composio.tools.proxy({ … });{
"tool": "TELEGRAM_ADD_STICKER_TO_SET",
"arguments": { … }
}Real Telegram actions, managed and audited.
Your user connects Telegram once; your agent can then send messages and photos, edit and delete messages, and block or promote chat members — scoped to the OAuth permissions you grant and the tool allowlist you configure. Every action is least-privilege and written to a tamper-evident audit trail.
- 01Connect
Your user grants Telegram access once (OAuth) — the token lands in the vault.
- 02Call
Your agent calls a tool over MCP or the typed API; Open Connector injects the credential server-side.
- 03Audit
Every routed call appends a hash-chained audit record — nothing leaves your infra.
Supported Telegram tools and triggers.
Browse 50 tools and 1 triggers in the Telegram catalog. Each action uses your configured authentication and tool allowlist.
Showing 50 tools.
- Answer Callback Query
- TELEGRAM_ANSWER_CALLBACK_QUERY
- Send answers to callback queries sent from inline keyboards.
- Messaging
- Approve Chat Join Request
- TELEGRAM_APPROVE_CHAT_JOIN_REQUEST
- Approve a chat join request.
- Member Management
- Ban Chat Member
- TELEGRAM_BAN_CHAT_MEMBER
- Ban a user in a group, a supergroup or a channel.
- Member Management
- Create Chat Invite Link
- TELEGRAM_CREATE_CHAT_INVITE_LINK
- Create an additional invite link for a chat.
- Invites
- Create New Sticker Set
- TELEGRAM_CREATE_NEW_STICKER_SET
- Create a new sticker set owned by a user.
- Stickers
- Decline Chat Join Request
- TELEGRAM_DECLINE_CHAT_JOIN_REQUEST
- Decline a chat join request.
- Member Management
- Export Chat Invite Link
- TELEGRAM_EXPORT_CHAT_INVITE_LINK
- Generate a new primary invite link for a chat.
- Invites
- Get Chat Administrators
- TELEGRAM_GET_CHAT_ADMINISTRATORS
- Get a list of administrators in a chat.
- Chat Management
- Get Chat Member Count
- TELEGRAM_GET_CHAT_MEMBER_COUNT
- Get the number of members in a chat.
- Chat Management
- Get Bot Info
- TELEGRAM_GET_ME
- A simple method for testing your bot authentication token. Returns basic information about the bot in the form of a User object.
- Bot Info
- Get Updates
- TELEGRAM_GET_UPDATES
- Receive incoming updates using long polling. Returns an array of Update objects. Notes: this method will not work if an outgoing webhook is set up.
- Getting Updates
- Get User Profile Photos
- TELEGRAM_GET_USER_PROFILE_PHOTOS
- Get a list of profile pictures for a user.
- Bot Info
- Leave Chat
- TELEGRAM_LEAVE_CHAT
- Use this method for your bot to leave a group, supergroup or channel.
- Chat Management
- Pin Chat Message
- TELEGRAM_PIN_CHAT_MESSAGE
- Add a message to the list of pinned messages in a chat.
- Chat Management
- Promote Chat Member
- TELEGRAM_PROMOTE_CHAT_MEMBER
- Promote or demote a user in a supergroup or a channel.
- Member Management
- Revoke Chat Invite Link
- TELEGRAM_REVOKE_CHAT_INVITE_LINK
- Revoke an invite link created by the bot.
- Invites
- Set Chat Administrator Custom Title
- TELEGRAM_SET_CHAT_ADMINISTRATOR_CUSTOM_TITLE
- Set a custom title for an administrator in a supergroup promoted by the bot.
- Member Management
- Set Chat Description
- TELEGRAM_SET_CHAT_DESCRIPTION
- Change the description of a group, a supergroup or a channel.
- Chat Management
- Set Webhook
- TELEGRAM_SET_WEBHOOK
- Specify a URL and receive incoming updates via an outgoing webhook.
- Getting Updates
- Unban Chat Member
- TELEGRAM_UNBAN_CHAT_MEMBER
- Unban a previously banned user in a supergroup or channel.
- Member Management
- Unpin Chat Message
- TELEGRAM_UNPIN_CHAT_MESSAGE
- Remove a message from the list of pinned messages in a chat.
- Chat Management
- Telegram Message Receivedwebhook
- Triggered when the connected Telegram bot receives a message.
Telegram integration, answered
- How do AI agents use Telegram through Open Connector?
- Your user connects Telegram once with one of its cataloged authentication methods. Open Connector stores the credential in an encrypted vault and exposes Telegram tools to your agent over MCP or a typed API, with credentials injected server-side on each call.
- Is this a Telegram MCP server?
- Yes. Open Connector can serve Telegram as a named MCP server with a scoped allowlist and a per-user connection URL, so any MCP client can call Telegram actions with credentials injected server-side.
- Where do Telegram credentials live?
- In your own infrastructure. Open Connector keeps credentials in its own vault and injects them at call time, so they never leave your environment.
Give your agents Telegram — keep the keys.
Open source, self-hostable, with Telegram credentials that never leave your infrastructure. Run it from source today.