← 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

cline_mcp_settings.json
{
  "mcpServers": {
    "entergram": {
      "url": "https://mcp.entergram.com/mcp"
    }
  }
}

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.”

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"
]

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.

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

What Cline can reach for

The server exposes seventy tools across nine groups, and Cline lists all of them under the server entry so you can read the surface before approving anything against it. The read groups are what a coding session touches constantly; the write groups are the ones worth leaving on manual approval for a while.

Accounts & workspace

5 tools

Identity and scope discovery. Every message call needs an account_id from list_accounts first — an AI client that skips this step will address the wrong Telegram account.

  • entergram_get_me
  • entergram_list_accounts
  • entergram_get_workspace
  • entergram_get_member
  • entergram_list_members

Chats & discovery

8 tools

Finding conversations. The workspace views carry CRM state (tickets, comments, custom fields); the live views carry current Telegram transport state and unread counts.

  • entergram_list_chats
  • entergram_get_chat
  • entergram_list_live_chats
  • entergram_get_live_chat
  • entergram_list_workspace_chats
  • entergram_get_workspace_chat
  • entergram_update_workspace_chat
  • entergram_get_chat_management

Messages

9 tools

Reading and writing message history, including edits, forwards and reactions. Sending is scoped per account, so nothing is global across your connected accounts.

  • entergram_list_messages
  • entergram_get_message
  • entergram_send_message
  • entergram_send_media_message
  • entergram_edit_message
  • entergram_delete_message
  • entergram_forward_messages
  • entergram_get_message_reactions
  • entergram_set_message_reactions

Contacts

3 tools

Who you are talking to, and where else you overlap with them. Shared-groups lookup is what makes questions like “which of my leads are in the same community?” answerable.

  • entergram_list_contacts
  • entergram_get_contact
  • entergram_list_contact_shared_groups

Tickets

10 tools

Full support-desk control: open, assign, prioritise, comment and close. Tickets link back to the chat they came from, so an AI client can move from conversation to queue in one step.

  • entergram_list_tickets
  • entergram_get_ticket
  • entergram_create_ticket
  • entergram_update_ticket
  • entergram_delete_ticket
  • entergram_list_chat_tickets
  • entergram_list_ticket_comments
  • entergram_create_ticket_comment
  • entergram_update_ticket_comment
  • entergram_delete_ticket_comment

CRM custom fields

11 tools

Your pipeline schema. Read the columns before writing values — checkboxes take booleans, multiselects take arrays of option values, dates take ISO 8601 strings.

  • entergram_list_custom_columns
  • entergram_get_custom_column
  • entergram_create_custom_column
  • entergram_update_custom_column
  • entergram_delete_custom_column
  • entergram_list_custom_column_options
  • entergram_create_custom_column_option
  • entergram_update_custom_column_option
  • entergram_delete_custom_column_option
  • entergram_get_chat_custom_fields
  • entergram_patch_chat_custom_fields

Ticket custom fields

9 tools

The same schema control for the ticket side — categories, severities, SLA tiers and anything else your desk tracks beyond status and priority.

  • entergram_list_ticket_custom_columns
  • entergram_get_ticket_custom_column
  • entergram_create_ticket_custom_column
  • entergram_update_ticket_custom_column
  • entergram_delete_ticket_custom_column
  • entergram_list_ticket_custom_column_options
  • entergram_create_ticket_custom_column_option
  • entergram_update_ticket_custom_column_option
  • entergram_delete_ticket_custom_column_option

Internal notes

4 tools

Comments on a chat that your customer never sees. Useful for letting an AI client leave its reasoning behind for a human teammate to pick up.

  • entergram_list_chat_comments
  • entergram_create_chat_comment
  • entergram_update_chat_comment
  • entergram_delete_chat_comment

Groups & channels

11 tools

Creating and administering Telegram groups and channels — membership, permissions, privacy and info — plus a raw command escape hatch for the rest.

  • entergram_list_groups
  • entergram_get_group
  • entergram_list_group_members
  • entergram_create_group_chat
  • entergram_create_channel
  • entergram_invite_chat_members
  • entergram_remove_chat_member
  • entergram_update_chat_info
  • entergram_update_chat_permissions
  • entergram_update_chat_privacy
  • entergram_run_chat_command

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