telepath

Setting up Telepath

About five minutes, in two parts

There are two halves to this, and both are needed: you add our bot to your Telegram Business account, then you connect Telepath in your assistant. Doing only the first is the most common mistake — Telegram will look connected while your assistant still sees nothing.

Telegram Premium is required. Chatbots live under Telegram Business, which is a Premium feature — there is no way around it, and it is Telegram's subscription, not ours.

Part 1 — Telegram

Add the bot to your Business account

1

Open Telegram Business

In Telegram, go to Settings and open Telegram Business. If you do not see it, you are not on Premium yet — that is the entry just above it.

Telegram settings with Telegram Business below Telegram Premium
Telegram Business sits right under Premium in Settings.
2

Go to Chatbots

Inside Telegram Business, choose Chatbots — "add any third party chatbots that will process customer interactions".

The Telegram Business menu with the Chatbots entry
Chatbots is near the bottom of the Business list.
3

Add @lemma_telepath_bot

Type or paste the bot's username. Then choose which conversations it may see: all private chats, or only the ones you pick. You can also exclude individual chats or whole categories — anything you exclude is never sent to us at all.

Chat Automation screen with Lemma Telepath selected and chat access options
Pick the bot, then decide which chats it can access.
4

Turn on Reply to Messages

Open Bot permissions → Manage Messages and make sure Reply to Messages is ticked. Without it the assistant can read your chats but every attempt to answer will fail — this is the single most common thing people miss.

Bot permissions with Manage Messages enabled and profile, gifts and stories switched off
Manage Messages on; profile, gifts and stories stay off.

Telepath only uses the message permissions. Manage Profile, Manage Gifts and Stars and Manage Stories can all stay off — we never touch them, and leaving them off costs you nothing.

The bot will message you in Telegram to confirm the connection. From that moment your new 1:1 business messages are archived into an account that is yours alone. Nothing that happened before is imported unless you ask for it.


Part 2 — your assistant

Connect the side that reads it

Telegram now feeds your archive, but nothing can read it yet. Pick where your assistant lives — the archive is the same either way, and connecting more than one is fine.

1

Turn on Developer Mode

In ChatGPT open Settings → Security and login and switch on Developer mode. It is what lets you add a connector that is not yet in the public directory.

ChatGPT advanced security settings with Developer mode switched on
ChatGPT warns that developer-mode connectors are unverified — that applies to any connector added this way.
2

Create the app

Go to chatgpt.com/plugins, press + in the top right and choose Create app. In the window that opens, ignore the upload area and press Create MCP App — Telepath is a server, not a file.

The plugins page with the plus menu open on Create app
The New Plugin dialog with the Create MCP App button
Create MCP App is in the bottom-left corner, easy to miss.
3

Fill in the server

Four things, and the icon is optional:

  • Name — Lemma Telepath, or whatever you prefer to see in the sidebar.
  • Connection — keep Server URL and paste https://telepath.lemma.company/mcp
  • Authentication — OAuth. Leave the advanced settings alone; they are discovered automatically.
  • Tick I understand and want to continue, then press Create.
The MCP app form with the name, server URL and OAuth authentication filled in
4

Sign in with Lemma

ChatGPT asks to connect. Press Sign in with Lemma — this is the OAuth handshake, and it opens our page.

The Add Lemma to ChatGPT dialog with the Sign in with Lemma button
5

Log in with Telegram

Our page opens. Press Log in with Telegram and use the same account you connected in Part 1 — that is what tells us which archive is yours. There is no password to invent.

The Telepath login page with a Log in with Telegram button
The reviewer sign-in below the button is for app review; ignore it.

Telegram then asks for your phone number in international format and sends a confirmation to your account. Confirm it in the Telegram app, then press Accept, and finally Log in as <your name>.

The Telegram login widget asking for a phone number
Telegram asking to grant access, showing name, username and profile photo
Telegram shares only your name, username and profile photo with us — not your messages. Those come through the bot you added in Part 1.
6

Try it

Ask your assistant something real:

  • “Show me my most recent Telegram chats.”
  • “Find the message where we agreed the invoice amount.”
  • “Summarise what I missed today.”

If it answers with your actual conversations, you are done.

1

Open Customize

In the Claude sidebar choose Customize, then the Connectors tab — or go straight to claude.ai/customize/connectors.

The Claude sidebar with Customize
2

Add custom connector

Press Add in the top right and choose Add custom connector.

The Connectors tab with the Add custom connector option
3

Name it and paste the server

Any name you like, then the address:

https://telepath.lemma.company/mcp

The Add custom connector dialog with a name and the server URL
4

Leave the auth settings alone

Claude reads our OAuth configuration and fills this in: Sign in now and Register automatically both come up marked Detected. Nothing to change — press Add.

Authentication settings detected automatically
5

Press Connect

Claude shows the connector as not yet connected. Press Connect — that starts the same OAuth flow as everywhere else.

Claude showing the connector is not connected yet, with a Connect button
6

Log in with Telegram

Our page opens. Press Log in with Telegram and use the same account you connected in Part 1 — that is what tells us which archive is yours. There is no password to invent.

The Telepath login page with a Log in with Telegram button

Telegram asks for your phone number in international format and sends a confirmation to your account. Confirm it in the Telegram app, then press Accept, and finally Log in as <your name>.

The Telegram login widget asking for a phone number
Telegram asking to grant access, showing name, username and profile photo
Telegram shares only your name, username and profile photo with us — not your messages. Those come through the bot you added in Part 1.

Then ask it: “Show me my most recent Telegram chats.”

Grok takes a custom MCP connector as it is — no developer mode, no approval.

1

Open Plugins

In the Grok sidebar at grok.com choose Plugins. Anything you connect lands in that same list.

The Grok sidebar with Plugins
2

New Connector

On the Connectors tab, press New Connector — top right, next to the search box.

The Grok connectors screen with the New Connector button in the top right
3

Choose Custom

The list that opens is the built-in catalogue. Telepath is not in it — take the first entry, Custom.

The New Connector window with Custom at the top of the list
4

Name it and paste the server

Any name you like, then the address:

https://telepath.lemma.company/mcp

Press Add Connector.

The Custom Connector dialog with a name and the MCP server URL
5

Log in with Telegram

The same handshake as everywhere else: our page opens, press Log in with Telegram and use the same account you connected in Part 1. There is no password to invent.

The Telepath login page with a Log in with Telegram button

Then ask it: “Show me my most recent Telegram chats.”

Codex, Claude Code, Cursor and anything else that speaks MCP. There is no settings screen — you tell the agent, and it wires itself up.

1

Give it this

Paste it as-is. Any MCP-capable agent has everything it needs here:

Add this remote MCP server and authenticate with it: https://telepath.lemma.company/mcp It is a streamable-HTTP MCP server using OAuth 2.1 with PKCE and dynamic client registration, so no API key or client id is needed. Open the authorisation URL it returns, finish the login in the browser, then list the tools it exposes.

In Claude Code you can also add it directly: claude mcp add --transport http telepath https://telepath.lemma.company/mcp, then /mcp to sign in.

2

Finish the login in a browser

The agent cannot log in for you: it hands you a URL, you open it, press Log in with Telegram and confirm — the same account as Part 1. The agent picks up the token once you are done.

3

Check it sees the tools

Ask it to list its tools. You should see the telegram_* and kb_* set — searching, reading messages and files, and, if you granted it, replying.


After that

Everything else is optional, and lives in the bot's own chat:

Importing your old history — the full walkthrough

The bot starts seeing messages the moment you connect it, and cannot look further back — Telegram simply doesn't offer that. An export fills in what came before.

Importing is on the Plus and Pro plans, since it is a one-off bulk job rather than everyday traffic.

1

Open Advanced in Telegram Desktop

This lives in the desktop app only — the phone app has no export. Settings → Advanced, then Export Telegram data at the very bottom.

Telegram Desktop settings with Advanced
The Advanced screen with Export Telegram data at the bottom
2

Untick all the media

Photos, videos, voice messages, stickers, files — none of it is needed. We import the text and the structure of your conversations, not the files, and leaving these on turns a small export into tens of gigabytes.

Media export settings with every checkbox cleared
Everything unchecked. The size limit slider then doesn't matter.
3

Choose Machine-readable JSON

At the bottom, under Location and format. This is the one setting that must be right — HTML cannot be imported, and picking it means exporting all over again.

Location and format with Machine-readable JSON selected

Telegram then prepares the file. A long history can take a while, and Telegram may make you wait before it starts.

4

Send it to the bot

In the bot press 📥 Import history (or send /import). It replies with a one-time link that is private to you. Open it and drop in result.json from the export folder.

The bot keyboard with Import history
The upload page asking for result.json

Wait for it to finish — the bot messages you a receipt with how many messages went in.

What people ask

If something does not work

Still stuck? Write to hello@lemma.company or see Support.