npx package. It requires Node.js 22 or newer and native OpenSSH for run_command. No repository access is required.
Install
Verify the checksum before running the release; stop if verification fails. Versions and hashes are published in latest.json. On Linux withoutshasum, use sha256sum -c -.
Choose your editor
After downloading and verifying the bundle, use Cursor setup or VS Code setup. The page menu links to these same instructions. These are local configurations, not remote one-click installations. Use the copy button on the JSON block for your editor. Install Node.js and the bundle on the machine where your editor starts the MCP process. The instructions below target desktop editors; remote SSH, containers, and agent-host sessions may need their own installation and configuration.Cursor
Merge this into~/.cursor/mcp.json (global), preserving any existing servers. Cursor expands ${userHome} to your home directory and ${env:UKIYO_API_TOKEN} from the editor process environment. Do not replace the variable with your raw token in this file.
cursor shell command installed. Enter the scoped token only at the hidden prompt, not into the command or a shared agent transcript:
ukiyo in Cursor’s MCP settings. If you launch Cursor later from the Dock/start menu, it may not inherit this token; relaunch from the configured environment. On Windows, provide the variable securely to the Cursor process before starting it. For public-inventory-only use, omit the env object; account tools will then require a token.
See Cursor’s MCP configuration reference for environment and configuration locations.
VS Code
Run MCP: Open User Configuration from the Command Palette. Merge this into that file without replacing existing servers or inputs. It uses VS Code’sservers format, not Cursor’s mcpServers format:
ukiyo, and start it. Review the trust prompt and enter your token in the masked input. The JSON contains a reference, not the secret. This setup targets VS Code’s local MCP support; sessions running on Agent Host do not forward servers requiring interactive ${input:...} variables.
For public-inventory-only use, omit env and inputs. See VS Code’s MCP configuration reference for other supported secret inputs.
Verify the connection
Check thatukiyo exposes the eight action tools below. Call list_offers first; it is read-only and needs no API token. To check your account token, call get_account (read-only). Do not use a rental or termination as an installation check.
UKIYO_API_URL defaults to https://pay.u-kiyo.ai. It is the REST API base, not an MCP endpoint; do not put it in a remote MCP url field.
- Node not found: ensure
nodeis on the editor’s PATH, or use the full path to your Node executable forcommand. - Bundle not found: confirm the verified file exists at
.ukiyo/ukiyo-mcp-0.2.0.mjsin your home directory on the host running MCP. - Token missing / 401: check the editor’s secret input or inherited environment and whether the token was revoked. Restart the MCP server after updating it.
Tools
get_account: account, balance and key limits.list_gpus: public GPU model pricing.list_offers: public inventory, no token required.rent_gpu: exactofferId,budgetMinor, andidempotencyKey; prepaid autonomous rental, no offer substitution.get_rental: exact deployment, provisioning and reversal state.list_deployments: account deployments.run_command: SSH execution; private key stays local, not in tool output.terminate_gpu: irreversible shutdown; waits for confirmed termination or a bounded timeout.
