Massed Compute

io.github.Massed-Compute由 GitHub 帳號 Massed-Compute 發布v1.1.0更新於 Nov 2, 2026

Massed Compute MCP — GPU inventory, VM lifecycle, billing, SSH keys, and setup recipes.

已驗證Streamable HTTP可網頁執行雲端與基礎設施金融

概覽

AI 產生的概覽

將助理連接到 Massed Compute 帳戶,用來瀏覽 GPU 庫存、建立與管理虛擬機、核對帳單以及管理 SSH 金鑰。

可以做什麼
  • 瀏覽即時目錄中的 GPU 庫存、虛擬機映像、優惠券與部署配方
  • 啟動、重新啟動與終止虛擬機執行個體
  • 查看帳單與費用資訊
  • 列出與變更 SSH 金鑰
  • 驗證 API 金鑰並讀取已發布的文件資源
適用情境
適合在 Massed Compute 上租用 GPU 算力、希望助理在對話中查詢可用性與價格、建立或移除虛擬機、核對支出的情境。僅做分析時使用唯讀金鑰即可阻擋破壞性操作。
執行需求
需要 Massed Compute 帳戶以及在帳戶設定中產生的 API 金鑰。金鑰以 Bearer 權杖形式放在 Authorization 標頭,或透過 MASSED_COMPUTE_API_KEY 環境變數、權杖檔案、init 指令寫入的設定檔提供。遠端使用只需託管端點網址;本機使用需 Node.js 20+ 或 Python 3.10+(npm、pip 或 uv)。
安裝前請注意
此金鑰可存取你的帳戶:完整權限金鑰允許啟動、重新啟動、終止虛擬機並變更 SSH 金鑰,可能產生費用或破壞執行中的工作,僅做分析的助理應使用唯讀金鑰。本機 init 指令會把金鑰寫入設定檔,並可能修改用戶端設定檔(會先備份)。請求會轉送到 Massed Compute 託管端點。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Massed Compute,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.Massed-Compute%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

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

README

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, discover setup recipes.

Contents

Overview

The packages published from this repo are a verbatim proxy of the public MCP endpoint at https://vm.massedcompute.com/api/mcp — zero added surface. Every JSON-RPC message (initialize, tools/list, tools/call, resources/list, resources/read, ping, …) is forwarded unchanged with your stored API key injected as a Bearer header, and responses come back unchanged. Nothing is added, renamed, filtered, or rewritten on the way through:

  • The hosted endpoint owns the catalog. Tools, resources, schemas, and descriptions come from the live endpoint — the local package never goes stale when new capabilities (like setup recipes) ship upstream.
  • The hosted endpoint owns security. Key-scope enforcement (read-only keys hide destructive tools) and credential redaction happen server-side, identically for every client.
  • What the local package adds is exactly what a stdio client needs: a stdio↔streamable-HTTP bridge, OS-conventional storage for your API key (0600 on POSIX), and one-shot client wiring via init.

Issue a read-only key for analysis-only assistants and the endpoint rejects destructive tool calls (launch, restart, terminate, SSH-key changes) at call time. Works with Claude Code, Claude Desktop, Cursor, and Codex. Run massed-compute-mcp tools to print the live catalog — GPU inventory, VM images, instance lifecycle, coupons, billing, SSH keys, and setup recipes.

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.

Installation

Step 1. Get your API key

Open vm.massedcompute.com/settings/api, create a key (read-only for analysis-only assistants; full-access to allow launch / restart / terminate / SSH-key changes), copy it.

Step 2. Pick an install path

  • Hosted endpoint — point your client at the streamable-HTTP URL, zero install
  • Local CLI — runs on your machine, key stored in your OS config dir

Hosted endpoint

The local packages proxy this endpoint verbatim, so pointing your client straight at it gives you the identical catalog with nothing to install. Pick the snippet for your client:

Claude Code

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

Cursor — ~/.cursor/mcp.json

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

Codex — ~/.codex/config.toml

toml
[mcp_servers.massed-compute]url = "https://vm.massedcompute.com/api/mcp"bearer_token_env_var = "MC_TOKEN"enabled = true

Claude Desktop

Claude Desktop does not yet speak streamable-HTTP MCP, so use mcp-remote as a stdio↔HTTP bridge. Config at ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "massed-compute": {      "command": "npx",      "args": [        "-y", "mcp-remote",        "https://vm.massedcompute.com/api/mcp",        "--header", "Authorization: Bearer MC_TOKEN"      ]    }  }}

Local CLI

Install via whichever ecosystem you prefer:

bash
npm install -g massed-compute-mcp     # Node >= 20# orpip install massed-compute-mcp        # Python >= 3.10# oruv tool install massed-compute-mcp    # fast Python install via uv

Run one-shot setup:

bash
massed-compute-mcp init

init prompts for the key, validates it upstream, stores it at 0600 (POSIX), detects installed MCP clients (Claude Code, Cursor, Claude Desktop, Codex), and offers to wire each one. A timestamped backup is taken before any client edit. Restart wired clients to pick up the tools.

Config file location:

  • Linux: $XDG_CONFIG_HOME/massed-compute/config.json (falls back to ~/.config/...)
  • macOS: ~/Library/Application Support/massed-compute/config.json
  • Windows: %APPDATA%\massed-compute\config.json

Non-interactive (CI / scripts):

bash
# Key from env, auto-wire every detected clientMASSED_COMPUTE_API_KEY=<your-key> massed-compute-mcp init --yes
# Key from a file, wire only specific clientsmassed-compute-mcp init --token-file ~/keys/mc --yes --clients claude-code,cursor
# Store the key only; don't touch any client configmassed-compute-mcp init --yes --no-install-clients

Add or remove a client later:

bash
massed-compute-mcp install-client cursor       # claude-desktop | codex | claude-codemassed-compute-mcp uninstall-client cursor

install-client is idempotent — re-running when the entry already matches is a silent no-op.

Verifying the connection

bash
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]Fetch and print the live tool catalog from the hosted endpoint
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

License

MIT — see LICENSE.

來源:README.md,提交 3a14809

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v1.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分