Download tools/gpu_rental_exec.md from StarpowerTechnology/HiggsfieldMCP: direct link, hf CLI and curl.
- Browser
- Download file 1.7 kB
-
https://huggingface.co/datasets/StarpowerTechnology/HiggsfieldMCP/resolve/main/tools/gpu_rental_exec.md
- Command line
-
hf download hf://datasets/StarpowerTechnology/HiggsfieldMCP/tools/gpu_rental_exec.md
-
curl -L -o gpu_rental_exec.md https://huggingface.co/datasets/StarpowerTechnology/HiggsfieldMCP/resolve/main/tools/gpu_rental_exec.md
Run one bash command on one of the user's own running GPU boxes (from gpu_rent; status working) and return its exit code, stdout and stderr. Each run starts a fresh bash in /workspace and is killed after timeout_s (default 60, max 90 s); start longer work with nohup and poll its log in later calls. stdout and stderr keep the first 2,000 and last 18,000 characters each; truncated: true means the middle was cut, so re-run with head, grep or tail. /workspace is the user's own persistent storage, shared by all their GPU boxes (GPU page, Supercomputer chat and this connector) and never by team members: files there survive gpu_rental_stop and show on their next box until they delete them. Two live boxes share it, so the same file written from both keeps the last write. Everything else (/root, /tmp, /cache including HF_HOME, /models, /outputs, system paths) is lost when the box stops; there is no /artifacts mount. Charges nothing beyond the box's hourly price, which keeps billing until gpu_rental_stop.
mcp__Higgsfield__gpu_rental_exec(args: {
// bash command line to run on the box.
command: string, // minLength: 1, maxLength: 128000
// session_id of the user's box from gpu_rent or gpu_my.
session_id: string, // pattern: /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, format: "uuid"
// Seconds before the command is killed (default 60, max 90).
timeout_s?: integer, // default: 60, minimum: 1, maximum: 90
}): Promise<{ exit_code: number, next_step: string, session_id: string, stderr: string, stdout: string, truncated: boolean, [key: string]: any }>;