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.
Install tgcloud — Telegram serverless bots
Built from the published package, never by AI.
claude mcp add tgcloud-telegram-serverless-bots -- npx -y tgcloud-mcpRun in your terminal. Add --scope user to use it in every project.
Step-by-step: install tgcloud — Telegram serverless bots in Claude Code
{
"mcpServers": {
"tgcloud-telegram-serverless-bots": {
"args": [
"-y",
"tgcloud-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install tgcloud — Telegram serverless bots in Claude Desktop
{
"mcpServers": {
"tgcloud-telegram-serverless-bots": {
"args": [
"-y",
"tgcloud-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
Step-by-step: install tgcloud — Telegram serverless bots in Cursor
{
"servers": {
"tgcloud-telegram-serverless-bots": {
"args": [
"-y",
"tgcloud-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
Step-by-step: install tgcloud — Telegram serverless bots in VS Code
codex mcp add tgcloud-telegram-serverless-bots -- npx -y tgcloud-mcpStep-by-step: install tgcloud — Telegram serverless bots in Codex
{
"mcpServers": {
"tgcloud-telegram-serverless-bots": {
"args": [
"-y",
"tgcloud-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install tgcloud — Telegram serverless bots in Antigravity CLI
gemini mcp add tgcloud-telegram-serverless-bots npx -y tgcloud-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
Step-by-step: install tgcloud — Telegram serverless bots in Gemini CLI
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
| Setting | Needed | What it is |
|---|---|---|
TGCLOUD_Environment variable | Optional | Command that launches the tgcloud CLI (default npx; may be a proxy wrapper) |
TGCLOUD_Environment variable | Optional | Arguments placed before the subcommand (default 'tgcloud') |
TGCLOUD_Environment variable | Optional | Timeout of one CLI command, in milliseconds Default: 120000 |
TGCLOUD_Environment variable, secret | Optional | CLI 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 →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
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.
