Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

tgcloud — Telegram serverless bots

MCP server by sdamarketing Community

Lets AI assistants manage Telegram serverless bots through the tgcloud CLI, from creating and deploying bots to running migrations and fixing webhooks. Built for developers who build bots on Telegram's serverless platform.

  • Score 74
  • 1 stars
  • 111 a week
  • MIT
  • Updated

Install tgcloud — Telegram serverless bots

Built from the published package, never by AI.

claude mcp add tgcloud-telegram-serverless-bots -- npx -y tgcloud-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install tgcloud — Telegram serverless bots in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the tgcloud-telegram-serverless-bots block.

About

tgcloud-mcp is an MCP server that wraps the official tgcloud CLI for Telegram serverless bots. It exposes 16 tools covering project setup, linking a bot with a BotFather token, syncing and deploying code, running handlers, migrations, and webhook checks. Users can describe what they want in plain language, and the assistant runs the matching tgcloud commands.

The project also ships a skill that describes the platform layout, import rules, and guardrails for the agent. Destructive actions such as reset, forced pushes, and migrations require explicit confirmation. The bot token is passed to the CLI on stdin and masked in tool results. It is aimed at developers who want an AI assistant to handle Telegram bot deployment and maintenance. The project is unofficial and not affiliated with Telegram.

Written from the project's README and checked against it.

Tools it gives your assistant

  • create_projectScaffolds a new Telegram serverless bot project.
  • login_botLinks a bot to the project using a BotFather token.
  • add_moduleAdds new handlers, endpoints, and lib modules to a project.
  • statusShows changes between the local project and the cloud.
  • deployBuilds the project and pushes it to the cloud.
  • run_handlerRuns a handler or endpoint without deploying it.
  • migrateApplies migrations, with dry-run, safe, and local options.
  • webhook_statusChecks the bot webhook when the bot is silent.
  • webhook_syncRe-points the bot webhook, with an option to drop pending updates.
  • resetResets cloud state and requires confirmation before running.

What you need

  • Node.js 20 or newer
  • The tgcloud CLI, installed globally or run through npx
  • A Telegram bot token from @BotFather
  • An MCP-compatible AI client such as Claude Code, Cursor, or VS Code
SettingNeededWhat it is
TGCLOUD_CLIEnvironment variableOptionalCommand that launches the tgcloud CLI (default npx; may be a proxy wrapper)
TGCLOUD_CLI_ARGSEnvironment variableOptionalArguments placed before the subcommand (default 'tgcloud')
TGCLOUD_TIMEOUT_MSEnvironment variableOptionalTimeout of one CLI command, in milliseconds Default: 120000
TGCLOUD_TOKENEnvironment variable, secretOptionalCLI access token from @BotFather (form app<id>:<secret>), used instead of tgcloud login

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Create an echo bot in ~/bots/echo and deploy it
  • The bot is silent. Show the webhook status and fix it
  • Run the handler with a test message and show the output

Good to know

  • Unofficial community tool, not affiliated with Telegram.
  • Destructive calls such as reset, forced push, and migrations need confirm set to true.
  • Each CLI command has a default timeout of 120000 ms.
  • Tool descriptions and the skill are in English.

Security check

C
  • Downloads a script from the internet and runs itIn README.md: curl | bash

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to tgcloud — Telegram serverless bots

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

tgcloud — Telegram serverless bots: common questions

Is tgcloud-mcp an official Telegram tool?

No. The source describes it as an unofficial community project by @sdamarketing. It wraps the platform's official @tgcloud/cli.

How does it handle the bot token?

The bot token is sent to the CLI on stdin and is masked in every tool result, according to the source.

Which actions need confirmation before they run?

Reset, push with force, applying upgrades, applying migrations, and webhook sync with drop-pending refuse to run without confirm set to true.

How do I install tgcloud — Telegram serverless bots?

In Claude Code run claude mcp add tgcloud-telegram-serverless-bots -- npx -y tgcloud-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is tgcloud — Telegram serverless bots the official server?

tgcloud — Telegram serverless bots is a community project by sdamarketing, not verified by a company domain.

Is tgcloud — Telegram serverless bots free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is tgcloud — Telegram serverless bots safe to use?

It scores 74 of 100. Grades: maintenance A, licence A, quality C. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to tgcloud — Telegram serverless bots?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does tgcloud — Telegram serverless bots work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

tgcloud — Telegram serverless bots Install

Add to stack

Loading.