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 分