# CloudGPU MCP server

> Rent a per-minute GPU from your MCP client, run a job, download the results and shut the GPU down.

- Listing: https://mcp.tc/i/cloudgpu
- Connect: this is a local (stdio) server; install it on your machine (see Install). The listing link is a page, not an MCP endpoint.
- Type: local (stdio)
- Auth: API key
- Category: [Cloud & DevOps](https://mcp.tc/c/cloud-devops)
- Vendor: mrhy7176
- Homepage: <https://cloudgpu.app/docs/mcp>
- Repository: <https://github.com/cloudgpu-app/cloudgpu-mcp>
- Package: npm `cloudgpu-mcp`

## About

Connects an AI assistant to CloudGPU so it can check live GPU prices, get a quote, rent a GPU by the minute, upload code and data, run commands, tail logs, download results and destroy the instance. It also offers job tools that run on CloudGPU's servers, and lists models on CloudGPU's OpenAI-compatible API.

Runs locally over stdio with npx -y cloudgpu-mcp and needs Node.js 18 or newer. Access needs a CloudGPU API key in CLOUDGPU\_API\_KEY and a prepaid balance. The assistant can also request a key through a browser approval step. Budgets, time limits and idle limits are enforced server-side. Remote access is also available over Streamable HTTP at https://cloudgpu.app/mcp; the mcp.tc/i/cloudgpu page is a directory listing, not a server endpoint. Local stdio with npx -y cloudgpu-mcp remains supported.

## What it can do

- List GPU models with live prices and availability
- Get a cost quote before renting
- Create and stop GPU instances with budget and time limits
- Run commands and background jobs on the instance
- Upload and download files over SFTP
- Run one-off jobs that start and destroy a GPU on the server side
- List models on the OpenAI-compatible API

## Example prompts

- "List the GPUs available and estimate the cost of a 24 GB GPU for one hour."
- "Fine-tune a 7B model with LoRA on data/train.jsonl and save the adapter to ./outputs."
- "Check the status and logs of my running GPU instance."
- "Stop the GPU instance after downloading the results."

## Install

### Claude Code

1. Run this in a terminal, in your project folder:

```bash
claude mcp add --transport stdio cloudgpu --env "CLOUDGPU_API_KEY=<YOUR_CLOUDGPU_API_KEY>" -- npx -y cloudgpu-mcp
```

2. Start Claude Code and type `/mcp`. **cloudgpu** should show as connected.

Add `--scope user` to make it available in every project. Replace the placeholders with your own values.

### Claude Desktop

1. Open **Settings → Developer → Edit Config**. It opens `claude_desktop_config.json`. Add:

`claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "cloudgpu": {
      "command": "npx",
      "args": [
        "-y",
        "cloudgpu-mcp"
      ],
      "env": {
        "CLOUDGPU_API_KEY": "<YOUR_CLOUDGPU_API_KEY>"
      }
    }
  }
}
```

2. Save the file and restart Claude Desktop. Replace the placeholders with your own values.

Needs Node.js on your computer. The file lives in `~/Library/Application Support/Claude/` on macOS and `%APPDATA%\Claude\` on Windows.

### Cursor

[Add to Cursor](<https://cursor.com/install-mcp?name=cloudgpu&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImNsb3VkZ3B1LW1jcCJdLCJlbnYiOnsiQ0xPVURHUFVfQVBJX0tFWSI6IjxZT1VSX0NMT1VER1BVX0FQSV9LRVk%2BIn19>) (opens Cursor)

Or add it by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project):

`mcp.json`:

```json
{
  "mcpServers": {
    "cloudgpu": {
      "command": "npx",
      "args": [
        "-y",
        "cloudgpu-mcp"
      ],
      "env": {
        "CLOUDGPU_API_KEY": "<YOUR_CLOUDGPU_API_KEY>"
      }
    }
  }
}
```

Needs Node.js on your computer. Replace the placeholders with your own values.

### VS Code

Add it to `.vscode/mcp.json`. VS Code asks for the secret the first time and stores it securely:

`.vscode/mcp.json`:

```json
{
  "servers": {
    "cloudgpu": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "cloudgpu-mcp"
      ],
      "env": {
        "CLOUDGPU_API_KEY": "${input:cloudgpu-api-key}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "cloudgpu-api-key",
      "description": "CLOUDGPU_API_KEY",
      "password": true
    }
  ]
}
```

Needs Node.js on your computer.

### Devin Desktop

1. Add it to `~/.config/devin/mcp_config.json` (macOS and Linux) or `%APPDATA%\devin\mcp_config.json` (Windows):

`mcp_config.json`:

```json
{
  "mcpServers": {
    "cloudgpu": {
      "command": "npx",
      "args": [
        "-y",
        "cloudgpu-mcp"
      ],
      "env": {
        "CLOUDGPU_API_KEY": "<YOUR_CLOUDGPU_API_KEY>"
      }
    }
  }
}
```

2. Refresh the MCP server list in Cascade. Replace the placeholders with your own values.

Devin Desktop is the new name for Windsurf.

### Codex

```bash
codex mcp add cloudgpu --env "CLOUDGPU_API_KEY=<YOUR_CLOUDGPU_API_KEY>" -- npx -y cloudgpu-mcp
```

Or edit `~/.codex/config.toml` directly:

`config.toml`:

```toml
[mcp_servers.cloudgpu]
command = "npx"
args = ["-y", "cloudgpu-mcp"]
env = { CLOUDGPU_API_KEY = "<YOUR_CLOUDGPU_API_KEY>" }
```

Needs Node.js on your computer. Replace the placeholders with your own values.

### Gemini CLI

```bash
gemini mcp add -e "CLOUDGPU_API_KEY=<YOUR_CLOUDGPU_API_KEY>" cloudgpu npx -- -y cloudgpu-mcp
```

This adds it to the current project. Add `-s user` to use it everywhere.

### Any client

Most clients that start local servers accept this shape:

```json
{
  "mcpServers": {
    "cloudgpu": {
      "command": "npx",
      "args": [
        "-y",
        "cloudgpu-mcp"
      ],
      "env": {
        "CLOUDGPU_API_KEY": "<YOUR_CLOUDGPU_API_KEY>"
      }
    }
  }
}
```

Zed puts servers under `context_servers` in its settings, with the same `command`, `args` and `env` fields.

Needs Node.js on your computer. Replace the placeholders with your own values.

## Recent changes

- 2026-11-17 11:25 UTC: New version 0.16.6 (was 0.16.3), read from npm. Source: automatic check.
- 2026-11-16 04:32 UTC: Listing updated: description, setup notes and repository. Source: server owner.
- 2026-11-13 20:25 UTC: New version 0.16.3 (was 0.16.1), read from npm. Source: automatic check.
- 2026-11-12 20:23 UTC: New version 0.13.1 (was 0.12.1), read from npm. Source: automatic check.
- 2026-11-11 05:23 UTC: New version 0.11.0 (was 0.10.0), read from npm. Source: automatic check.

More on the History tab, with descriptions before and after for the newest entries: https://mcp.tc/i/cloudgpu#history (Atom feed: https://mcp.tc/i/cloudgpu/history.xml). It records what mcp.tc's anonymous checks saw, every 3 hours where the tool list can be read without sign-in; it is not a security review.

## Details

- Server version: 0.16.6
- Last checked: 2026-11-08
- Listed: 2026-11-08
- Updated: 2026-11-16

---
Source: https://mcp.tc/i/cloudgpu (mcp.tc is an independent directory, not affiliated with this server's publisher). Corrections: https://mcp.tc/report
