@ukiyocompute/mcp 0.0.0-stage → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Ukiyo Compute LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,36 @@
1
- # Temporary Holding Version
1
+ # Ukiyo MCP 0.2.1
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Node.js 24+, local stdio only: `npm install -g @ukiyocompute/mcp@0.2.1`, then
4
+ `ukiyo-mcp`. Staged for owner-approved publication, not published by this build.
5
+
6
+ Read `https://pay.u-kiyo.ai/api/v1/terms` and its linked document. Call
7
+ `signup_account` with explicit `acceptTerms: true`, `acceptedTermsVersion`,
8
+ `maxPerRentalMinor`, `budgetLimitMinor`, `maxConcurrentDeployments`.
9
+ The scoped token is stored securely locally, never returned. Alternatively use
10
+ UKIYO_API_TOKEN from a headless `ukiyo signup`. Telegram is optional for owners.
11
+
12
+ Journey: signup_account → get_account_balance → topup_account_with_wallet →
13
+ list_compute_offers → rent_gpu → get_rental_status until ACTIVE →
14
+ get_deployment_credentials → run your SSH workload → terminate_deployment.
15
+ Credentials contain a secret: never expose them to shared transcripts. Confirm
16
+ termination with the user. For secret-safe execution prefer `ukiyo exec`.
17
+
18
+ Wallet funding requires UKIYO_MACHINE_CONFIG with explicit caps and a private
19
+ wallet file. Reuse idempotencyKey and amount. Pending means do not pay again;
20
+ call get_topup_status. topup_account_with_card returns a hosted funding link.
21
+ For an unpaid challenge only, use `ukiyo topup rails --amount 5 --plain
22
+ --idempotency-key <key> --json` before the funded acceptance rental.
23
+
24
+ rent_gpu accepts gpuModel, optional gpuCount and maxHourlyPriceMinor; Ukiyo picks
25
+ the machine. It spends account credit. Reuse the same idempotencyKey for retries,
26
+ retain rentalId/deploymentId, and never rent again because a status poll timed out.
27
+ Legacy prepaid accounts also supply budgetMinor. No separate MCP business logic.
28
+
29
+ Tools: signup_account, get_account_balance, list_compute_offers, rent_gpu,
30
+ get_rental_status, list_deployments, get_deployment_status,
31
+ get_deployment_credentials, terminate_deployment, topup_account_with_card,
32
+ topup_account_with_wallet, get_topup_status, purchase_compute_with_wallet,
33
+ machine_purchase_status, machine_purchase_terminate.
34
+
35
+ Image interpreter: /venv/main/bin/python. cuDNN ships in its torch wheel, not as
36
+ a system package. python3 is not the image interpreter.