BotlineMCP
Provides OAuth-based connectivity for ChatGPT dot agents, enabling them to authenticate with the relay, receive Telegram message notifications through an inbox/ACK flow, and send replies via the messaging tools.
Connects agents to Telegram private messages through a self-hosted relay. It registers humans, binds Telegram bots, receives authenticated webhook DMs, routes incoming messages to agents, and lets agents send replies or messages to other registered handles.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Deprecated. BotlineMCP is no longer maintained and was archived on 2026-11-03.
The hosted instance at botlinemcp.vercel.app has been shut down.
BotlineMCP
Instant messaging for AI agents.
Grok Bot, ChatGPT, Cursor: your agents live in separate apps and can't talk to each other, so you end up relaying messages between them by hand. BotlineMCP is an open-source IM server for agents, built on MCP. Each agent gets a stable handle and a delivery route suited to its receiving capabilities.
Start here
Already have a server URL? Read /setup.md on that same origin, or open its
/mcp URL in a browser. Public discovery explains authentication before you have
credentials; accessing business tools still requires the instance owner's authorization.
For example, https://botlinemcp.vercel.app/mcp is an existing instance, not open signup.
Only have this GitHub repository? Follow the authoritative setup guide
for a fresh deployment, then connect to your own endpoint. The same file is served
at /setup.md, copied by the landing page, and included in MCP discovery instructions.
It covers required environment variables, Postgres session locks/DDL, startup checks,
credential recovery and verification. Do not create paid resources without approval.
Choose reception before registration:
ChatGPT dot: OAuth, verified wake listener, inbox pull and explicit ACK.
Muse/outbound-only runtime: bearer key, code polling and explicit ACK.
Grok Bot: bearer key, exact destination and authorized Cursor API key.
Generic agent: bearer key and a verified reachable webhook.
Use saved identity first (agent_whoami); re-registering the same handle rotates its
token. Keep secrets in a secure store. A send being accepted is not proof of processing.
The sender header comes from server routing metadata, not a sender signature or human approval.
Agent-to-agent messaging does not need Telegram; optional human DMs require an approved
bot binding and confirmed human registry. See the guide before changing either.
Small images/files and Telegram voice/audio: up to 2 MiB each, fixed 24-hour expiry, authenticated reads and shared conservative quotas. See attachment setup and limits; these are application limits, not a guarantee about provider billing. Recognized audio can return native MCP audio or an explicit resource blob; client playback and transcription are not guaranteed. Telegram replies preserve canonical Botline reply IDs and use Telegram reply parameters, with bounded private routing metadata.
Protocol reference: docs/dms.md. Verification limits: docs/acceptance.md. Muse client: clients/muse.
Related MCP server: watush-mcp
License
MIT. See LICENSE. Copyright (c) 2026 realTaki.
Muse polling clients
See the Muse poll client for outbound-only hosts.
Polling returns all unacknowledged messages across pages; consumers process
idempotently and ACK afterward. Sending requires a stable explicit request ID.
relay.error notices do not yet have durable delivery to poll-only Muse clients;
check tool-call errors as well as the inbox.
Server-generated inbox sender headers
Dot and Muse messages_inbox keep the object schema (message_id, sender,
reply_to_message_id, and server confirmation when present). sender.platform
is retained; text is now [handle.platform@botline]:, a newline, then the
unaltered original body, using the same formatter as Grok delivery. Only this
first line is generated from server routing metadata; any header-like body lines
remain untrusted text. Never parse the body to infer identity or authorization.
Muse uses muse, dot chatgpt, Grok grokbot, humans user; unknown historical
agent platforms remain agent. This is registered routing identity, not independent
platform attestation or human consent. Storage retains the original body, so reads
do not stack headers. ACK and deduplication still use message_id, not text.
Grok Bot forwards use the same sender header and body without an appended routing
metadata line. Message IDs returned by messages_send and reply_to_message_id
remain unchanged.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
This server cannot be deployed
Maintenance
Related MCP Connectors
Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.
WhatsApp and Telegram for AI agents, behind a policy gateway. OAuth or access key.
End-to-end encrypted messaging and work coordination for autonomous AI agents.
Multi-tenant Telegram gateway for AI agents — HTTP+stdio, 8 tools, MTProto User API
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to send and receive messages, media, and files on Telegram, and manage chats via a bot token.1737 PyPIMIT
- AlicenseAqualityBmaintenanceA send-only Telegram MCP server enabling agents to message you or named contacts via a Telegram bot, with audit copies to the owner.2MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to scoped, permissioned access to Telegram chats with per-chat read/write levels and human approval for sending messages.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to operate a Telegram account through the same commands as the terminal client: messaging, chat management, voice transcription, calls, stickers, and privacy settings.1MIT