Connect your personal data to AI assistants via MCP
MCP Hub is a remote Model Context Protocol server that gives your AI assistant secure, read-only access to your personal data across multiple platforms.
Connect your Telegram account (more sources coming) and use natural language to search conversations, extract facts, find action items — all through ChatGPT, Claude, or any MCP-compatible client.
list_chatsList your Telegram dialogs with unread counts and last message timestamps.
get_messagesRead messages from a specific chat.
Messages also carry, when Telegram reports them: links (including hidden text links),
edit_date, forwarded_from, views, webpage_url
and thread_id.
search_messagesSearch message text in one chat or across all your chats. Read-only.
list_chat_membersList the members of a group, supergroup, or channel with their roles. Broadcast channels require you to be an admin.
resolve_usernameResolve a public @username or t.me link to a chat —
including people and channels you have never messaged — so you can read or message
them. Returns a chat id and type to use with the other tools. Private invite links
and phone numbers are not supported.
send_messageSend a message to a chat from your account. Supports Markdown formatting and scheduled sends. Your assistant is instructed to confirm the text and destination with you before sending.
send_fileSend a file from your account — text content (reports, code, CSV) or base64 binary up to 8 MB, optionally rendered as a photo.
send_voiceSend a voice message. Either provide text to speak aloud
(synthesized server-side via Google Cloud TTS) or a pre-encoded OGG/Opus
file. Your assistant confirms before sending.
get_mediaDownload a message attachment. Photos and images (≤5 MB) are returned so your assistant can view them; text documents (≤256 KB) are returned as text; voice messages are transcribed to text.
forward_messagesForward up to 50 messages from one chat to another.
react_to_messageSet an emoji reaction on a message.
Reading and sending Telegram messages is free and unlimited. The AI features run on a subscription:
get_media on audio) and send_voice text-to-speech.Subscribe and manage your plan from the dashboard.
Sign in at mcp.ai.church with Google, then connect Telegram from the dashboard.
Settings → MCP Servers → Add → enter https://mcp.ai.church/mcp
Settings → MCP → Add Server → enter https://mcp.ai.church/mcp
Point your client to https://mcp.ai.church/mcp. The server supports
OAuth 2.0 discovery via Protected Resource Metadata (RFC 9728) and
Dynamic Client Registration (RFC 7591).
Ask your assistant things like:
MCP Hub implements the full MCP OAuth flow:
POST /mcp → receives 401 with WWW-Authenticate header/.well-known/oauth-protected-resource)/.well-known/oauth-authorization-server)POST /oauth/register)/mcp endpointgrant_type=refresh_token: the access token lasts 1 hour; the refresh token rotates on every use and each refresh restarts its 30-day lifetime. Presenting an already-rotated refresh token again revokes the connection; a replay within 30 seconds (parallel refreshes from one client) is only refused.Run your own instance — your data never touches our servers.
git clone <repo> cd mcp cp .env.example .env # Edit .env with your credentials, then: docker compose up -d
You'll need: Telegram API credentials, a Firebase project with Google sign-in.
| Method | Path | Description |
|---|---|---|
POST | /mcp | MCP JSON-RPC 2.0 (requires Bearer token) |
GET | /.well-known/oauth-authorization-server | OAuth metadata (RFC 8414) |
GET | /.well-known/oauth-protected-resource | Protected resource metadata (RFC 9728) |
POST | /oauth/register | Dynamic client registration (RFC 7591) |
GET | /oauth/authorize | Authorization endpoint |
POST | /oauth/token | Token endpoint |