Teaches the AI assistant to manage serverless Telegram bots core.telegram.org/bots/serverless: you tell the assistant “create a bot”, “deploy”, “show webhook status” — and it performs these actions via tgcloud CLI without touching the terminal manually. Works with any MCP client.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add tgcloud-telegram-serverless-bots --env TGCLOUD_TOKEN='<TGCLOUD_TOKEN>' -- npx -y tgcloud-mcp~/.codex/config.toml
[mcp_servers.tgcloud-telegram-serverless-bots]
command = "npx"
args = ["-y", "tgcloud-mcp"]
env = { TGCLOUD_TOKEN = "<TGCLOUD_TOKEN>" }
# codex mcp add tgcloud-telegram-serverless-bots --env TGCLOUD_TOKEN='<TGCLOUD_TOKEN>' -- npx -y tgcloud-mcp~/.cursor/mcp.json
{
"mcpServers": {
"tgcloud-telegram-serverless-bots": {
"command": "npx",
"args": [
"-y",
"tgcloud-mcp"
],
"env": {
"TGCLOUD_TOKEN": "<TGCLOUD_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"tgcloud-telegram-serverless-bots": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"tgcloud-mcp"
],
"env": {
"TGCLOUD_TOKEN": "<TGCLOUD_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"tgcloud-telegram-serverless-bots": {
"command": "npx",
"args": [
"-y",
"tgcloud-mcp"
],
"env": {
"TGCLOUD_TOKEN": "<TGCLOUD_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"tgcloud-telegram-serverless-bots": {
"command": "npx",
"args": [
"-y",
"tgcloud-mcp"
],
"env": {
"TGCLOUD_TOKEN": "<TGCLOUD_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"tgcloud-telegram-serverless-bots": {
"command": "npx",
"args": [
"-y",
"tgcloud-mcp"
],
"env": {
"TGCLOUD_TOKEN": "<TGCLOUD_TOKEN>"
}
}
}
}Environment variables
TGCLOUD_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.