Skip to main content

Set up your client

Pick your AI client below, paste the config, and you're connected. Every snippet uses MC_TOKEN as a placeholder — substitute the API token you copied from vm.massedcompute.com/settings/api.

The fastest path is the CLI:

claude mcp add --transport http massed-compute https://vm.massedcompute.com/api/mcp --header "Authorization: Bearer MC_TOKEN"

This registers the server globally. Run claude from any project and ask "list my Massed Compute instances" — Claude Code discovers and calls the tools automatically.

To configure by hand instead, edit ~/.claude.json (global) or .mcp.json in a project root:

{
  "mcpServers": {
    "massed-compute": {
      "type": "http",
      "url": "https://vm.massedcompute.com/api/mcp",
      "headers": {
        "Authorization": "Bearer MC_TOKEN"
      }
    }
  }
}

Useful commands: claude mcp list shows registered servers, claude mcp remove massed-compute uninstalls, and claude --debug traces tool list/call activity if something looks off.

Verify you're connected

Once you've saved your client config, ask your assistant something simple like "Validate my Massed Compute API key" or "List my running Massed Compute VMs." If it responds with real data, you're wired up.

If the assistant says it doesn't have access, or you get an authentication error, see Troubleshooting.

What's next

  • Tools reference — what your AI assistant can do, with example prompts
  • Agent Skills — downloadable workflow guides for picking GPUs, launching VMs safely, auditing spend
  • Troubleshooting — common issues and fixes