whoami
Who am I
Who this server's API key acts as: email, team and role, the team's balance and GPU limit, and whether the key may launch and stop machines.
无需输入参数。

io.github.computenexa-gpuInfrastructure由 GitHub 账号 computenexa-gpuInfrastructure 发布v0.1.0更新于 Nov 1, 2026
Find, launch and stop private GPUs on ComputeNexa, with a quote before anything is charged.
让助手在 ComputeNexa 上浏览、启动、延长和停止私有 GPU 机器,并在扣费前先给出报价。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
Let your AI assistant find, launch and stop private GPUs on ComputeNexa. Ask it "Which GPUs with 48 GB or more are in stock?", "Launch the cheapest one with Data Science for two hours" or "Stop it": it uses your team's API key, shows you what each launch costs, and only spends money after you agree.
Works with Claude Desktop, Claude Code, Cursor, VS Code and other assistants that support the Model Context Protocol. It runs on your computer and talks to the ComputeNexa API; your key stays in your own settings.
uvx, no separate install needed).CNX_API_KEY.Add --scope user to use it in every project.
Settings → Developer → Edit config (claude_desktop_config.json):
~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project): the same mcpServers entry as Claude
Desktop.
.vscode/mcp.json; VS Code asks for the key once and keeps it out of the file:
A look-only key only gets the read tools (the first six rows).
launch_machine, extend_machine and set_keep_running first return a quote,
e.g. "NVIDIA RTX A6000 with the datascience app for 2 h: $1.44 charged now ($0.72/h); unused time is refunded if
it stops early." Only a second call with confirm=true and the quoted total goes ahead; if the price went up in
between, it's refused.CNX_MCP_MAX_LAUNCH_USD (in dollars) in the server's env. Your team's GPU limit and prepaid balance still
apply on top.Built on the ComputeNexa Python SDK and the official MCP Python SDK.
Questions: [email protected] · Security issues: see SECURITY.md.
来源:README.md,提交 d0cf599
Who am I
Who this server's API key acts as: email, team and role, the team's balance and GPU limit, and whether the key may launch and stop machines.
无需输入参数。
List GPUs
GPUs with live prices (US dollars per GPU per hour) and stock, cheapest first.
appregionmin_memory_gbinclude_sold_outList apps
The apps a GPU can start with (basic, datascience, chat, imagegen, modelapi, voice): what each is for, the models it offers and which model we recommend per GPU memory. Give `app` for the software installed.
apppackageList machines
Your machines, newest first: state, GPU, app, price, time left and cost so far.
limitwhole_teamactive_onlyGet a machine
One machine: its state, how to connect (SSH command, browser apps, API or endpoint address), time left, keep-running status and costs. Never its keys.
machine_id必填Get usage
Spending and GPU-hours over the last N days, by GPU, app, day and project.
daysList receipts
Finished sessions and what each cost in the end (charged minus refunded).
dayslimitList projects
Saved projects (files restored into ~/work on machines launched with them) and their size.
无需输入参数。
List endpoints
Endpoints: stable HTTPS addresses for your own server on a machine's port 8000, and the machine each points at now. Never their keys.
无需输入参数。
Launch a machine
Launch a GPU machine. Costs money: call first with confirm=false to get a quote (nothing happens), show it to the person, and only after they agree call again with the same arguments, confirm=true and expected_total_usd. The booked time is charged up front from the team's balance.
app必填gpu必填hours必填labelmodelregionconfirmprojectendpointgpu_countexpected_total_usdkeep_running_hoursExtend a machine
Add time to a machine at the price it launched with. Costs money: quote first (confirm=false), then confirm=true with expected_total_usd once the person agrees.
hours必填confirmmachine_id必填expected_total_usdKeep a machine running
Keep running: the machine renews itself `hours` at a time from the team's balance, at its launch price, until it's stopped. Turning it on spends money at every renewal: quote first, then confirm=true with expected_renewal_usd. Turning it off (hours=null) needs no confirmation.
hours必填confirmmachine_id必填expected_renewal_usdStop a machine
End a machine now: stopped if running, cancelled with a full refund if still starting. Files outside a project are deleted; a project is saved first. Unused time is refunded. Can't be undone.
machine_id必填Create an endpoint
A new Endpoint (owners and admins): a stable HTTPS address and key for your own server on port 8000, e.g. one per customer you serve. Launch machines for it with launch_machine(endpoint=...). Free. Its key is shown once here; get_endpoint_key shows it again.
name必填Get an endpoint's key
An Endpoint's key (owners and admins). Only when the person asks for it: it gives access to their server.
endpoint必填已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
claude mcp add --env CNX_API_KEY=cnxk_... --transport stdio computenexa -- uvx computenexa-mcp{ "mcpServers": { "computenexa": { "command": "uvx", "args": ["computenexa-mcp"], "env": { "CNX_API_KEY": "cnxk_..." } } }}{ "inputs": [ { "type": "promptString", "id": "cnx-key", "description": "ComputeNexa API key", "password": true } ], "servers": { "computenexa": { "type": "stdio", "command": "uvx", "args": ["computenexa-mcp"], "env": { "CNX_API_KEY": "${input:cnx-key}" } } }}uv syncuv run pytestuv run ruff check src tests