CloudSwap

Finds the cheapest cloud for a stateless CPU or GPU job across AWS, Vast.ai, RunPod and more.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
95%
Vollständigkeit des Schemas
74%
Qualität der Benennung
95%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~795Tokens (Tool-Definitionen)
~1.8 KBTypische Antwortgröße
Mittlere Auswirkung auf die Aufmerksamkeit (0.62% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "cloudswap": {
      "url": "https://cloudswap.ai/mcp"
    }
  }
}

Remote-Endpunkte

https://cloudswap.ai/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (4)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
⚪quote_job(vcpus, mem_gb, gpu_type, gpu_count, hours, ...)

Price a stateless container or batch/GPU job on every provider and return the cheapest fitting place, with cost per run and the next best offers. Dry run: places nothing.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "vcpus": {
      "type": "integer",
      "minimum": 1
    },
    "mem_gb": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "gpu_type": {
      "type": "string",
      "description": "e.g. H100, A100, RTX 4090; omit for CPU jobs"
    },
    "gpu_count": {
      "type": "integer",
      "minimum": 0
    },
    "hours": {
      "type": "number",
      "description": "expected wall time on an AWS c7i-class CPU or the named GPU"
    },
    "max_price_hr": {
      "type": "number",
      "description": "USD per hour cap"
    },
    "regions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "eu, us, asia or region codes"
    },
    "spot_ok": {
      "type": "boolean",
      "description": "job may be interrupted and re-run"
    },
    "trust": {
      "type": "string",
      "enum": [
        "any",
        "datacenter"
      ]
    },
    "choice": {
      "type": "string",
      "description": "who may run it: lowest (default), big_cloud, datacenter, or supplier:<name> (one named supplier)"
    },
    "data_in_gb": {
      "type": "number",
      "description": "data pulled from AWS per run (egress cost)"
    },
    "stateless": {
      "type": "boolean",
      "description": "must be true; stateful jobs are refused"
    }
  },
  "required": [
    "vcpus",
    "mem_gb"
  ]
}
🟢list_providers

List the providers this router prices.

Eingabe-Schema

{
  "type": "object",
  "properties": {}
}
🟢run_job(vcpus, mem_gb, gpu_type, gpu_count, hours, ...)

Run a stateless container job on the cheapest fitting machine (Vast.ai, RunPod or Shadeform), paid from your CloudSwap prepaid credits. A hold of the maximum price is taken first; you pay the real price after the run. Needs your CloudSwap API key as a Bearer token. Returns a job id: call get_job to follow it.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "vcpus": {
      "type": "integer",
      "minimum": 1
    },
    "mem_gb": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "gpu_type": {
      "type": "string",
      "description": "e.g. H100, A100, RTX 4090; omit for CPU jobs"
    },
    "gpu_count": {
      "type": "integer",
      "minimum": 0
    },
    "hours": {
      "type": "number",
      "description": "expected wall time on an AWS c7i-class CPU or the named GPU"
    },
    "max_price_hr": {
      "type": "number",
      "description": "USD per hour cap"
    },
    "regions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "eu, us, asia or region codes"
    },
    "spot_ok": {
      "type": "boolean",
      "description": "job may be interrupted and re-run"
    },
    "trust": {
      "type": "string",
      "enum": [
        "any",
        "datacenter"
      ]
    },
    "choice": {
      "type": "string",
      "description": "who may run it: lowest (default), big_cloud, datacenter, or supplier:<name> (one named supplier)"
    },
    "data_in_gb": {
      "type": "number",
      "description": "data pulled from AWS per run (egress cost)"
    },
    "stateless": {
      "type": "boolean",
      "description": "must be true; stateful jobs are refused"
    },
    "command": {
      "type": "string",
      "description": "shell command run in the container"
    },
    "image": {
      "type": "string",
      "description": "public container image, default python:3.12-slim"
    },
    "env": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "max_hours": {
      "type": "number",
      "description": "hard time limit, 0.05 to 4"
    },
    "label": {
      "type": "string"
    }
  },
  "required": [
    "command"
  ]
}
🟢get_job(id)

State, price, wall time and log tail of one of your jobs.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    }
  },
  "required": [
    "id"
  ]
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet4 Tools