Skip to main content
← All Telegram MCP connectors

Cline · VS Code

Cline Telegram MCP - Telegram inside VS Code

Register Entergram as an MCP server in Cline, the VS Code AI agent, and reach your real Telegram account from your editor - catch missed messages and clients waiting on you without breaking flow.

MCP server URL https://mcp.entergram.com/mcp

Cline loads MCP servers from inside VS Code. Add Entergram's URL to its settings and Cline can read and act on your real personal Telegram account without leaving the editor - OAuth-secured, with no bot account and no API keys.

Paste-ready configuration

Paste-ready configuration
{
  "mcpServers": {
    "entergram": {
      "url": "https://mcp.entergram.com/mcp"
    }
  }
}

Connect Cline in 3 steps

Works with the Cline extension in VS Code.

  1. 01

    Copy your MCP URL in Entergram

    In Entergram, visit Settings → Workspace → Connectors → MCP and copy the server URL. Cline keeps it in its own MCP settings file, separate from your VS Code settings.

  2. 02

    Add the server in Cline

    In Cline’s MCP settings (cline_mcp_settings.json), register the Entergram MCP URL: https://mcp.entergram.com/mcp.

  3. 03

    Authorize and use

    Save the file, let Cline restart the server, then finish the OAuth sign-in. Cline surfaces each Entergram call for your approval before it runs.

Three ways to register it in Cline

MCP Servers panel - Remote Servers

The route that involves no JSON. Click the server icon at the top of the Cline pane, open the Remote Servers tab, name the entry entergram, paste the URL and click Add. Cline writes the config for you and shows a status light next to the server, which is the fastest way to tell a bad paste from a bad plan.

cline_mcp_settings.json

The file itself lives in the extension's global storage - on macOS at ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json, with the same path shape under the VS Code user directory on Windows and Linux. Editing it by hand is worth it when you want the autoApprove array under version control alongside your other machine setup.

{
  "mcpServers": {
    "entergram": {
      "url": "https://mcp.entergram.com/mcp",
      "disabled": false,
      "autoApprove": []
    }
  }
}

Auto-approve, scoped to reads

The setting that decides whether the connector feels useful or exhausting. Naming individual tools in autoApprove lets lookups run without a prompt while anything that writes, sends or deletes still stops for a human. Start with the four below and widen it only once a workflow has proven itself.

"autoApprove": [
  "entergram_list_accounts",
  "entergram_list_chats",
  "entergram_list_messages",
  "entergram_get_contact"
]

Ask Cline about your Telegram

With your personal account connected, Cline can check Telegram without you leaving VS Code. Try:

  • “Who reported this error and what were they doing?”
  • “Draft a reply explaining the fix, but let me approve it.”
  • “Open a ticket from this conversation and assign it to me.”
  • “Check whether this regression was reported more than once.”
  • “Note on the thread that the patch is in review.”
  • “List the chats waiting on engineering right now.”

Six runs, and where Cline stops to ask

Cline is an agent that plans several steps ahead, then executes them one call at a time with an Approve or Reject button in front of each. That rhythm changes what a connector is for: the reads blur past, and the writes are where you actually pay attention. These are the runs worth handing it.

You ask

«Turn this morning's bug reports into tickets, one at a time.»

Tools called

entergram_list_live_chatsentergram_list_messagesentergram_create_ticket

You get

Cline reads the unread view, groups what it finds into distinct problems, and then proposes a ticket per problem. Each creation surfaces as its own approval, so rejecting one skips it and leaves the rest of the plan intact. What was forty minutes of copy-paste becomes a queue of yes-or-no decisions.

You ask

«We deployed twenty minutes ago. Has anything broken?»

Tools called

entergram_list_live_chatsentergram_get_live_chatentergram_list_messages

You get

A smoke test against the only monitor that catches the failures your dashboards miss. Cline narrows to conversations with activity since the deploy window, reads what came in, and separates ordinary traffic from anything that reads like a regression. All reads, so with auto-approve on it runs uninterrupted.

You ask

«Last night's outage tickets are all still marked normal. Raise the severity on the ones from paying customers.»

Tools called

entergram_list_ticketsentergram_list_ticket_custom_columnsentergram_update_ticket

You get

It reads the ticket schema before writing so that severity maps onto your real option values rather than a guess, then updates each match. Because every update is a separate approval, you get to see the list one row at a time and stop the moment one of them looks wrong.

You ask

«Acknowledge everyone who reported the export bug so they know it's been seen.»

Tools called

entergram_list_messagesentergram_set_message_reactions

You get

A reaction is the cheapest possible response and the one developers never get around to. Cline finds the reporting messages across threads and reacts to each, which costs nothing and buys hours of patience from people who otherwise assume they were ignored.

You ask

«Draft the release note for the beta group and stop before sending.»

Tools called

entergram_list_groupsentergram_list_group_membersentergram_send_message

You get

The plan finishes with a send that never fires until you press Approve, and the drafted text is right there to edit first. Checking the member list beforehand is the detail that matters: it is how you notice the announcement is about to reach a group that still contains last quarter's customers.

You ask

«Write up what you did in this run as an internal note on each chat you touched.»

Tools called

entergram_list_chat_commentsentergram_create_chat_comment

You get

An audit trail the agent generates about itself, attached to the conversations rather than lost in a closed editor tab. It reads what is already noted so it does not repeat a teammate, then appends its own summary as a comment nobody outside your workspace can see.

User story · Support engineer

A support-to-engineering handoff with approval at every write

Cline is a good fit when the user wants to watch the agent connect Telegram evidence to code and explicitly approve the records it creates in Entergram and Linear.

The weekly Telegram defect review produces one issue per root cause

Product complaints arrive across several Telegram accounts and groups. Support can describe symptoms, engineering can inspect code, but the weekly handoff creates duplicate Linear issues with little evidence and no status written back to customers' chats.

The instruction

Review this week's defect-like messages across every connected Telegram account. Group by likely root cause, not by chat. For each group, inspect the relevant repository code and draft one Linear issue with evidence, reproduction steps and acceptance criteria. Search Linear for an existing issue first. For every source chat, draft an internal Entergram comment containing the issue ID, current owner and a customer-safe summary. Ask me to approve each Linear create/update and each batch of Entergram comments.

What the team gets

Engineering receives fewer, better issues; support sees the owner and status in the original chat; and the approval log shows exactly which external records Cline changed.

What Cline can do with your Telegram

  • -Approve every Telegram call before it executes
  • -Auto-approve read-only lookups, gate the writes
  • -Turn a stack trace into a reply to the reporter
  • -Open a ticket from inside the VS Code sidebar
  • -Keep the agent's reasoning attached to the chat
  • -Scope a run to one repository and one workspace

Two gates, not one

Cline's approval prompt is the gate you see. The OAuth scopes are the gate you set once and then stop thinking about, and they are the stricter of the two - approving a call can never grant a permission the token was not issued with. Decide the access level before you tune autoApprove, because the token is the ceiling and the approval list only decides how often you are asked about what is already permitted. Revoking takes two clicks in Entergram under Settings → Workspace → Connectors → MCP.

Personal agent
Every workspace member can create one without asking anybody. It covers read scopes on chats, messages, contacts, tickets, connected accounts and the workspace record, plus write access to the custom fields on your own chats. Combined with Cline's approval loop it makes an ambitious agent harmless: the worst outcome is that it reads more than it needed to.
Workspace connector
Only an owner or admin can create one, and it is the level that unlocks the write half of the tool list - sending and editing messages, changing custom fields on chats you do not own, administering groups. The whole team shares it, which makes a permissive autoApprove list a team decision rather than a personal preference.
Revocation
Deleting the server from Cline stops the client asking. Revoking in Entergram stops the server answering, including in any session still open on another machine. Do the second one when you are rotating access rather than just tidying up your editor.

What the approval loop costs you

The honest trade-offs of an in-editor agent with a human in the middle.

  • Approval is per tool call, not per plan. A six-step task means six prompts in the pane, and walking away halfway leaves the run parked on the next one indefinitely.
  • autoApprove matches on tool names, never on arguments. Putting entergram_send_message on that list approves it for every chat rather than the one you had in mind, so keep write tools off it until the workflow has earned its place.
  • The run lives inside your editor window. Close VS Code or reload the extension host and the task stops where it stood - nothing continues on a server, and nothing picks up where it left off.
  • A workspace below Pro will complete the OAuth login and then fail on the first call, which Cline shows as a failed tool result rather than a connection problem. MCP access is a Pro-plan feature.
  • Account selection is explicit. If your prompt does not name the account, the agent resolves one from the list and carries on, and the approval dialog will not point out which one it chose.
  • History depth follows Telegram's own retention rather than Entergram's, so a busy group with years of backlog will not hand all of it over in one pass. Date-bounded questions get better answers than open-ended ones.

Cline connector troubleshooting

The MCP Servers panel shows Disconnected
Use the Restart Server button on that entry rather than reinstalling anything. Cline holds one connection per server and does not retry by itself after a network drop or a laptop waking from sleep.
Cline asks permission for every single read
That is the default behaviour. Open the server's entry in the MCP Servers panel and move the read-only tools you are tired of confirming into its auto-approve list, leaving sends, edits and deletes out of it.
Nothing appears after editing the settings file by hand
A trailing comma or a stray character invalidates the whole document and Cline falls back to an empty server list rather than complaining. Run the JSON through a validator, then reload the VS Code window so the extension host re-reads it.
A task stopped halfway with no error
Either an approval prompt was left unanswered or the window reloaded mid-run. Cline does not resume tasks across restarts - start the run again and it re-plans against the current state of your chats.
The reply went out from the wrong Telegram account
Have Cline call entergram_list_accounts and then put the account name into the prompt itself. When the account is implicit the agent picks one, and the approval dialog does not surface that choice.
Tools fail with 403 straight after a clean connect
The grant succeeded and the permissions did not. A personal agent cannot send messages or write another member's custom fields; ask an owner or admin for a workspace connector if the run genuinely needs those.

Cline + Telegram FAQ

How do I add an MCP server to Cline?
Open Cline’s MCP settings (cline_mcp_settings.json), add the Entergram MCP URL, and authorize via OAuth.
Is this a Telegram bot?
No. A bot account would need customers to message it first. Cline works against your own account through a hosted MCP server, including threads that predate the connector.
Is it secure?
Yes. OAuth 2.0 with scoped permissions, and Cline's approval prompt sits on top: you see each call before it runs. No credential is stored in the extension's settings file, and access is revocable from either side.
Will it interrupt my coding flow?
No. Cline queries Telegram on demand from the command palette, so you can check missed client messages between tasks without switching apps.

Cline Telegram MCP - Telegram inside VS Code