Labsco
Massed-Compute logo

Massed Compute MCP

from Massed-Compute

Browse GPU inventory, launch and manage VMs, and audit billing on Massed Compute from any AI agent.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedPaid serviceNeeds API keys

Massed Compute MCP Server

A Model Context Protocol server that lets AI assistants β€” Claude, Cursor, Codex, ChatGPT, and other MCP-compatible clients β€” interact with your Massed Compute account: browse GPU inventory, launch and manage VMs, audit billing.

Contents

Overview

The server exposes 14 tools that map 1:1 to documented /api/v1/* endpoints β€” no internal services, no undocumented calls. Issue a read-only key for analysis-only assistants and destructive tools (launch, restart, terminate, SSH-key changes) are hidden from the catalog entirely. Works with Claude Code, Claude Desktop, Cursor, and Codex.

ToolRequired keyReturns
gpu_inventory_listread-onlyGPU configurations, pricing, regional capacity
images_listread-onlyVM image catalog
instances_listread-onlyYour running VM instances
instances_getread-onlyA single instance by UUID
instances_launchfullNewly-launched instance details (incurs cost)
instances_restartfullRestart confirmation
instances_terminatefullTermination confirmation (destructive)
coupon_informationread-onlyCoupon discount terms
coupon_accepted_productsread-onlyProducts a coupon applies to
account_token_validationread-onlyToken validity status
account_billingread-onlyBilling settings, recharge configuration
ssh_keys_listread-onlyYour SSH keys
ssh_keys_createfullNewly-created key details
ssh_keys_deletefullDeletion confirmation (destructive)

Beyond raw tools, Massed Compute publishes Agent Skills β€” markdown workflow templates for common operations like GPU selection and cost auditing. Full docs at vm-docs.massedcompute.com/docs/category/mcp.

Verifying the connection

massed-compute-mcp doctor

doctor confirms the stored key still works, prints the tool catalog, and shows copy-pasteable snippets for any clients you didn't auto-wire. Or just ask your assistant "Validate my Massed Compute API key." β€” a { message: "Valid Token" } response confirms the wiring.

CLI reference

CommandWhat it does
massed-compute-mcp (no args)Run the MCP server over stdio
massed-compute-mcp initFirst-run setup: prompt, validate, store, wire clients
massed-compute-mcp doctorVerify the stored key and print client snippets
massed-compute-mcp install-client <id>Wire a single client (claude-code, cursor, claude-desktop, codex)
massed-compute-mcp uninstall-client <id>Remove our entry from a client config
massed-compute-mcp config showPrint resolved config path, masked key, resolution chain
massed-compute-mcp logoutDelete the stored API key
massed-compute-mcp tools [--json]Print the tool catalog (no upstream call)
massed-compute-mcp versionPrint the version

Key resolution

When the server starts, the API key is taken from the first source that provides one:

  1. --token <value> CLI flag
  2. --token-file <path> CLI flag (first line, trimmed)
  3. MASSED_COMPUTE_API_KEY environment variable
  4. Stored config file written by init

If none of those are set, the server exits non-zero with a pointer to massed-compute-mcp init. Override the upstream with MASSED_COMPUTE_API_BASE_URL (default https://vm.massedcompute.com).

Resources