AmpleRun GPU rentals

v0.1.1
com.amplerun/gpu-rentals Checked 2 days ago Published 2 months ago

Find, price, rent and stop GPUs on AmpleRun.

Values you need

VariableWhat it is
AMPLERUN_API_KEYoptional secret AmpleRun API key (ark_...) from Account → Security. list_templates and search_offers work without it.
AMPLERUN_MCP_ALLOW_SPENDoptional Set to 1 to allow create_rental and stop_rental. Unset keeps the server read-only.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add gpu-rentals -- npx -y --package=@amplerun/mcp@0.1.1 amplerun-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "gpu-rentals": {
      "args": [
        "-y",
        "--package=@amplerun/mcp@0.1.1",
        "amplerun-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "gpu-rentals": {
      "args": [
        "-y",
        "--package=@amplerun/mcp@0.1.1",
        "amplerun-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "gpu-rentals": {
      "args": [
        "-y",
        "--package=@amplerun/mcp@0.1.1",
        "amplerun-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.gpu-rentals]
command = "npx"
args = ["-y", "--package=@amplerun/mcp@0.1.1", "amplerun-mcp"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http gpu-rentals https://amplerun.com/api/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "gpu-rentals": {
      "args": [
        "-y",
        "mcp-remote",
        "https://amplerun.com/api/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "gpu-rentals": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://amplerun.com/api/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "gpu-rentals": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://amplerun.com/api/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.gpu-rentals]
command = "npx"
args = ["-y", "mcp-remote", "https://amplerun.com/api/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: get_agent_account_challenge, register_agent_account, list_templates, search_offers, get_quote, create_rental, get_rental, list_rentals, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json