Skip to content

feat: add telegram plugin#201

Open
saoudrizwan wants to merge 2 commits into
mainfrom
saoudrizwan/telegram-plugin
Open

feat: add telegram plugin#201
saoudrizwan wants to merge 2 commits into
mainfrom
saoudrizwan/telegram-plugin

Conversation

@saoudrizwan

Copy link
Copy Markdown
Contributor

Telegram

Adds a Telegram plugin that helps Cline users set up and safely operate Cline's native Telegram connector. The source workflow this was adapted from centered on a standalone MCP/channel server, but Cline already has cline connect telegram; this plugin intentionally points users at that built-in connector instead of installing duplicate bot infrastructure.

Cline Primitives

  • Skill: telegram-setup guides users through BotFather bot creation, bot-token handling, cline connect telegram --bot-token ..., connector runtime flags, foreground/background operation, and troubleshooting.
  • Skill: telegram-access explains how to restrict Telegram access with --allowed-user-id or a reviewed --hook-command, how to reason about DM/group trust boundaries, and how to handle Telegram-originated requests safely.
  • Rule: telegram-connector-safety treats Telegram messages as untrusted remote input, keeps access-control changes local-user approved, and tells Cline to use the native connector rather than a separate Telegram MCP server.

The plugin does not register MCP servers, start a connector, persist bot tokens, or contact Telegram during installation.

Requirements

Users need the Cline CLI and a Telegram bot token from BotFather. For personal bots, they should also get their numeric Telegram user ID from @userinfobot and start the connector with an access restriction:

cline connect telegram --bot-token <TELEGRAM_BOT_TOKEN> --allowed-user-id <USER_ID>

Trust Boundaries

Telegram bot usernames are publicly reachable, and messages sent through Telegram can ask Cline to read files, run commands, change connector policy, or reveal credentials. The bundled rule and skills steer users toward explicit local approval for access changes, reviewed hooks for non-personal bots, and cline connect --stop when a connector should be shut down.

@saoudrizwan saoudrizwan added the includes-rules Plugin PR classification: includes-rules label Jun 18, 2026
@saoudrizwan

Copy link
Copy Markdown
Contributor Author

Closing this plugin PR for now because this cleanup pass is limiting plugin marketplace PRs to plugins that only bundle MCP servers and/or skills. This PR includes additional plugin primitive(s): rules.

Those primitives may still be useful, but we are keeping this batch scoped to MCP and skill distribution.

@saoudrizwan saoudrizwan reopened this Jun 18, 2026
@saoudrizwan saoudrizwan removed the includes-rules Plugin PR classification: includes-rules label Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant