Allows an AI agent to compare GPU compute costs, rent instances, run training jobs, and manage files via an OpenAI-compatible API and secure orchestration.
別名 cloudgpu-app/cloudgpu-mcp, cloudgpu-mcp
- スター
- 1
- ツール
- 15
- ダウンロード数(30日間)
- —
- 最新バージョン
- 0.16.3
- 最終コミット
- 2026年11月13日
- ライセンス
- MIT
CloudGPU MCPとは
CloudGPUはMCPサーバーです。 Allows an AI agent to compare GPU compute costs, rent instances, run training jobs, and manage files via an OpenAI-compatible API and secure orchestration. 15個のツールを提供しており、get_account, list_gpus, list_templatesなどがあります。
プロジェクトのREADMEから生成された概要
CloudGPU MCP server について
Developers can manage high-performance compute resources directly through AI agents using CloudGPU MCP. This local stdio server enables agents to compare GPU costs, rent specific instances, and execute training jobs while managing files via SFTP. It is designed for use with MCP clients like Claude Code, Cursor, Cline, and Windsurf, allowing an agent to handle the entire lifecycle of a machine learning task from initial cost estimation to instance destruction.
Users can interact with the service using an API key or a secure browser-based approval flow that sets spending limits and concurrency rules. The server includes specialized tools like run_job for background execution and compare_compute_costs to evaluate up to eight different GPU candidates. Beyond renting hardware, the same account provides access to an OpenAI-compatible model API for inference tasks without needing to rent a dedicated instance.
できること
- 1Automated model fine-tuningAn agent can rent a GPU, upload training data, run a LoRA fine-tuning command, and download the resulting adapter before shutting down the instance.
- 2Cost-effective GPU selectionA developer can ask an agent to find the cheapest available GPU for a specific workload by comparing live prices.
- 3Serverless model inferenceYou can use your existing CloudGPU balance to call hosted models through an OpenAI-compatible interface.
- 4Secure background job executionRun long-running training commands that continue even if your local machine goes to sleep.
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
CloudGPU MCPのインストール方法
フォーマット検証日 2026年11月10日Claude CodeにCloudGPU MCPをインストール
$ claude mcp add --env CLOUDGPU_API_KEY=<YOUR_CLOUDGPU_API_KEY> cloudgpu-mcp -- npx -y cloudgpu-mcpCursorにCloudGPU MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"cloudgpu-mcp": {
"command": "npx",
"args": [
"-y",
"cloudgpu-mcp"
],
"env": {
"CLOUDGPU_API_KEY": "<YOUR_CLOUDGPU_API_KEY>"
}
}
}
}VS CodeにCloudGPU MCPをインストール
.vscode/mcp.json
{
"servers": {
"cloudgpu-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"cloudgpu-mcp"
],
"env": {
"CLOUDGPU_API_KEY": "<YOUR_CLOUDGPU_API_KEY>"
}
}
}
}Claude DesktopにCloudGPU MCPをインストール
claude_desktop_config.json
{
"mcpServers": {
"cloudgpu-mcp": {
"command": "npx",
"args": [
"-y",
"cloudgpu-mcp"
],
"env": {
"CLOUDGPU_API_KEY": "<YOUR_CLOUDGPU_API_KEY>"
}
}
}
}CodexにCloudGPU MCPをインストール
~/.codex/config.toml
[mcp_servers.cloudgpu-mcp] command = "npx" args = ["-y", "cloudgpu-mcp"] [mcp_servers.cloudgpu-mcp.env] CLOUDGPU_API_KEY = "<YOUR_CLOUDGPU_API_KEY>"
Gemini CLIにCloudGPU MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"cloudgpu-mcp": {
"command": "npx",
"args": [
"-y",
"cloudgpu-mcp"
],
"env": {
"CLOUDGPU_API_KEY": "<YOUR_CLOUDGPU_API_KEY>"
}
}
}
}CloudGPU MCPツール 15
READMEから検出get_accountlist_gpuslist_templatescompare_compute_costsestimate_costcreate_instancerun_commandtail_logsstop_instancelist_modelsrun_jobcancel_job
| get_account | — | |
| list_gpus | — | |
| list_templates | — | |
| compare_compute_costs | — | |
| estimate_cost | — | |
| create_instance | — | |
| run_command | — | |
| tail_logs | — | |
| stop_instance | — | |
| list_models | — | |
| run_job | — | |
| cancel_job | — |
15個のツールをすべて表示ツールを折りたたむ
logintemplatesbalance
| login | — | |
| templates | — | |
| balance | — |
設定
CLOUDGPU_API_KEYシークレットOptional CloudGPU API key. Without a key, use public discovery and connect_account for an owner-approved scoped key.
| 名前 | 説明 | 種類 |
|---|---|---|
| CLOUDGPU_API_KEY | Optional CloudGPU API key. Without a key, use public discovery and connect_account for an owner-approved scoped key. | シークレット |
自動チェック
実行日 2026年11月13日詳細レポート →自動チェックに合格しました。これはセキュリティ監査ではありません。コードを読み、サーバーに必要最小限のアクセス権を与えてください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能合格
- オープンソースライセンス (OSI)合格
- 過去1年以内にコミットまたはリリースあり合格
- パッケージ名が有名なパッケージに酷似していない合格
- リモートエンドポイントがHTTPSを使用未チェック
- 破壊的なツールがラベル付けされている未チェック
- モデルへの隠れた指示がない合格
- パッケージと依存関係に重大なアドバイザリがない合格
README
GitHubで見るCloudGPU MCP
CloudGPU MCP server: let an AI agent compare GPU compute costs, approve source-specific billing, run a job, bring the results back and shut the GPU down. The same API key and balance also cover CloudGPU's OpenAI-compatible model API, so an agent can call a hosted model without renting anything.
"Fine-tune a 7B base model with LoRA on data/train.jsonl and put the adapter in ./outputs."
The agent checks live prices and quotes you, rents the GPU once you say yes, uploads your code and data, starts training in the background, watches the logs, downloads the adapter and destroys the instance. You get the files and the final cost.
It is a local (stdio) MCP server. It works with any MCP client that can start one: Claude Code, Cursor, Cline, opencode, goose, VS Code, Windsurf and others.
Install
For the browser-approval flow, add this local MCP server without an API key first:
claude mcp add cloudgpu -- npx -y cloudgpu-mcp
For another stdio client, use command: "npx" and args: ["-y", "cloudgpu-mcp"]; omit the environment key. Ask the Agent to call connect_account, open its returned CloudGPU link yourself, approve the account, spending limit, GPU concurrency and expiry, then let it call finish_connect. Never paste your password or API key into the conversation. The client must support and configure MCP; the approval link alone does not install tools in an arbitrary assistant. Existing API-key setup remains available below.
- Create an API key at cloudgpu.app/api and add a prepaid balance (card or USDT).
- Add the server to your client. Node.js 18 or newer is required. The key goes in the environment variable
CLOUDGPU_API_KEY.
claude mcp add cloudgpu --env CLOUDGPU_API_KEY='<YOUR_API_KEY>' -- npx -y cloudgpu-mcp
{
"mcpServers": {
"cloudgpu": {
"command": "npx",
"args": ["-y", "cloudgpu-mcp"],
"env": { "CLOUDGPU_API_KEY": "<YOUR_API_KEY>" }
}
}
}
{
"mcpServers": {
"cloudgpu": {
"command": "npx",
"args": ["-y", "cloudgpu-mcp"],
"env": { "CLOUDGPU_API_KEY": "<YOUR_API_KEY>" }
}
}
}
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"cloudgpu": {
"type": "local",
"command": ["npx", "-y", "cloudgpu-mcp"],
"environment": { "CLOUDGPU_API_KEY": "<YOUR_API_KEY>" },
"enabled": true
}
}
}
extensions:
cloudgpu:
name: cloudgpu
type: stdio
cmd: npx
args: ["-y", "cloudgpu-mcp"]
envs:
CLOUDGPU_API_KEY: "<YOUR_API_KEY>"
enabled: true
timeout: 300
- Optional but recommended: copy
rules/cloudgpu.mdinto your project asAGENTS.md,.cursor/rules/cloudgpu.mdor.clinerules/cloudgpu.md. It tells the agent to quote before renting, download before shutting down, and never leave a GPU running. The server also exposes the same text as the resourcecloudgpu://rules.
To check the install, ask your agent: "List the GPUs available, then estimate the cost for a 24 GB GPU for one hour. Do not create anything." You should see list_gpus and estimate_cost calls and a quote, and nothing is rented.
Agent Skill
The same guidance is available as two Agent Skills:
-
skills/cloudgpu/SKILL.md: renting and using a GPU. Claude Code loads it on demand when you ask for a GPU job. It expects thecloudgpuMCP tools to be installed (see above). -
skills/cloudgpu-model-api/SKILL.md: calling the OpenAI-compatible model API athttps://cloudgpu.app/v1without renting a GPU. It works with the MCP tools or with just aCLOUDGPU_API_KEY. -
Claude plugin: both skills are included automatically when you install the CloudGPU Claude plugin from this repo's marketplace:
/plugin marketplace add cloudgpu-app/cloudgpu-mcp /plugin install cloudgpu@cloudgpu -
Codex plugin: the same repository is an Agent Plugins package (
plugin.json,mcp.json, andskills/). Codex shows it as CloudGPU. The server readsCLOUDGPU_API_KEYfrom the environment.codex plugin marketplace add cloudgpu-app/cloudgpu-mcp -
Claude Code, personal install: copy
skills/cloudgpu/andskills/cloudgpu-model-api/to~/.claude/skills/. -
Claude Code, project install: copy
skills/cloudgpu/andskills/cloudgpu-model-api/to.claude/skills/in your project. -
Cursor, Codex, Cline, Amp and other agents that read Agent Skills: install both skills with the skills CLI:
npx skills add cloudgpu-app/cloudgpu-mcp
Tools
| Tool | What it does |
|---|---|
get_account |
Balance, and how many instances the account may run at once |
list_gpus |
GPU models with VRAM, live price per GPU-hour and availability |
list_templates |
Ready-made images: JupyterLab, Ollama, ComfyUI, LLaMA-Factory, … |
compare_compute_costs |
Compare live total billed GPU cost for up to eight compatible candidates; no reservation or creation approval |
estimate_cost |
Live quote for a GPU and a number of hours, plus your balance afterwards; returns a quote_id |
create_instance |
Rents from an approved quote, with a budget, a time limit and an idle limit |
get_status / list_instances |
Status, minutes run, cost so far, auto-shutdown limits |
run_command |
Runs a command on the instance; background=true for long jobs |
tail_logs |
Latest log lines, whether the job finished, GPU utilisation |
upload / download |
Files and folders between your computer and the instance (SFTP) |
stop_instance |
Destroys the instance and stops billing |
list_models |
Models on the OpenAI-compatible API, for inference without renting a GPU |
run_job |
Starts a GPU, runs one command and destroys the GPU, all on CloudGPU's servers; safe to retry with the same idempotency_key |
get_job / list_jobs |
Job status, exit code, cost, the last ~4 KB of output and the job's history |
cancel_job |
Stops a job and destroys its GPU |
connect_account / finish_connect |
Gets a key without copying one: the user approves this assistant in the browser with a spending limit and a number of GPUs at once |
The server also provides a train_on_cloudgpu prompt.
Guardrails
- A quote first.
create_instanceonly takes aquote_idfromestimate_costanduser_confirmed=true. - Server-side limits. Every instance is created with
max_spend_usd,max_hoursand an idle limit (60 minutes by default). CloudGPU's servers check them and destroy the instance when one is hit, even if your client has disconnected or your laptop is asleep. - Your own ceiling.
CLOUDGPU_MAX_SPEND_USDandCLOUDGPU_MAX_HOURScap what the agent may set. - Results before shutdown. After commands have run,
stop_instancerefuses until something has been downloaded, unless the user confirmsforce=true. - Secrets stay out of the chat. The instance's SSH login is used inside this process and never returned to the model. Tool output is scrubbed of the API key and login details. Uploading
.ssh,.env, key files or your whole home directory needsallow_sensitive=true. - The instance stays manageable. Commands that change the root password, SSH configuration, firewall or the platform's monitoring agent are refused. CloudGPU shuts down instances that it can no longer monitor.
- Jobs are not started twice.
run_jobsends anIdempotency-Key. Resending the same job returns the same job instead of starting a second GPU, and the server refuses the same key with different parameters. - Keys with a budget. A key from
connect_accounthas a total spending limit, a number of GPUs it may run at once and an expiry date, all enforced by CloudGPU's servers. Revoke it at https://cloudgpu.app/api and it can no longer start anything. - Read-only mode.
CLOUDGPU_READ_ONLY=1registers only the look-up tools.
Configuration
| Env | Default | |
|---|---|---|
CLOUDGPU_API_KEY |
(or connect_account) |
From https://cloudgpu.app/api. Without it, a key saved by finish_connect in ~/.config/cloudgpu/credentials.json is used |
CLOUDGPU_MAX_SPEND_USD |
50 |
Highest budget the agent may set for one instance |
CLOUDGPU_MAX_HOURS |
24 |
Longest time limit the agent may set |
CLOUDGPU_READ_ONLY |
off | 1 = look-up tools only |
CLOUDGPU_BASE_URL |
https://cloudgpu.app |
Override the API host |
Model API on the same balance
The key also works with the OpenAI-compatible API at https://cloudgpu.app/v1. Call list_models (or GET /v1/models) to see the available model IDs. Model prices are on cloudgpu.app/api.
Optional persistent files and Workspaces
These tools require persistent storage to be explicitly enabled on the server;
they return storage_not_enabled until it is ready. Discover server capabilities
at /v1/public/compute-capabilities. Read get_storage for current included allowance, quota, prices and retention. Storage fees are separate from GPU Job budgets. Uploads above the included allowance require accept_storage_charges=true after user agreement; the default is false. Budget-limited connect-link keys cannot enable paid storage. Files expose expires_at; downloading does not renew retention. Versions containing expired files become unavailable, while active Jobs defer deletion.
get_compute_catalogandquote_computeuse public discovery and server quotes, including required starting balance andsupports_jobs. Pass the server quote torun_jobasquote_id; the originalestimate_costremains a local quote for interactive instance rentals.get_storage,list_files,list_workspaces,list_workspace_versionsandget_workspace_versionshow saved files, versions and usage.upload_artifactanddownload_artifacttransfer persistent files, including datasets/models, without returning storage credentials to the assistant.save_workspacesaves regular project files as an immutable version. It refuses known credential paths and symlinks, and skips.git,node_modules,__pycache__and.venv. Save dependency manifests so the next GPU can rebuild its environment. The returnedworkspace_version_idcan be passed torun_job.delete_fileanddelete_workspace_versionrequire explicit user confirmation and refuse active references.
This restores project files into a fresh directory before the Job command. It is not full-disk restore and does not automatically save edits or collect outputs. Continue saving results from the command itself. Large-model restore speed and cross-supplier cache behavior must be measured before relying on them. Backend restore plans travel via SSH stdin, never in Job command arguments or saved scripts; the user command starts after restoration. This does not protect transfer-time memory from root on the GPU. Failed deletions or expired uploads may remain pending while the server verifies cleanup; quota is released only after confirmed removal. With storage disabled, normal catalog, account, instance and Job tools keep working without a storage provider.
The developer acceptance script node scripts/acceptance.mjs is read-only by
default. Its --paid mode is for an explicitly authorized internal test account
only; it can create two Jobs capped at $0.03 each. Do not run paid mode as part of
ordinary package tests.
Without MCP
The server wraps CloudGPU's public REST API, which any agent or script can call with the same key:
curl https://cloudgpu.app/v1/gpu/offers -H "Authorization: Bearer $CLOUDGPU_API_KEY"
Command-line tool
The package also installs a cloudgpu command for using the same API from a terminal (Node.js 18.3 or newer, no extra dependencies):
npm install -g cloudgpu-mcp # or run it once with: npx -p cloudgpu-mcp cloudgpu --help
cloudgpu login # saves your key to ~/.config/cloudgpu/config.json (mode 0600)
cloudgpu offers # GPU models with live price and availability
cloudgpu up --gpu "RTX 4090" --template comfyui --max-minutes 120 --max-spend 5 --wait
cloudgpu ssh <id> # opens your system ssh to the instance
cloudgpu down <id> # destroys it and stops billing (asks first; --yes to skip)
| Command | What it does |
|---|---|
login |
Save an API key (input hidden, or piped on stdin); checked against the API first |
offers [--template ID] |
GPU models, VRAM, live price per GPU-hour, availability |
templates |
Ready-made images and the GPU each recommends |
up --gpu MODEL [--template ID] [--count N] [--max-minutes N] [--max-spend USD] [--idle-minutes N] [--setup FILE] [--wait] |
Rent an instance; --setup runs a bash script once as root after hand-over (log in /root/cloudgpu-setup.log); --wait polls until it is running or failed, then prints the SSH command and URL |
ls / status <id> |
Instances with status, minutes run and cost so far |
ssh <id> [-- ARGS] |
Run ssh with the instance's host, port and user; --show-password prints the password if there is one |
down <id> [--yes] |
Destroy the instance; its disk is erased, so download results first |
balance |
Balance and how many instances the account may run |
CLOUDGPU_API_KEY takes precedence over the saved key, and CLOUDGPU_BASE_URL overrides the API host. Read commands accept --json; SSH passwords are left out of JSON unless you pass --show-password. Every command has --help. Errors print the API's message and exit non-zero (2 for usage errors).
Links
- MCP docs: https://cloudgpu.app/docs/mcp
- GPU pricing: https://cloudgpu.app/pricing
- Model API and prices: https://cloudgpu.app/api
- API reference: https://cloudgpu.app/api/docs · OpenAPI: https://cloudgpu.app/openapi.json · For LLMs: https://cloudgpu.app/llms.txt
CloudGPU here means cloudgpu.app. Prepaid balance, source-specific minute or started-hour billing; when the balance runs out, running instances are destroyed and their disks erased, so keep enough balance for the job and download results as you go.
Development
npm install
npm test
node src/index.js # stdio server; set CLOUDGPU_API_KEY first
node src/cli.js --help
License
MIT, see LICENSE.
Apply a Workspace to a GPU you already rent
Use list_workspace_instances, then get_workspace_application with the saved version_id and the selected instance_id. After the user agrees, call apply_workspace with user_confirmed: true, then poll status. The files appear in a new private project directory; existing files are never overwritten. This does not install dependencies, execute project code or start, stop, or restart a GPU. Rental billing continues during transfer. Budgeted Agent keys can only target instances created with the same key. Workspace requires a funded account.
Repeated application of the same version to the same instance returns the existing result, including user edits after success. On needs_attention, failed or conflict, inspect the result rather than automatically retrying. A new saved version creates a separate directory. The feature must be enabled by the server; unavailable storage does not disable ordinary GPU rental or Job tools.
D13 model preparation (0.8.0)
Version 0.8.0 adds three preparation tools; check both the installed tools and live backend capabilities before using them:
resolve_model_reference: resolve a public Hugging Face branch/tag and explicit filenames to a commit-addressed manifest, sizes and available LFS SHA-256. No weights are hosted by CloudGPU. To enable verified use of the instance’s existing mirror, up to 8 selected JSON configuration files of at most 64 KiB each may be read from the pinned origin and SHA-256 hashed, within a shared 15-second deadline. Weight files are not fetched by this resolver. Private/gated models are refused.prepare_job_rerun: read parameters from a successful owned Job. No new GPU, old quote or old idempotency key. Obtain a fresh quote and explicit budget approval beforerun_job.prepare_model_deployment: prepare a setup script for the existing ComfyUI template, with direct model downloads and optional UI-format workflow JSON. Use the model name as a category (e.g.checkpoints,loras,vae). Review and approve the script before deploying. Custom nodes are not installed and workflows are not executed automatically. This is preparation support, not a real-GPU-validated template catalog.
run_job accepts optional model_references. A supporting backend is checked before submission; an old backend cannot silently ignore the references. Models are downloaded after Workspace restoration, into $CLOUDGPU_MODEL_DIR/<name>/<path>. Download time consumes the same rental budget. File size/checksum, disk and download timeout failures stop the Job and follow the existing release-evidence flow, without provisioning retries. The weights disappear with the GPU unless the user separately persists them; no R2 model cache is added.
Agent-first interaction: ask your Agent to run the project again; no separate web Job console or model JSON form is required. Team-authorized keys spend the selected team wallet; personal funds are separate.
Suggested workflow: resolve references → review model license/files and compatible environment → get quote → obtain explicit budget/time/GPU approval → run once with a stable idempotency key → poll status/cost → prepare a rerun only after success. Output collection remains the user's command's responsibility.
See examples/pinned-model-job.mjs for a default dry-run REST example. Do not enable submission during routine tests. Bounded internal acceptance covered actual MCP, candidate HTTP authentication/MySQL, independent model hashes, two GPU runs and release. A separate ComfyUI image accepted model links and a workflow file. This does not validate arbitrary custom nodes or graph execution.
Small Job output snapshots and diagnosis (0.7.0)
This branch adds diagnose_job (read-only) and save_job_output (explicit storage write). Check the installed tool list before using them; they are not a claim about the currently published npm release.
save_job_output stores only the ended Job output tail as a small Artifact. It is not a full log, file collector, disk snapshot or automatic backup. Known credential patterns and queried URLs are refused. Review output for other sensitive data before approving storage. Existing eligibility, quota, retention and explicit paid-storage consent apply; the GPU Job budget does not authorize paid storage. No GPU is created, kept alive or stopped by these tools. Matching snapshots are verified and reused when found; concurrent different client processes may still create duplicate artifacts.
diagnose_job reports the error category, platform instance status and whether platform charges are final. It does not prove supplier release, infer that command failures are always user errors, or automatically rerun work. needs_attention requires resource reconciliation before a new task. A rerun requires a fresh quote, explicit approval and a new idempotency key.
Registry configuration allows discovery and connect-link approval without pre-entering a key. A tool-enabled MCP client is still required; a link does not install a client or grant unlimited spending. No new fixed infrastructure or model storage is introduced.
Optional Job output collection (requires backend capability)
Call run_job with outputs: {"files":["metrics.json"],"max_bytes":1048576} and a command that writes to "$CLOUDGPU_OUTPUT_DIR/metrics.json". Files are relative to this dedicated directory; the platform does not scan the disk. The server refuses unsupported backends rather than silently starting a Job without saving results. GPU download/execution/upload time shares the same time and spend limits.
After completion, inspect get_job.output_collection: only succeeded confirms collection. Each saved entry gives file_id, sha256, size_bytes and status; use existing file download tools. Partial failure may retain ready files, but is not overall success. Cancellation, budget exhaustion, instance loss or interrupted collection can prevent saving; GPU release still proceeds with no automatic re-run. Files follow the existing account quota, storage pricing and 30-day retention. accept_storage_charges defaults false and requires explicit user agreement to paid storage. The 10 MiB default/100 MiB maximum is a transfer bound, not a new user quota. File-name protections cannot guarantee that user-selected file contents contain no secrets.
Job log snapshot safety
Version 0.8.0 still has a credential-filter gap in save_job_output; upgrading to 0.8.0 did not fix it. The 0.9.0 candidate rejects quoted JSON credential keys, common prefixed/aliased secret fields, authorization schemes, queried/user-info URLs and bounded common escaped representations before any storage operation. Safe logs remain byte-identical. This is a conservative recognizable-pattern check, not a guarantee that arbitrary, encrypted or unknown credentials will be detected. Save only logs you know are sanitized, with explicit user approval; no actual exposure is established by this fix.
Reusable task drafts (D16)
list_task_templates and prepare_task_template are local, read-only tools: no account is required, no API call is made, and preparing a draft never rents a GPU. Start with gpu-check, csv-summary, or workspace-python. CSV work normally belongs on your local CPU; do not rent a GPU merely to process a small CSV.
{"template_id":"gpu-check","persist_results":false}
For an existing project, pass workspace-python, an immutable workspace_version_id, and a reviewed relative .py entrypoint. The script runs in the restored project; prepare its dependencies yourself. Inference/training compatibility is not certified. For model/workflow file preparation, prepare_model_deployment remains available. The experimental execution recipes below reuse a prepared environment; image/SDXL LoRA is not included.
The returned run_job_draft deliberately omits GPU selection, quote, budget, time limit, approval and idempotency key. Request a live quote, obtain explicit approval, then call existing run_job. Failed tasks are not automatically retried. To preserve results, explicitly request persist_results; normal storage eligibility, retention, quota and fees apply. workspace-python also requires the exact output_files your script writes under $CLOUDGPU_OUTPUT_DIR. Storage-fee consent defaults to false and is separate from GPU approval.
CloudGPU MCPのよくある質問
CloudGPU MCPをClaude Codeに追加するには
ターミナルでclaude mcp add --env CLOUDGPU_API_KEY=<YOUR_CLOUDGPU_API_KEY> cloudgpu-mcp -- npx -y cloudgpu-mcpを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
CloudGPU MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
CloudGPU MCPが提供するツールは
15個のツールを提供しており、get_account, list_gpus, list_templates, compare_compute_costs, estimate_costなどがあります。
How can I use CloudGPU with an AI agent?
You can add the local MCP server to clients like Claude Code, Cursor, or Cline using npx, or use the browser-approval flow to connect your account without manually pasting an API key.
Can I use my CloudGPU balance for model inference?
Yes, the same API key and balance cover CloudGPU's OpenAI-compatible model API, allowing agents to call hosted models without renting a GPU.
How does the server prevent unexpected high costs?
The server implements guardrails such as mandatory quotes before renting, server-side spending limits, maximum hour caps, and idle limits that automatically destroy instances.
Is it safe to share my API key in a chat?
No, you should never paste your password or API key into the conversation; instead, use the connect_account flow or environment variables.