# VoltageGPU CLI

> VoltageGPU CLI is an MCP server for cloud and infrastructure. CLI and MCP server to deploy, run commands on and attest VoltageGPU GPU machines. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, API, Linux, macOS, Windows
- **Repository:** https://github.com/voltagegpu/voltagegpu-cli
- **MCP Registry name:** io.github.VoltageGPU/voltagegpu-cli
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure)
- **Listing updated:** 2026-11-19

## About

The README describes a command-line tool and Python package for starting GPU machines on VoltageGPU, running commands on them over SSH, and releasing them when finished. It offers two machine types: confidential VMs built on Intel TDX with an NVIDIA GPU, where the user can generate and verify an attestation, and standard pods without an enclave for non-sensitive work.

Billing is per second, with the first hour charged at deploy time and the unused part of a standard pod's hour refunded when it is stopped. A separate short command, vgpu, is aimed at scripts and AI agents, with mandatory auto-stop times and exit codes for each failure type. It also includes a local MCP server over stdio so agents can list offers, deploy, execute commands and copy files, while SSH keys stay on the user's machine.

The package suits developers and teams who script GPU jobs or want an agent to provision compute with a limited API key and a budget. Use the Python SDK or REST API if you prefer code over the terminal.

## Features

- **Confidential VM deployment:** Starts Intel TDX confidential VMs with an NVIDIA GPU, binding only the SSH keys on your account.
- **Generated attestation:** Produces an evidence bundle inside the VM that you verify yourself with the voltage-verify tool.
- **Per-second billing:** Charges per second, with unused time on a stopped standard pod returned to your balance.
- **Local MCP server:** Exposes list, deploy, exec, copy, attest and balance tools to AI clients over stdio.
- **Scriptable output:** List and deploy commands accept JSON output and non-interactive flags for automation.
- **Scoped agent keys:** Supports limited API keys with scopes and daily budgets for agents, as recommended in the README.

## Good for

- Launch a GPU machine for a training job and release it when the run finishes
- Verify that a confidential VM runs on Intel TDX hardware before handling sensitive data
- Let an AI agent provision and run commands on rented GPUs under a spending limit
- Compare GPU offers by model and price from the terminal before deploying
- Automate short-lived GPU jobs in CI pipelines using JSON output and exit codes

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add voltagegpu-cli --env VOLT_API_KEY='<VOLT_API_KEY>' --env VOLTAGEGPU_API_KEY='<VOLTAGEGPU_API_KEY>' -- uvx voltagegpu-cli
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "voltagegpu-cli": {
      "command": "uvx",
      "args": [
        "voltagegpu-cli"
      ],
      "env": {
        "VOLT_API_KEY": "<VOLT_API_KEY>",
        "VOLTAGEGPU_API_KEY": "<VOLTAGEGPU_API_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "voltagegpu-cli": {
      "command": "uvx",
      "args": [
        "voltagegpu-cli"
      ],
      "env": {
        "VOLT_API_KEY": "<VOLT_API_KEY>",
        "VOLTAGEGPU_API_KEY": "<VOLTAGEGPU_API_KEY>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "voltagegpu-cli": {
      "command": "uvx",
      "args": [
        "voltagegpu-cli"
      ],
      "env": {
        "VOLT_API_KEY": "<VOLT_API_KEY>",
        "VOLTAGEGPU_API_KEY": "<VOLTAGEGPU_API_KEY>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "voltagegpu-cli": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "voltagegpu-cli"
      ],
      "env": {
        "VOLT_API_KEY": "<VOLT_API_KEY>",
        "VOLTAGEGPU_API_KEY": "<VOLTAGEGPU_API_KEY>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add voltagegpu-cli --env VOLT_API_KEY='<VOLT_API_KEY>' --env VOLTAGEGPU_API_KEY='<VOLTAGEGPU_API_KEY>' -- uvx voltagegpu-cli
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.voltagegpu-cli]
command = "uvx"
args = ["voltagegpu-cli"]
env = { VOLT_API_KEY = "<VOLT_API_KEY>", VOLTAGEGPU_API_KEY = "<VOLTAGEGPU_API_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "voltagegpu-cli": {
      "command": "uvx",
      "args": [
        "voltagegpu-cli"
      ],
      "env": {
        "VOLT_API_KEY": "<VOLT_API_KEY>",
        "VOLTAGEGPU_API_KEY": "<VOLTAGEGPU_API_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e VOLT_API_KEY='<VOLT_API_KEY>' -e VOLTAGEGPU_API_KEY='<VOLTAGEGPU_API_KEY>' voltagegpu-cli uvx -- voltagegpu-cli

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "voltagegpu-cli": {
      "command": "uvx",
      "args": [
        "voltagegpu-cli"
      ],
      "env": {
        "VOLT_API_KEY": "<VOLT_API_KEY>",
        "VOLTAGEGPU_API_KEY": "<VOLTAGEGPU_API_KEY>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "voltagegpu-cli": {
      "command": "uvx",
      "args": [
        "voltagegpu-cli"
      ],
      "env": {
        "VOLT_API_KEY": "<VOLT_API_KEY>",
        "VOLTAGEGPU_API_KEY": "<VOLTAGEGPU_API_KEY>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "voltagegpu-cli": {
      "command": "uvx",
      "args": [
        "voltagegpu-cli"
      ],
      "env": {
        "VOLT_API_KEY": "<VOLT_API_KEY>",
        "VOLTAGEGPU_API_KEY": "<VOLTAGEGPU_API_KEY>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "voltagegpu-cli": {
      "command": "uvx",
      "args": [
        "voltagegpu-cli"
      ],
      "env": {
        "VOLT_API_KEY": "<VOLT_API_KEY>",
        "VOLTAGEGPU_API_KEY": "<VOLTAGEGPU_API_KEY>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "voltagegpu-cli": {
      "command": "uvx",
      "args": [
        "voltagegpu-cli"
      ],
      "env": {
        "VOLT_API_KEY": "<VOLT_API_KEY>",
        "VOLTAGEGPU_API_KEY": "<VOLTAGEGPU_API_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "voltagegpu-cli": {
      "command": "uvx",
      "args": [
        "voltagegpu-cli"
      ],
      "env": {
        "VOLT_API_KEY": "<VOLT_API_KEY>",
        "VOLTAGEGPU_API_KEY": "<VOLTAGEGPU_API_KEY>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "voltagegpu-cli": {
      "command": "uvx",
      "args": [
        "voltagegpu-cli"
      ],
      "env": {
        "VOLT_API_KEY": "<VOLT_API_KEY>",
        "VOLTAGEGPU_API_KEY": "<VOLTAGEGPU_API_KEY>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "voltagegpu-cli": {
      "command": "uvx",
      "args": [
        "voltagegpu-cli"
      ],
      "env": {
        "VOLT_API_KEY": "<VOLT_API_KEY>",
        "VOLTAGEGPU_API_KEY": "<VOLTAGEGPU_API_KEY>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 9 tools changes data; 8 names don't say. From the server's own tool labels and tool names; not verified by us.

- `ls`: List GPU offers.
- `up`: Deploy a machine with a required TTL and maximum hourly price.
- `ps`: List running machines.
- `exec` (name suggests: changes): Run a command on a machine over SSH.
- `scp`: Copy files to or from a machine.
- `rm`: Release a machine; requires confirm set to true.
- `attest`: Attest a confidential VM or confidential CPU.
- `inference`: Call the OpenAI-compatible inference API.
- `whoami`: Show key scopes, budgets, spend and balance.

## FAQ

### How is billing handled?

The README says billing is per second. The first hour is charged at deploy, and stopping a standard pod refunds the unused part of that hour to the balance.

### Does the agent get my SSH private key?

No. The README says the local MCP server runs on your machine because exec, scp and attest use your SSH private key, which never leaves it.

### What installs the commands?

Running pip install voltagegpu-cli installs the voltagegpu command, with volt kept as an alias and vgpu for scripts and agents.

### What does a standard pod lack compared with a confidential VM?

The README says standard pods have no enclave and no tenant attestation, so they suit workloads that are not sensitive.

### How do I add VoltageGPU CLI to Claude Code?

Run this command in your terminal: claude mcp add voltagegpu-cli --env VOLT_API_KEY='<VOLT_API_KEY>' --env VOLTAGEGPU_API_KEY='<VOLTAGEGPU_API_KEY>' -- uvx voltagegpu-cli

### What are the best alternatives to VoltageGPU CLI?

The closest alternatives to VoltageGPU CLI are CloudGPU MCP, CloudGPU MCP, Xcelsior GPU Cloud, Center AI Vision GPU cloud and gpu.nz GPU cloud.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [CloudGPU MCP](https://ai-powered.com/mcp/cloudgpu-mcp): CloudGPU MCP is a paid MCP server for cloud and infrastructure.
- [CloudGPU MCP](https://ai-powered.com/mcp/cloudgpu-mcp-2): CloudGPU MCP is a paid MCP server for cloud and infrastructure.
- [Xcelsior GPU Cloud](https://ai-powered.com/mcp/xcelsior-gpu-cloud): Xcelsior GPU Cloud is a paid MCP server for cloud and infrastructure.
- [Center AI Vision GPU cloud](https://ai-powered.com/mcp/center-ai-vision-gpu-cloud): Center AI Vision GPU cloud is a paid MCP server for cloud and infrastructure.
- [gpu.nz GPU cloud](https://ai-powered.com/mcp/gpu-nz-gpu-cloud): gpu.nz GPU cloud is a paid MCP server for cloud and infrastructure.
- [prismnetwork.tech](https://ai-powered.com/mcp/prismnetwork-tech): prismnetwork.tech is a paid MCP server for cloud and infrastructure.
- [ExducerAI GPU cloud](https://ai-powered.com/mcp/exducerai-gpu-cloud): ExducerAI GPU cloud is a paid MCP server for cloud and infrastructure.
- [GridHop GPU Price & Carbon Index](https://ai-powered.com/mcp/gridhop-gpu-price-and-carbon-index): GridHop GPU Price & Carbon Index is an open-source MCP server for cloud and infrastructure.

---
Source: https://ai-powered.com/mcp/voltagegpu-cli
