Installation#
Requires Node.js 20+. The platform CLI itself requires Node.js 18+.
From npm #
The wizard writes the MCP config. It also asks whether to install the
Agent Plugin (agent-plugin/ in this repo):
a copy lands in ~/.tgcloud-mcp/agent-plugin. Cursor gets
~/.cursor/plugins/local/tgcloud. VS Code gets a chat.pluginLocations entry.
Codex, Copilot, and Kiro load that same directory through their plugin UI.
Claude Code and opencode keep using the MCP config. Add the skill with:
One command #
Clones to ~/.tgcloud-mcp, builds, runs the wizard. Re-running updates.
It asks for a language first (English, Russian, Chinese, Arabic, German, French;
Enter is English, or set TGCLOUD_MCP_LANG). Then it prints a boxed banner
(blue gradient on a truecolor terminal) and a spinner while it clones, installs,
and builds. The wizard uses the same language and reads /dev/tty, so it still
asks questions when you pipe the script with curl | bash.
Docker #
Client configs #
opencode (~/.config/opencode/opencode.json):
Claude Code / Cursor:
VS Code (mcp.json):
Environment variables#
| Variable | Default | Purpose |
|---|---|---|
TGCLOUD_CLI | npx | CLI launcher command (can be a proxy wrapper) |
TGCLOUD_CLI_ARGS | tgcloud | Prefix args before the subcommand |
TGCLOUD_TIMEOUT_MS | 120000 | Per-command timeout. deploy allows at least 300000 ms for npm run build |
TGCLOUD_TOKEN | — | CLI access token instead of tgcloud login |