tgcloud — Telegram serverless bots

v0.3.3
io.github.sdamarketing/tgcloud-mcp Checked 4 hours ago Published 1 month ago

MCP server for Telegram serverless bots: lifecycle, deploys, migrations, webhooks via tgcloud CLI

Values you need

VariableWhat it is
TGCLOUD_CLIoptional Command that launches the tgcloud CLI (default npx; may be a proxy wrapper)
TGCLOUD_CLI_ARGSoptional Arguments placed before the subcommand (default 'tgcloud')
TGCLOUD_TIMEOUT_MSoptional Timeout of one CLI command, in milliseconds Default: 120000
TGCLOUD_TOKENoptional secret CLI access token from @BotFather (form app<id>:<secret>)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add tgcloud-mcp -- npx -y tgcloud-mcp@0.3.3
Add to claude_desktop_config.json
{
  "mcpServers": {
    "tgcloud-mcp": {
      "args": [
        "-y",
        "tgcloud-mcp@0.3.3"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "tgcloud-mcp": {
      "args": [
        "-y",
        "tgcloud-mcp@0.3.3"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "tgcloud-mcp": {
      "args": [
        "-y",
        "tgcloud-mcp@0.3.3"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.tgcloud-mcp]
command = "npx"
args = ["-y", "tgcloud-mcp@0.3.3"]

Docker

Requires Docker

Run in a terminal
claude mcp add tgcloud-mcp -- docker run -i --rm ghcr.io/sdamarketing/tgcloud-mcp:0.3.3
Add to claude_desktop_config.json
{
  "mcpServers": {
    "tgcloud-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/sdamarketing/tgcloud-mcp:0.3.3"
      ],
      "command": "docker"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "tgcloud-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/sdamarketing/tgcloud-mcp:0.3.3"
      ],
      "command": "docker"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "tgcloud-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/sdamarketing/tgcloud-mcp:0.3.3"
      ],
      "command": "docker",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.tgcloud-mcp]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/sdamarketing/tgcloud-mcp:0.3.3"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: create_project, init_project, login_bot, add_module, upgrade, status, diff, push, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json